最新消息:

DirectAdmin如何安装CustomBuild2.0使用nginx+apache

主机面板 eben 978浏览

DirectAdmin之前想要使用nginx+apache设置很复杂,现在DirectAdmin CustomBuild2.0已经正式发布,默认支持nginx+apache,经过我们测试稳定性没有任何问题,大家可以放心使用。

cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files1.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update
./build update_da
./build set webserver nginx_apache  /* 设置httpd为nginx+apache */
./build nginx_apache                /* 编译 nginx+apache */
./build php n                       /* 重新编译 php */
./build rewrite_confs               /* 重新编译 伪静态 */

现在去后台的服务监控里就可以看到nginx了~~~

转载请注明:落伍老站长 » DirectAdmin如何安装CustomBuild2.0使用nginx+apache