How to Update an existing DirectAdmin From Apache to Nginx

For update to From Apache to NGINX
 
Installl DirectAdmin in options menu choose option 3 with Php 5.3
After install Directadmin you can Update custumbuild to version 2.0 (BETA)
 
Update DirectAdmin rules to Beta version:
 
Update you`re server DirectAdmin follow this:
cd /usr/local/directadmin
wget -O new.tar.gz http://files1.directadmin.com/9374832/packed_debian60_64.tar.gz
tar xvzf new.tar.gz
./directadmin p
./scripts/update.sh
killall -9 directadmin
./directadmin d
 
Then update Custumbuild to version 2.0
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build
 
Then edit options.conf
Change: from "apache" to "nginx"
change: php1_mode=php-fpm
 
Safe changes
rewrite the custumbuild: ./build all -y
Sometimes do not work like /roundcube You have to update the config files:
 
Last thing to do, update you`re configs into custumbuild: ./build rewrite_confs


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 14758