Bobcares

wesupport

CLIENT AREACall Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Switch Lighttpd web server to Nginx on SolusVM

by | Sep 9, 2021

Wondering how to switch Lighttpd web server to Nginx on SolusVM.

As a part of our AWS Support Services, we often receive similar requests from our AWS customers.

Today, let’s see the steps followed by our Support Techs to help our customers.

 

How to switch Lighttpd web server to Nginx on SolusVM?

Performance and flexibly of Nginx are better compare to Lighttpd.

Also, Nginx configuration files are much easier to write and maintain than Lighttpd.

Today, let us see the steps followed by our Support Techs to perform this task.

1.Firstly, connect to the SolusVM Master/slave server over SSH.

2.Then, download and execute the script to switch to the latest stack:

# curl -o svmupgradestack.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/svmupgradestack.sh && sh svmupgradestack.sh

3. In the script prompt select the type of node – Master or Slave.

4. Wait until the script is finished.

 

If you would like to perform the switch manually – use instruction below:

1. Firstly, move out you the current system PHP binary and update svmstack-php package:

# yum update svmstack-php && mv /usr/bin/php /usr/bin/backup-php

2. Then, create a link to SolusVM PHP binary:

# ln -s /usr/local/svmstack/php/bin/php /usr/bin/php

3. Next, install the SolusVM repository:

# yum install solusvm-release

4. Then, stop and disable Lighttpd web server:# service lighttpd stop

# chkconfig lighttpd off

5. Next, 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

6.Next, enable svmstack-* services:

# chkconfig svmstack-nginx on
# chkconfig svmstack-fpm on

7.Finally, start services:

# service svmstack-nginx restart
# service svmstack-fpm restart

[Need help with more AWS queries? We’d be happy to assist] 

Conclusion

Today, we discussed the steps followed by our Support Engineers to help our customers to perform the task.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Reviews

Categories

Tags