3 ms·
sudo apt-get install nginx $BROWSER http://wiki.nginx.org/Configuration $EDITOR /etc/nginx/nginx.conf man nginx man upstart sudo start nginx
by mixmastamyk 14y ago
sudo apt-get install nginx
$BROWSER http://wiki.nginx.org/Configuration
$EDITOR /etc/nginx/nginx.conf
man nginx
man upstart
sudo start nginx
$BROWSER http://localhost:$PORT/
- spindritf 14y ago> sudo apt-get install nginx If you want the newest version, nginx has their own deb repository[1]. It seems to get security updates faster, too. [1] http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packages http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packa... EDIT: Not the PPA because it's "maintained by volunteers and is not distributed by nginx.org." Their repository: deb http://nginx.org/packages/ubuntu/ http://nginx.org/packages/ubuntu/ yourOScodename nginx
- mixmastamyk 14y agoI was using a ppa at one point, but reverted when the distro packaged a new enough version.