directadmin安装教程(英文)

Quick Install Manual DirectAdmin Control Panel on supported Linux O/S
1. Remove packages not needed for DirectAdmin install:
service mDNSResponder stop
service auditd stop
service mysqld stop
service mysql stop
yum remove httpd php mysql dovecot cpuspeed webmin proftpd spamassassin
2. Ensure the above services are completely removed, and does not start during the boot time.
rm -rf /var/lib/mysql
chkconfig auditd off
chkconfig bluetooth off
chkconfig mDNSResponder off
chkconfig nifd off
3. Install required packages :
yum install gcc gcc-c++ flex bison xinetd perl make wget nano mc -y
The result should show or similar:
Installed: bison.x86_64 0:2.3-2.1 flex.x86_64 0:2.5.4a-41.fc6 gcc-c++.x86_64 0:4.1.2-44.el5
mc.x86_64
1:4.6.1a-35.el5 perl.i386 4:5.8.8-18.el5_3.1 xinetd.x86_64 2:2.3.14-10.el5
4. Install DirectAdmin
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh
5. Provide appropriate details for :
customer id:
license id:
FQDN:
Network Interface: (just cofirm it if it was found by install, otherwise provide manually)
IP address: (just cofirm it if it was found by install, otherwise provide manually)
6. You now have 2 options for your apache/php setup.
1. customapache or
2. custombuild (newest version of install program with lot of Apache/PHP selection options)
Choose option 2.
Would you like the default settings of apache 2.2 and php 5 cli?
Answer “y”
If we have done everything correctly, “setup” will now begin automatic install. It will take 15-30
minutes to complete.
7. When setup done, it will show access information on screen. Copy paste them, and store them.
8. Post installation checks :
(1) Install Zend :
cd /usr/local/directadmin/custombuild
In file “options.conf”, change ‘zend enabled = no’ to ‘zend enabled = yes’
Run ‘./build zend’
Create a file “/var/www/html/info.php”, put this in the file :
‘<?phpinfo();?>’
Save the file and access it in the browser using http://IPaddress/info.php
Confirm everything is perfect on the php page.
(2) Login to DirectAdmin page at http://IPaddress:2222
Goto Admin level >> Services Monitor .
Confirm all the services are running, if not, restart them. If any service fails to restart, fix them.
The DirectAdmin set is now complete.

If you get the following error
If you get an error given below while installing DA in a Debian server,
do the following FIX to solve it.
*** Cannot find the named binary. Please install Bind ***
/etc/bind/named.conf: No such file or directory
/etc/bind/named.ca: No such file or directory
*** g++ is required for compiling, please install g++ ***
*** cannot find /usr/include/openssl/ssl.h. Please make sure libssl-dev
is installed ***
eg: apt-get install libssl-dev
*** cannot find /usr/bin/make. Please make sure that make is installed ***
Installation didn’t pass, halting install.
*******************************************
*******************************************
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
*******************************************
*******************************************
FIX :
apt-get install g++
apt-get install libssl-dev
apt-get install make
apt-get install bind9 dnsutils
Then restart the work with ./setup.sh

0 0 投票数
文章评分
订阅评论
提醒
guest
0 评论
内联反馈
查看所有评论
0
希望看到您的想法,请您发表评论x
()
x