• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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