Take centos5 as an example.
1.Pre-preparation
yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd
Second, official installation:
wget http://directadmin.com/setup.sh
chmod +x setup.sh
./setup.sh < Br>
Enter the relevant authorization information after running: Please enter your Client ID : Please enter your License ID : Please enter your hostname \\ (server.domain.com\\) and then go all the way down
Install After you finish, you may need to do one more step.
Execute the ifconfig command to view the device bound to the ip corresponding to vps, such as venet0:0
Use vi to open the DirectAdmin configuration file /usr/local/directadmin/conf/directadmin.conf
vi /usr/local/directadmin/conf/directadmin.conf
Find the characters such as <quo;ethernet_dev=***“ and then change the characters after the equal sign to just us View the venet0:0, then save and exit vi, then restart the VPS.
At this time, enter http://ip:2222 in the browser. If you can see a login box, it means that the DirectAdmin installation is successful.
Three, may encounter problems
1. If your vps network device name is just eth0, then you do not need to manually modify the directadmin.conf file later
2. Default password
This installation is said to have a prompt at the end. I didn't see it. I can view the /usr/local/directadmin/scripts/setup.txt file, or manually change it to ssh. User's password can be
Run passwd admin
3. If named does not start properly, try
# rpm -e bind bind-chroot# yum update bind\\*
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
Format: printf("\\033[word background color; font color m string \\033[0m" ); printf("
For beginners, the learning of Linux commands is not so simple. Many beginners rarely use commands o
First time when the basic network configuration is 1. Check the network mac address first[root@cento
How to view and modify file read and write permissions under Linux system
Synchronization in the Linux kernel Knowledge
How to add Nginx to system services
11 Linux terminal commands let you use it even better
Linux failure boot is deleted recovery measures
Manage xen save, stop, and pause using the character tool xm
Ubuntu Linux 8.04 system JAVA environment configuration method
The data transmission on the link layer of the linux protocol stack
Win10 usage summary (some you don't know)
Do a win7 shortcut key up to the ctrl key
View/Modify Linux Time Zone and Time
Win8 Academy: Win8 is not activated, change the start screen background color
Win10About Tianyi Campus Client Cannot Network Solution
Speed up Vista file copying speed
Really understand the mysterious digital signature of SP2