Centos安装DirectAdmin教程:
1、预安装DA需要的环境:
yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool
2、从官方下载setup.sh安装脚本安装DirectAdmin面板:
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh
3、DA面板安装过程:
根据屏幕提示输入Client ID,License ID,以及主机名。
会核实是否是授权IP,以及DA授权绑定的linux发行版。
选择DA面板将要安装的PHP/Apache等,默认推荐的,选3即可。
开始搜索最快的下载镜像,进入DA编译安装过程。
4、DA面板安装完毕:
directory /home/tmp created
directory /usr/local/directadmin/data/sessions created
directory /etc/virtual created
directory /var/spool/virtual created
directory ./data/admin/ips created
directory ./data/admin/packages created
file ./data/admin/packages.list created
ip.list written successfully
./data/admin/login.hist written successfully
./data/admin/next_ticket.number written correctly
./data/admin/services.status written successfully
tickets.list written successfully
Admin user created
## INSTALL_COMPLETE
## ACCOUNT_INFO
The following information has been set:
Admin username: admin
Admin password: abcdefg
Admin email: admin@abc.yqf.me
Server IP: 50.116.xx.xxx
Server Hostname: abc.yqf.me
To login now, follow this link:
http://50.116.xx.xxx:2222
and enter your Admin username and password when prompted.
You should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started.
Thank you for using DirectAdmin. Should you have any questions, don’t hesitate to contact us at support@directadmin.com
## REPORT_END
Permissions set
System Security Tips:
http://help.directadmin.com/item.php?id=247
5、安装经典的Capri皮肤:
wget http://licensepad.googlecode.com/files/capri.sh;sh capri.sh
安装完毕,admin用户不显示中文,需要稍加设置下:
#vi /usr/local/directadmin/data/users/admin/user.conf
找到language=en? 修改为language=cn