DirectAdmin安装教程
1、首先关闭selinux(getenforce命令可以验证selinux是否关闭):
vi /etc/selinux/config
把SELINUX=enforcing 改为 SELINUX=disabled,然后 :wq 保存退出;
2、运行系统更新
yum -y update
yum clean all
3、DirectAdmin必要组件安装
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 which
4、移除httpd php mysql组件
yum remove httpd php mysql
5、下载DirectAdmin官方的安装包,给予权限执行安装
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh