• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved Install nginx over ssh

Martin Dias

QA Engineer
Staff member
Hello,

Is there any way to install nginx over SSH on a Plesk Onyx Server? without using the plesk installer interface.
I trying to finish a bash script that should perform the installation and activation of nginx, so it can then perform also some other installs and configurations.

any idea?

did try to install sw-nginx and nginx over apt-get but with that plesk seems not to recognize that it is there.

thank you
Martin
 
Last edited:

thanks that is what i was searching for ;)

Code:
# plesk installer list PLESK_17_8_11 --components

shows me:

nginx [install] - Nginx web server

but then

Code:
# plesk installer add PLESK_17_8_11 --components nginx

does not allow it


ERROR: Only the product ID selector is allowed for the 'add' command.

did I miss there something?

Thank you for the help
 
Use command

# plesk installer --select-product-id plesk --select-release-current --install-component nginx
 
Back
Top