Nginx Image Station Operation Record

Source: Internet
Author: User
Tags geoip install openssl mkdir openssl install perl git clone
    1 ls 2 git clone git://github.com/yaoweibin/ngx_http_substitutions_filter_module.git 3 ls 4 wget h ttp://nginx.org/download/nginx-1.8.0.tar.gz 5 ls 6 tar–xvf nginx-1.8.0.tar.gz 7 tar--xvf Nginx-1.8.0.tar. GZ 8 TAR-XVF nginx-1.8.0.tar.gz 9 ls ten CD NGINX-1.8.0/11 ls./configure--user=www--group=w WW--add-module=. /ngx_http_substitutions_filter_module--prefix=/usr/share/nginx--sbin-path=/usr/sbin/nginx--conf-path=/etc/ nginx/nginx.conf--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log-- Http-client-body-temp-path=/var/lib/nginx/tmp/client_body--http-proxy-temp-path=/var/lib/nginx/tmp/proxy-- http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi-- http-scgi-temp-path=/var/lib/nginx/tmp/scgi--pid-path=/run/nginx.pid--lock-path=/run/lock/subsys/nginx-- With-file-aio--with-ipv6--with-http_ssl_module--with-http_spdy_module--with-http_reaLip_module--with-http_addition_module--with-http_xslt_module--with-http_image_filter_module--with-http_geoip_ Module--with-http_sub_module--with-http_dav_module--with-http_flv_module--with-http_mp4_module--with-http_ Gunzip_module--with-http_gzip_static_module--with-http_random_index_module--with-http_secure_link_module-- With-http_degradation_module--with-http_stub_status_module--with-http_perl_module--with-mail--with-mail_ssl_ 
   Module--with-pcre--with-pcre-jit--with-google_perftools_module--with-ld-opt= "-wl,-e" Yum install gcc gcc-c++-y /configure--user=www--group=www--add-module=. /ngx_http_substitutions_filter_module--prefix=/usr/share/nginx--sbin-path=/usr/sbin/nginx--conf-path=/etc/ nginx/nginx.conf--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log-- Http-client-body-temp-path=/var/lib/nginx/tmp/client_body--http-proxy-temp-path=/var/lib/nginx/tmp/proxy-- HTTP-FASTCGI-TEMP-PATH=/VAR/LIB/NGINX/TMP/FASTCGI--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi--http-scgi-temp-path=/var/lib/nginx/tmp/scgi--pid-path=/run/ Nginx.pid--lock-path=/run/lock/subsys/nginx--with-file-aio--with-ipv6--with-http_ssl_module--with-http_spdy_ Module--with-http_realip_module--with-http_addition_module--with-http_xslt_module--with-http_image_filter_ Module--with-http_geoip_module--with-http_sub_module--with-http_dav_module--with-http_flv_module--with-http_ Mp4_module--with-http_gunzip_module--with-http_gzip_static_module--with-http_random_index_module--with-http_ Secure_link_module--with-http_degradation_module--with-http_stub_status_module--with-http_perl_module--
   With-mail--with-mail_ssl_module--with-pcre--with-pcre-jit--with-google_perftools_module--with-ld-opt= "-Wl,-E" Yum install pcre pcre-devel-y yum install OpenSSL openssl-devel-y yum install libxml2 libxml2-devel li Bxslt libxslt-devel Yum Install gd gd-devel-y yum-y install Perl-devel perl-extutils-embed Yum install GeoIP geoip-devel-y yum install Google-perftools google-perftools-devel-y 22. Configure--user=www--group=www--add-module=. /ngx_http_substitutions_filter_module--prefix=/usr/share/nginx--sbin-path=/usr/sbin/nginx--conf-path=/etc/ nginx/nginx.conf--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log-- Http-client-body-temp-path=/var/lib/nginx/tmp/client_body--http-proxy-temp-path=/var/lib/nginx/tmp/proxy-- http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi-- http-scgi-temp-path=/var/lib/nginx/tmp/scgi--pid-path=/run/nginx.pid--lock-path=/run/lock/subsys/nginx-- With-file-aio--with-ipv6--with-http_ssl_module--with-http_spdy_module--with-http_realip_module--with-http_ Addition_module--with-http_xslt_module--with-http_image_filter_module--with-http_geoip_module--with-http_sub_ Module--with-http_dav_module--with-http_flv_module--with-http_mp4_module--with-http_gunzip_module--with-http_gzip_static_module--with-http_random_index_module--with-http_secure_link_ Module--with-http_degradation_module--with-http_stub_status_module--with-http_perl_module--with-mail-- With-mail_ssl_module--with-pcre--with-pcre-jit--with-google_perftools_module--with-ld-opt= "-Wl,-E" Yum-y Insta ll perl-devel perl-extutils-embed/configure--user=www--group=www--add-module=. /ngx_http_substitutions_filter_module--prefix=/usr/share/nginx--sbin-path=/usr/sbin/nginx--conf-path=/etc/ nginx/nginx.conf--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log-- Http-client-body-temp-path=/var/lib/nginx/tmp/client_body--http-proxy-temp-path=/var/lib/nginx/tmp/proxy-- http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi-- http-scgi-temp-path=/var/lib/nginx/tmp/scgi--pid-path=/run/nginx.pid--lock-path=/run/lock/subsys/nginx-- With-file-aio--with-ipv6--with-http_ssl_module--with-http_spdy_module--with-http_realip_module--with-http_addition_module--with-http_xslt_module- -with-http_image_filter_module--with-http_geoip_module--with-http_sub_module--with-http_dav_module--with-http_ Flv_module--with-http_mp4_module--with-http_gunzip_module--with-http_gzip_static_module--with-http_random_ Index_module--with-http_secure_link_module--with-http_degradation_module--with-http_stub_status_module-- With-http_perl_module--with-mail--with-mail_ssl_module--with-pcre--with-pcre-jit--with-google_perftools_module --with-ld-opt= "-wl,-e" make && make install Vi/usr/lib/systemd/system/nginx.service chmod 64 4/usr/lib/systemd/system/nginx.service adduser www. passwd www. Mkdir/var/lib/nginx mkdir/var  /lib/nginx/tmp chown www:www/var/lib/nginx/-R mkdir/home/cache mkdir/home/cache/temp www:www/home/cache/-R chown www:www/home/cache/-R PNs SyStemctl enable Nginx Systemctl daemon-reload systemctl start nginx systemctl status Nginx syst Emctl status nginxps-a ps-a ps-a netstat-tunlp firewall-cmd--zone=public TP--permanent-Curl http://127.0.0.1 firewall-cmd reload firewall-cmd--reload-ls-CD
   .. Wuyi ls >1.log

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.