- Update centos
yum update -y

- Install các thư viện cần cho directadmin:

CentOS 5 and 6

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 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx db4-devel

CentOS 7

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 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx psmisc net-tools systemd-devel libdb-devel


- Install Directadmin:


wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

Hướng dẫn Build custome 1.2 với suphp

cd /usr/local/directadmin/custombuild/
./build update
./build set php5_cgi yes
./build set php5_cli no
./build php n


Hoặc nếu cầu build tất cả

cd /usr/local/directadmin/custombuild/
./build update
./build set php5_cgi yes
./build set php5_cli no
./build all d


Chúc thành công!

cd /usr/local/directadmin/custombuild/Cập nhật lần cuối ngày 21/01/2016


Rated: 1.6/5 - (8 phiếu)