For more information, see Linux Enterprise Application-Linux server application. I learned how to configure the DNS server, but I had trouble at the beginning. First of all, I needed to install the software. Here I have two problems.
First: is it possible to install this software package? Because I saw a Post saying that I want to install a bind-8.2.2-p5-9.i386.rpm,
Bind-devel-8.2.2-p5-9.i386.rpm, cache-nameserver-6.2-2.noarch.rpm three software packages like this, I don't know what the other two are doing?
Second question: I have installed bind-9.3.2, but why is there no named. conf? Do you need to create the package by yourself or will the system automatically create the package after it is installed?
The third problem when installing the bind-9.3.2-P2 again because I am under the source package so to compile so I will compile the following method:
Decompress the source package:
Tar zxvf bind-9.3.3.tar.gz
Configuration:
Cd binding-9.3.3
./Configure -- prefix =/usr # -- Prefix =/usr what is this? I didn't start to do the same.
Compile:
Make
Installation:
Make install
Add users and groups:
Groupadd-g 25 named # What is this step? When I enter this command, the message "groupadd: group named exists" is displayed.
Useradd-u 25-g 25-d/var/named-s/sbin/nologin named
Create a STARTUP script:
Vi/etc/init. d/named
I hope you can answer these three questions ~~ Thank you!
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