Install MyDNS on RedHatLinux5.4

Source: Internet
Author: User
Tags domain name server mx record subdomain subdomain name url forwarding
1. Introduction to MyDNS: MyDNS is a free DNS server software on a UNIX platform. It is designed to read DNS records directly from the database and take effect from time to time after modification. On MyDNS, you can add your own sub-domain names and create sub-websites with the same name at the same time, it is easy to use and complete DNS operations such as URL forwarding, host A record, wildcard domain name CNAME record, MX mail record, and IP address pointing control on the visualized interface, each subdomain name is as powerful and complete as the WWW primary domain name

1. Introduction to MyDNS:

MyDNS is a free DNS server software on a UNIX platform. It is designed to read DNS records directly from the database and take effect from time to time after modification. On MyDNS, you can add your own sub-domain names and create sub-websites with the same name at the same time, it is easy to use and complete DNS operations such as URL forwarding, host A record, wildcard domain name CNAME record, MX mail record, and IP address pointing control on the visualized interface, each subdomain name has the same powerful and complete functions as the WWW primary domain name! This greatly increases the flexibility of your domain!
MyDNS (My Domain Name Server) has all the functions of the DNS System

Features of mydns:

  • Real-time update and modification of primary and secondary domain name servers
  • A (IP) record pointing
  • CNAME (wildcard Domain Name) record pointing
  • MX record pointing
  • Freely set the URL without implicit and URL implicit directions

2. Build a lamp Environment

Package to be installed

Httpd. i386. 2.3-31. el5 php. i386. 1.6-23.2.el5 _ 3

Mysql. i386. 0.77-3. el5 php-mysql.i386. 1.6-23.2.el5 _ 3

Mysql-server.i386. 0.77-3. el5 perl-DBD-MySQL.i386. 0007-2.el5

Perl-DBI.i386. 52-2.el5 php-cli.i386. 1.6-23.2.el5 _ 3

Php-common.i386 0: 5. 1.6-23.2.el5 _ 3 php-pdo.i386 0: 5. 1.6-23.2.el5 _ 3
2. Set up the LAMP environment and set apache and mysql to start on.
Chkconfig httpd on
Chkconfig mysqld on
3. Set the password for mysql: root123
Mysqladmin-u root password "123"

4. Create a mydns database and grant it the following permissions:
Create database mydns;
Create a mydns account and password for local login only

GRANT all ON mydns. * TO 'mydns' @ 'localhost' identified by 'mydns ';

Create a mydns account and password to allow external users to log on to the database of this domain.

GRANT all ON mydns. * TO 'mydns' @ 'localhost. localdomain 'identified BY 'mydns ';
Refresh permission
Flush privileges;
Quit;
5. Install mysql background management tools, phpMyAdmin-2.11.10-all-languages
Tar zxvf phpMyAdmin-2.11.10-all-languages.tar.gz
Music phpMyAdmin-2.11.10-all-languages phpMyAdmin
Cp config. sample. inc. php config. inc. php
Modify config. inc. php
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
/* Server parameters */
$ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
$ Cfg ['servers'] [$ I] ['connect _ type'] = 'tcp ';
$ Cfg ['servers'] [$ I] ['compus'] = false;
/* Select mysqli if your server has it */
$ Cfg ['servers'] [$ I] ['extension'] = 'mysql ';
/* User for advanced features */
$ Cfg ['servers'] [$ I] ['controluser'] = 'root'; // mysql Username
$ Cfg ['servers'] [$ I] ['controlpass'] = '000000'; // mysql password
/* Advanced phpMyAdmin features */
$ Cfg ['servers'] [$ I] ['pmadb'] = 'phpmyadmin ';
$ Cfg ['servers'] [$ I] ['bookmarktable'] = 'pma _ bookmark ';
$ Cfg ['servers'] [$ I] ['relation'] = 'pma _ relation ';
$ Cfg ['servers'] [$ I] ['table _ info'] = 'pma _ table_info ';
$ Cfg ['servers'] [$ I] ['table _ coords '] = 'pma _ table_coords ';
$ Cfg ['servers'] [$ I] ['pdf _ page'] = 'pma _ pdf_pages ';
$ Cfg ['servers'] [$ I] ['column _ info'] = 'pma _ column_info ';
$ Cfg ['servers'] [$ I] ['History '] = 'pma _ history ';
$ Cfg ['servers'] [$ I] ['designer _ coords '] = 'pma _ designer_coords ';

/*
* End of servers configuration
*/

/*
* Directories for saving/loading files from server
*/
$ Cfg ['uploaddir'] = '';
$ Cfg ['savedir'] = '';
?>
###################### PhpMyAdmin test address:

Http: // localhost/phpMyAdmin

For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2013-11/92387p2.htm

Reading:

MyDNS http://www.linuxidc.com/Linux/2013-04/82885.htm for LAMP applications

RHEL5.5 configure and install Apache + MySQL + PHP + Zend + MyDNS http://www.linuxidc.com/Linux/2011-04/34926.htm

MyDNS installation configuration http://www.linuxidc.com/Linux/2013-10/90931.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.