Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Mydns and MydnsConfig under Centos server

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Centos server how to install Mydns and MydnsConfig, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Let's talk about what it is.

MyDNS is a free DNS server-side software on the UNIX platform. It is designed to read DNS recording software directly from the database, and the modified records can also take effect from time to time.

I installed mydns's environment centos 5.5i386 mysql5.1 php5.2.14 mydns1.1.0 mydnsconfig3.0.1 apache

The following is the official mydns

Mydns: http://mydns.bboy.net/

Mydnsconfig: http://www.mydnsconfig.org/

Download mydns first

Wget http://mydns.bboy.net/download/mydns-1.1.0.tar.gz

And then decompress.

Tar zxvf mydns-1.1.0.tar.gz

Compilation and installation

. / configure

Make & & make install

Create a database for mydns

Mysqladmin-u username-p create mydns

Write to database structure

Mydns-create-tables | mysql-u username-p mydns

Give permissions to the mydns database

Mysql-u username-p mydns

Mysql > GRANT SELECT ON mydns.* TO user@localhost IDENTIFIED BY 'password'

Create a build mydns configuration file

Mydns-dump-config > / etc/mydns.conf

Modify the database connection field in mydns.conf

$conf ["db_type"] = 'mysql'

$conf ["db_host"] = 'localhost'

$conf ["db_database"] = 'mydns'

$conf ["db_user"] = 'sudu'

$conf ["db_password"] = 'sudu123'

Start mydns in the background

Mydns-background

Then you can use netstat to see if port 53 of mydns is started successfully.

To install mydnsconfig, it is relatively easy to install apache below, just use the following command

Cd / tmp

Wget http://www.mydnsconfig.org/downloads/MyDNSConfig-3-stable.tar.gz

Tar xvfz MyDNSConfig-3-stable.tar.gz

Cd mydnsconfig/install/

Php-Q install.php

Then follow the prompts to choose the installation.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report