September 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

September 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Nginx load balancing servers are available for dual machines

If the Web server cluster as a city, then the load balancing server is equivalent to the gates, the importance of self-evident.If the “gates” off, and the outside world is broken, if only a balanced server , When the server fails, it will lead to the entire site can not access.Therefore, we need to more […]

CentOS 6.8 to compile and install LNMP Brief

CentOS 6.8 to compile and install LNMP Brief

deas: According to information systems and Linux systems company’s Web site, select the appropriate installation package for installation

First, view system information

# Uname -a # View kernel /operating system /the CPU information # Head -n 1 /etc/issue # view the operating system version # Grep MemTotal […]

Red Hat Enterprise Linux installation at 7.3 Nginx

Red Hat Enterprise Linux installation at 7.3 Nginx

I. Introduction

Nginx ( “engine x”) is a by Russian designer Igor Sysoev procedures developed high-performance Web server and reverse proxy, also a IMAP / POP3 / SMTP proxy server. In the case of high concurrent connections, Nginx Apache server is a good substitute.

Second, prepare

1, […]

Keepalived Nginx Dual Primary High Availability Load Balancing Cluster

Keepalived Nginx Dual Primary High Availability Load Balancing Cluster

Purpose of the experiment: Use keepalived to implement Nginx’s dual main high availability load balancing cluster.

Experimental environment: two Nginx proxy (two main Nginx, each need two NIC, eth0 connection network, eth1 connected to the external network), two web server (request load balancing), a client used […]

CentOS 6.9 compile and install Nginx1.4.7

CentOS 6.9 compile and install Nginx1.4.7

[root@rmohan.com ~]# yum install -y openssl [root@rmohan.com ~]# service iptables stop iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: 2. Download nginx source package to a local

[root@rmohan.com ~]# ll nginx-1.4.7.tar.gz -rw-r–r–. 1 root root 769153 Jun […]

Nginx for serving files bigger than 1GB

ealize that nginx was not serving files larger than 1GB. After investigation I found that it was due to the proxy_max_temp_file_size variable, that is configured by default to serve up to 1024 MB max.

This variable indicates the max size of a temporary file when the data served is bigger than the proxy buffer. If […]

Linux server security configuration of Nginx

Under Linux server security configuration of Nginx

1, some common sense under Linux, you want to read a file, you first need to have execute permissions for the folder where the file, and then you need to read permissions on the file.

Execute permissions php files do not need the file, you only need read […]

CentOS 6.8 to compile and install LNMP

CentOS 6.8?nginx 1.9.14?mysql 5.6.23?php 5.6.17

service iptables stop chkconfig iptables off setenforce 0

vi /etc/sysconfig/selinux SELINUX=disabled

yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel openldap-clients […]

How to setup Pagespeed module in Nginx using rpm or yum on CentOS 7

How to setup Pagespeed module in Nginx using rpm or yum on CentOS 7

Adding Pagespeed module in Apache is very easy with package manager:

sudo yum install at # if you do not already have ‘at’ installed sudo rpm -U mod-pagespeed-*.rpm

… but if we want to add Pagespeed module in Nginx, first thing […]

How to setup Pagespeed module in Nginx using rpm or yum on CentOS 7

How to setup Pagespeed module in Nginx using rpm or yum on CentOS 7

Adding Pagespeed module in Apache is very easy with package manager:

sudo yum install at # if you do not already have ‘at’ installed sudo rpm -U mod-pagespeed-*.rpm

… but if we want to add Pagespeed module in Nginx, first thing […]