Install latest Nginx on Ubuntu
Just a memo.
Install Nginx
1 | ubuntu%$ sudo su |
Install sysv-rc-conf
SysV is a runlevel configuration tool.
1 | ubuntu%$ apt-get install -y sysv-rc-conf |
Configure runlevel of nginx.
The command chkconfig is no longer available in Ubuntu. The equivalent command to chkconfig is update-rc.d. This command nearly supports all the new versions of ubuntu.
- chkconfig —> sysv-rc-conf
1 | ubuntu%$ sysv-rc-conf nginx on |
Show runlevel of nginx
1 | ubuntu%$ sysv-rc-conf --list nginx |
Install latest Nginx on Ubuntu
https://kenzo0107.github.io/2017/07/09/2017-07-10-install-latest-nginx-on-ubuntu/