Applicable to:
- SolusVM
Question
How to switch old software stack with Lighttpd web server to the latest one with Nginx on master/slave server?
Answer
-
Connect to the SolusVM Master/slave server over SSH.
-
Move out you the current system PHP binary:
# mv /usr/bin/php /usr/bin/backup-php
-
Create a link to SolusVM PHP binary:
# ln -s /usr/local/svmstack/php/bin/php /usr/bin/php
-
Install the SolusVM repository:
# yum install solusvm-release
-
Stop and disable Lighttpd web server:
# service lighttpd stop
# chkconfig lighttpd off -
Install Nginx web server and legacy configuration:
For Master server:# yum install svmstack-nginx svmstack-nginx-legacy-master-config
For Slave server:# yum install svmstack-nginx svmstack-nginx-legacy-slave-config
-
Enable svmstack-* services:
# chkconfig svmstack-nginx on
# chkconfig svmstack-fpm on -
Start services:
# service svmstack-nginx restart
# service svmstack-fpm restart
Comments
1 comment
Has any body faced any issue after this upgrade?
Please sign in to leave a comment.