VMware Images:
|
Installing MyDNS And The MyDNSConfig Control Panel On CentOS 5.1
|
Submitted by falko (Contact Author) (Forums) on Mon, 2007-12-17 17:42. :: CentOS | Control Panels | DNS
Installing MyDNS And The MyDNSConfig Control Panel On CentOS 5.1Version 1.0 In this tutorial I will describe how to install and configure MyDNS and MyDNSConfig on CentOS 5.1. MyDNS is a DNS server that uses a MySQL database as backend instead of configuration files like, for example, Bind or djbdns. The advantage is that MyDNS simply reads the records from the database, and it does not have to be restarted/reloaded when DNS records change or zones are created/edited/deleted. A secondary nameserver can be easily set up by installing a second instance of MyDNS that accesses the same database or, to be more redundant, uses the MySQL master / slave replication features to replicate the data to the secondary nameserver. MyDNSConfig is an easy to use web-based interface to MyDNS. MyDNSConfig can create all types of DNS records that are available in MyDNS and adds features like user management and access privileges. I do not issue any guarantee that this will work for you!
1 Preliminary NoteIn this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.
2 Installing The PrerequisitesFirst we enable the RPMforge repository on our CentOS system as some of the packages that we are going to install in the course of this tutorial are not available in the official CentOS 5.1 repositories: rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm MyDNSConfig is a web-based interface to MyDNS written in PHP. This requires a webserver with PHP enabled and the MySQL database server. If you have already Apache, PHP and MySQL installed, you may skip this step. We also install phpMyAdmin here so that you have a web interface to the MySQL database in case you need it: yum install httpd mysql-server php php-mysql php-mbstring phpmyadmin Start MySQL: chkconfig --levels 235 mysqld on Then set passwords for the MySQL root account: mysqladmin -u root password yourrootsqlpassword Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections not just from localhost (by commenting out the <Directory "/usr/share/phpmyadmin"> stanza): vi /etc/httpd/conf.d/phpmyadmin.conf
Next we change the authentication in phpMyAdmin from cookie to http: vi /usr/share/phpmyadmin/config.inc.php
Then we create the system startup links for Apache and start it: chkconfig --levels 235 httpd on Now you can direct your browser to http://server1.example.com/phpmyadmin/ or http://192.168.0.100/phpmyadmin/ and log in with the user name root and your new root MySQL password.
3 Installing MyDNSConfigLog in to MySQL and create the database: mysql -u root -p CREATE DATABASE mydns; Replace the word mydnspassword in the above commands with a password of your choice. Download MyDNSConfig: cd /tmp Install MyDNSConfig: mkdir /usr/share/mydnsconfig Install the MyDNSConfig MySQL Database: mysql -u root -p mydns < install/mydnsconfig.sql The command above asks for a password, please enter the password of the MySQL root user. Edit the MyDNSConfig configuration; please make sure you fill in the correct database settings: vi /usr/share/mydnsconfig/lib/config.inc.php
Afterwards, remove the MyDNSConfig installer from the /tmp directory: cd /tmp
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
12 hours 50 min ago
14 hours 51 min ago
18 hours 2 min ago
20 hours 21 min ago
21 hours 31 min ago
22 hours 50 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 21 hours ago