Install Nginx From Source

Install Nginx From Source -------------------------------------------------------------------------------------------------------------...

Install Nginx From Source


---------------------------------------------------------------------------------------------------------------------------------
1'st Download package
--------------------------------------------------------------------------------------------------------------------------------
# wget -c http://nginx.org/download/nginx-1.4.0.tar.gz
---------------------------------------------------------------------------------------------------------------------------------
2'nd install package
--------------------------------------------------------------------------------------------------------------------------------
# ./configure --sbin-path=/usr/sbin --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_gzip_static_module --with-http_realip_module --with-mail --with-mail_ssl_module  --without-http_rewrite_module
# make && make install
---------------------------------------------------------------------------------------------------------------------------------
3'rd Configure nginx for php-fpm
---------------------------------------------------------------------------------------------------------------------------------
location ~ \.php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /usr/local/nginx/html/$fastcgi_script_name;
            include        fastcgi_params;
        }
---------------------------------------------------------------------------------------------------------------------------------
4'rd Configure nginx for download media
---------------------------------------------------------------------------------------------------------------------------------
location /vid/ {
        if ($request_filename ~* ^.*?/([^/]*?)$)
        {
                set $filename $1;
                add_header Content-Disposition "attachment; filename=$filename";
        }

        alias  /media/storage/data/result/;
        autoindex on;
         }

COMMENTS

Name

Android,5,Apache,3,Bash Scripting,5,Bot,1,Centos,12,Cisco,5,GNS3,1,Hacking,5,internet marketing,1,Mikrotik,4,Monitoring,2,Nginx,2,Paket Tracer,2,Squid Proxy,2,Tips And Tricks,1,Virtualization,1,Webmin,2,Webserver,4,
ltr
item
Berbagi Itu Indah: Install Nginx From Source
Install Nginx From Source
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRcWJjW3xk-GrLEWzDVh40opDJ_zZglJB6sykZ8NSa-oisv5JeAh66L94NvjYeaum-iOZ8Sl6vGzUny941C1jlOBT5ZTce9U6756I4RLBZpMEgsCicj0UaujraWotP7deg2-oyMHTqhXgE/s320/Nginx-1-4-0-Adds-Support-for-SPDY-Proxying-WebSockets.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRcWJjW3xk-GrLEWzDVh40opDJ_zZglJB6sykZ8NSa-oisv5JeAh66L94NvjYeaum-iOZ8Sl6vGzUny941C1jlOBT5ZTce9U6756I4RLBZpMEgsCicj0UaujraWotP7deg2-oyMHTqhXgE/s72-c/Nginx-1-4-0-Adds-Support-for-SPDY-Proxying-WebSockets.png
Berbagi Itu Indah
https://wahyubud.blogspot.com/2013/05/install-nginx-from-source.html
https://wahyubud.blogspot.com/
https://wahyubud.blogspot.com/
https://wahyubud.blogspot.com/2013/05/install-nginx-from-source.html
true
4332986676755765585
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy