Small station has a lot of home VPS, which also have a variety of clouds, although do not know is not true cloud, but used to be a VPS, so take to toss and toss.
This paper is tested perfectly through the CENTOS5 32bit 1GRAM+75GBHDD system
DirectAdmin is a foreigner developed a very sharp panel, through this panel can be very convenient management to open a virtual host, set up email, set up DNS, open FTP, online file management, database management, to facilitate the administrator, customers and agents online operation of virtual host information. Although the station has directadmin genuine authorization, but to know that each directadmin authorization is binding IP, and the directadmin is a small station is actually put into use, so the station on the widely circulated directadmin happy version as a demo , the actual genuine installation only need to fill in the genuine authorization ID on it, the station to give a happy version of the download address:
This site statement: This version comes from the network public release version, the station just reprinted for the exchange of learning, the actual use of purchase genuine!
Download to the desktop for Dapl.zip, upload via WINSCP to the VPS root directory
After using putty Landing VPS, execute the following command, in fact, is to create a new DirectAdmin folder, and then extract the compressed file now, and will update2.tar.gz unzipped after the copy to the DirectAdmin folder previously established
The code is as follows |
Copy Code |
Mkdir-p/usr/local/directadmin Unzip Dapl.zip Tar xvf update2.tar.gz-c/usr/local/directadmin |
Next to the installation for the upcoming CentOS upgrade (according to webmaster experience, domestic VPS update slower, far less than the foreign VPS to the sharp):
The code is as follows |
Copy Code |
Yum-y Update Yum-y Install Dos2unix patch screen unzip lftp tar quota Yum-y Install wget gcc gcc-c++ Flex bison make bind bind-libs bind-utils OpenSSL openssl-devel perl quota Libaio Libcom_e Rr-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 db4-devel cyrus-sasl-devel perl-extutils-embed li Bstdc++.so.6 libnspr4.so libssl.so.6 |
Then execute the following command under the 32-bit system:
The code is as follows |
Copy Code |
Ln-s/usr/lib/libssl.so/usr/lib/libssl.so.10 Ln-s/usr/lib/libcrypto.so/usr/lib/libcrypto.so.10 |
Under 64-bit systems, execute the following command:
The code is as follows |
Copy Code |
Ln-s/usr/lib64/libssl.so/usr/lib64/libssl.so.10 Ln-s/usr/lib64/libcrypto.so/usr/lib64/libcrypto.so.10 |
Finally give the script execute permission to execute the script:
The code is as follows |
Copy Code |
Chmod-r 755 setup.sh ./setup.sh
|
Enter the authorization ID, the genuine is the direct input to buy the ID, here is happy version, so you can casually input: Enter the name of the network device to select the VPS's external network equipment name, here is eth1: After the selection of installed kits, here Select the recommended 3 can:
Then all the way y can be installed smoothly, the installation time depends on the performance of the host, if the VPS configuration is very high soon, if the low configuration, you can use the screen instructions to ensure the completion of the installation. After the installation is completed, you can finally see the resulting landing link, login username and password, the default login username admin, the default login link for http://IP:2222, port number 2222, if not remember the admin password, or forget the password to change the admin password, SSH login can be connected to the root account, with the command:
Then directly enter the password you like to change. In the browser's address bar input http://IP:2222, enter the login interface, with the account password login can. After landing, you can see the typical directadmin panel:
The panel here is the Chinese version of the installation is completed in English, after the Han is the same as the above, the specific Chinese, the station next write down.