Skip to content
script to install nginx + init script (fedora + ruby gem)
D
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gemrc
.gitignore
README.markdown
init.d
install.sh

README.markdown

readme

script to install nginx on Fedora via the passenger ruby gem, after which it will copy the script init.d into /etc/init.d to autostart nginx on boot.

pre-requisites

gem install passenger

run

sh install.sh

commands

sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart
sudo /etc/init.d/nginx reload
sudo /etc/init.d/nginx status
sudo /etc/init.d/nginx configtest
Something went wrong with that request. Please try again.