— Tutorial, nginx, udemy — 1 min read
Disclaimer: This may not cover all the content. They are just notes I found important to remember
Select the stable version
on terminal use wget to download the source code
untar the nginx source code
then go to terminal and type ./configure
$ ./configure --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-pcre --pid-path=/var/run/nginx.pid --with-http_ssl_module
$ make
$ make install
type $ nginx or $ sudo nginx to start nginx
go to localhost or 127.0.0.1 to see welcome to nginx start page or just simply check on terminal $ ps aux | grep nginx