• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Install Latest version of nginx

Yunior

New Pleskian
Hello, well I find the case that I want to install Dokku and asks me for the latest version of nginx.

and since Plesk comes with a customized version of nginx I do not know how to install Dokku.

That's why I want to know some way to install Dokku with some specific version of nginx, or update nginx to the latest version not used by the custom of plesk.

PD: I speak Spanish and I had to use google translator.
 

Hi, thanks for your answer, I'm using Ubuntu.

As I understand, I have to first execute

apt install libgeoip-dev libpam0g-dev libgd-dev libpcre3-dev libxslt1-dev sudo

and then only

bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb.sh)

Am I correct, and with that would update the nginx adapted for plesk?
 
Hi, thanks for your answer, I'm using Ubuntu.

As I understand, I have to first execute

apt install libgeoip-dev libpam0g-dev libgd-dev libpcre3-dev libxslt1-dev sudo

and then only

bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb.sh)

Am I correct, and with that would update the nginx adapted for plesk?

Compiling is not Plesk specific, but its OS-specific. Actually compiling is, where also geeks sometimes fail a lot. Some hints/rule of thumb:
  1. Compiling in general forces you to install a development environment, which can be quite complex. Jut review and be sure you didnt open the server security-wise to attackers.
  2. Ideally you compile as a normal user and not as root. Simply since a lot can go wrong compiling.
  3. Generally you can make a "fresh install" or a drop-in-replacement. In a fresh install you dont have nginx installed, but you compile and setup from source. In a drop-in-install, you might even leave an existing version. Alternatively you have eg nginx installed but remove nginx only, but not its dependancies via your package manager. In either case, make sure nginx is not installed from packages AND nginx is not updated by your package manager.
  4. For the basic configure arguments (prior to compiling), "nginx -V" gives you a start (if you have nginx previously installed).
  5. There might be a lot of errors upon configure and make. For the most part (usually) its about missing libraries for compilation. Find the missing one and install the respective packages.
  6. Subscribe to nginx mailing list to learn about new versions. Since you compile yourself, you also need to update yourself and apply security patches yourself.
 
Hi, thanks for your answer, I'm using Ubuntu.

As I understand, I have to first execute

apt install libgeoip-dev libpam0g-dev libgd-dev libpcre3-dev libxslt1-dev sudo

and then only

bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb.sh)

Am I correct, and with that would update the nginx adapted for plesk?

On Ubuntu 16.04 LTS, you just need to one of the following command, depending if you want mod_pagespeed or not :
Code:
 # without pagespeed
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb.sh)

# with pagespeed
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb-pagespeed.sh)

Additional commands are only for debian 8 Jessie. The script automatically install the required libraries, and block nginx package update by Plesk.
To upgrade Nginx, you will just need to run the script again.
 
On Ubuntu 16.04 LTS, you just need to one of the following command, depending if you want mod_pagespeed or not :
Code:
 # without pagespeed
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb.sh)

# with pagespeed
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/nginx/build-deb-pagespeed.sh)

Additional commands are only for debian 8 Jessie. The script automatically install the required libraries, and block nginx package update by Plesk.
To upgrade Nginx, you will just need to run the script again.

It seems this has been updated to an all-in-one which will ask what options you want :
Code:
bash <(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/plesk-nginx.sh)

from: Plesk Nginx
 
Back
Top