As we all know, although Linux can't keep up with the popularity and ease of use of Windows in desktop applications, it is precisely because of its seemingly cumbersome command-line operation, which makes it better than the graphical interface for ease of use. Windows, because of this, makes Linux a great player in the server, especially the LAMP and DNS server BIND, which is known as apache, is more commonly used. Let's talk about the configuration method of bind.
First of all, I know from the previous article that the operating system I used is RED HAT Fedora Core 7. When I installed the system, when I chose the software package, I used the custom method. Some useless software, such as those that are not fun at all, and a lot of bad audio and video players (you can install a good Mplayer) are all removed, and some packages that I won't use. Also no choice, then select all the software such as development tools and servers (selecting all the development tools can make you less trouble in the future installation process). Therefore, after the system is installed, the bind has been installed, and it only needs to be configured to be used.
There are a lot of ways to configure bind. I used two kinds (the premise must be clear about the working principle of dns), one is to make the various parts of the /etc/named.conf file very understandable, and then modify this file (and some other files), of course This method needs to learn a little time (at least I am), although it can be configured, it can be very professional, but I have another way to configure it, it is more suitable for novices (I use The first method took a lot of time).
The second configuration method needs to use the webmin software I mentioned in the previous article. This software is very easy to use and can be configured remotely. The official download address is: http: //www.webmin. Com/download.html, select the top of the download, my webmin-1.360.tar.gz, the installation method is very simple:
tar -zxvf webmin-1.360.tar.gz
cd Webmin-1.360
./setup.sh
During the installation process, I will ask you for the installation path (usually keep the model), user name, password settings, etc. After installation, you will be told to use webmin. The method is to enter 127.0.0.1:1000 (default) in the browser, the English version is just installed, but there is an option to choose the language, select Simplified Chinese. (Because the time relationship has not been able to put the screenshots in photoshop and then put them up, please forgive me), then start the configuration:
1. In the webmin "network" -> "network configuration" - 〉Select “dns client”—>Change the “resolving order” to “dns, hosts”—> press “Save” to return to
2. Select “Server”—> “Bind 8 dns Server” -> You can see that it consists of "Global Server Options", "Existing dns Area" and other parts.
3.Create the main server
Select "bind dns server" in the webmin server -> select "new main area" in the "existing area" -> "area type" selection "Forward", enter "allwriter.cn" in the "Domain Name/Network" domain name (this is one of my domain names, you can also write your own), the main server enters "master.allwriter.cn", and the email address is entered. Root@localhost"->Click "New" to complete
4. In the "Existing Area" select "New Main Area" -> "Region Type" select "Reverse", in "Domain Name /Network" Enter "222.24.121.170" (this is my IP, you have to fill in your own), the main server enter "master.allwriter.cn", the email address enter "root@localhost" -> press "new" to complete
5. Select allwriter.cn-> "Address" in the existing DNS zone -> Enter "www" at "Name", enter "222.24.121.170" at the address -> Press "New" to complete < BR>6. A little setting on apache can be accessed by entering the domain name in the browser window. Configuration is successful, Oh!
I. Summary This article summarizes how to enable Gzip compression for websites hosted with IIS, the
The default mime type in iis7 does not contain all the suffix files. Like the pop
. First explain why this is the case. Mainly for the security of the server, even if there is a prob
The role of the Windows file server in the network is crucial. They host sensitive files, databases,
Solve the problem that nginx+php-fpm can't upload files
Windows 2000 server IIS open the parent path step
Analysis of the main difference between UPS and EPS power supply
Apache server uses .htaccess file to set anti-theft chain
Your browser sent a request that this server could not understand
Getting Started: Understanding Server-Related Parameters
Nginx server cache settings example explain
Government agencies server software full Raiders operating system articles
Five steps to solve the "server exceeded the maximum allowed connections" error
Comparison of virtualization technologies such as Xen, KVM, VMware, and hyper-v
How to install virtual WinXP system
How to connect the win7 system to the LAN
What should I do if the win7 security certificate is wrong?
Win10 upgrade 10041 prompt error how to do
Win7 can not wake up after entering sleep
How to uninstall Windows 7 wireless network card device driver
How to turn off QQ jitter How to turn off QQ jitter
Teach you how to download apps from Win10 store without switching Microsoft accounts
Win8.1 Control Panel does not have BitLocker unable to use BitLocker Service