Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

 

Install Nginx PHP-FPM MySQL with pagespeed and memcached

 

You can install Nginx and Varnish with Apache in Plesk server,

Nginx Installation:

For installing Nginx you can choose the installation method from plesk panel itself,

1. Login to your plesk panel

2 . Select the option Tools & Settings, then click on Updates and Upgrades under the caption panel.

3. Choose Add/Remove Components, then expand the option Plesk hosting features

4. Now select the option Nginx reverse proxy support and select install after that click on the the continue button.

Now Nginx will be installed on your server. Also you need to enable the Nginx from command line,

If you face any error with your yum utility see the link below to fixing it,

http://iserversupport.com/blog/plesk-yum-utility-failed-to-install-the-required-packages-installing-php-fpm-nginx-etc/

To enable Nginx use the below command,

/usr/local/psa/admin/bin/nginxmng --enable

5. After enabling Nginx, restart Apache and Nginx.

service httpd restart
service nginx restart

6. Check whether both Nginx and Apache are running on the server.

[root@iserversupport5 ~]# netstat -tnpl | grep httpd
tcp 0 0 :::7081 :::* LISTEN 25855/httpd
tcp 0 0 :::7080 :::* LISTEN 25855/httpd
[root@iserversupport5 ~]# netstat -tnpl | grep nginx
tcp 0 0 217.160.176.82:80 0.0.0.0:* LISTEN 25892/nginx
tcp 0 0 82.165.194.20:80 0.0.0.0:* LISTEN 25892/nginx
tcp 0 0 82.165.194.20:443 0.0.0.0:* LISTEN 25892/nginx
tcp 0 0 217.160.176.82:443 0.0.0.0:* LISTEN 25892/nginx

Installing Varnish:

For Installation and configuration of varnish click here.

Need our help to fix the issue ? Submit Support Ticket Now