January 11, 2021
This is evident from the post that Nginx is one of the most popular and growing web servers across the globe. Its faster than apache. Let us see how we can install Nginx on Ubuntu, Centos and other platforms. Installation Using Package Manager mkdir nginxcd nginxwget http://nginx.org/download/nginx-1.19.5.tar.gztar -zxvf nginx-1.19.5.tar.gzcd nginx-1.19.5./configuresudo apt-get install build-essentialsudo apt-get install libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev nginx path prefix: “/usr/local/nginx”nginx binary file: “/usr/local/nginx/sbin/nginx”nginx modules path: “/usr/local/nginx/modules”nginx configuration prefix: “/usr/local/nginx/conf”nginx configuration file: “/usr/local/nginx/conf/nginx.conf”nginx pid file: “/usr/local/nginx/logs/nginx.pid”nginx error log file: “/usr/local/nginx/logs/error.log”nginx http access log file: “/usr/local/nginx/logs/access.log”nginx http client request body temporary files: “client_body_temp”nginx http proxy temporary files: […]