0 Basic Learning Cloud computing and Big Data DBA cluster Architect "enterprise-level operation and maintenance technology and practice Project January 26, 2015 Tuesday"

Source: Internet
Author: User
Tags iptables

process (similar to a project) thread (similar to each pipeline in a project) Nginx simple Introduction {What #十分轻量级的 http server, pronounced "engine X", high-performance HTTP and reverse proxy server, IMAP/pop3/SMTP Proxy Server. Why #专为性能优化而开发 #稳定性高 #支持热部署 #采用 Master-slave model #代码质量高 #nginx processing requests are asynchronous non-blocking, and Apache is blocking type, in high concurrency, nginx can maintain low resource consumption high performance official website #http://Nginx.org/en/docsVersion #最新版本为 Nginx Development version, the previous version is the current stable version. For example, the latest version is1.9. X, the current stable version is1.8.    X. Config file #/etc/nginx/nginx.conf/etc/nginx/conf.d data File #/usr/share/nginx/*}nginx installation and startup {#servera:(1) Add port forwarding rules, access 80 ports of ServerA machine External network card request forwarded to Nginx service LAN network card 80 port [[email protected] ~]# iptables -T nat-a prerouting-d 172.25.15.10-i eth0-p tcp--dport 80-j DNAT--to-destination 192.168.1.11:80 (2) Save iptables Configuration IPT Ables-save >/etc/sysconfig/iptables#serverb: (1) Install software [[email protected] other]# rpm NGINX-1.8.0-1.EL7.NGX.X86_64.RPM (2) View software framework [[email protected] other]# rpm-ql nginx/etc/logrotate.d/nginx/etc/ Nginx/etc/nginx/conf.d/etc/nginx/conf.d/default.conf/etc/nginx/conf.d/example_ssl.conf/etc/nginx/fastcgi_ Params/etc/nginx/koi-utf/etc/nginx/koi-win/etc/nginx/mime.types/etc/nginx/nginx.conf/etc/nginx/scgi_params/etc /nginx/uwsgi_params/etc/nginx/win-utf/etc/sysconfig/nginx/usr/lib/systemd/system/nginx.service/usr/libexec/ Initscripts/legacy-actions/nginx/usr/libexec/initscripts/legacy-actions/nginx/upgrade/usr/sbin/nginx/usr/share /nginx/usr/share/nginx/html/usr/share/nginx/html/50x.html/usr/share/nginx/html/index.html/var/cache/nginx/var/ Log/nginx (3) Start Nginx Service [[email protected] ~]# systemctl start nginx[[email protected] ~]# systemctl enable Ngins} 

0 Basic Learning Cloud computing and Big Data DBA cluster Architect "enterprise-level operation and maintenance technology and practice Project January 26, 2015 Tuesday"

Related Article

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.