• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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