Categories

Nginx Tomcat installation configuration

Tomcat is a lightweight application server, in the small and medium-sized system and concurrent access to the user is not a lot of occasions are widely used, is the development and debugging JSP program of choice. It can be argued that when a Tomcat server is configured on a machine, it can use it to […]

Nginx server 10000 concurrent optimization test (ab test tool)

1.nginx monitoring module

1) Compile nginx with the parameter –with-http_stub_status_module

#/usr/local/nginx/sbin/nginx -V ./configure –user=www –group=www –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_mo ./configure –prefix=/usr/local –user=nginx –group=nginx –with-http_ssl_module –with-http_realip_module –http-client-body-temp-path=/usr/local/var/tmp/nginx/client –http-proxy-temp-path=/usr/local/var/tmp/nginx/proxy –http-fastcgi-temp-path=/usr/local/var/tmp/nginx/fcgi –http-scgi-temp-path=/usr/local/var/tmp/nginx/scgi –http-uwsgi-temp-path=/usr/local/var/tmp/nginx/uwsgi –with-http_geoip_module –with-http_stub_status_module

2) Modify the nginx configuration file and add the monitoring status configuration

Add the following code to the server block of nginx.conf

location /nginx_status { […]

YUM deployment of high-level LNMP environment

YUM deployment of high-level LNMP environment

 

Status: yum epel comes with a low version of php mysql nginx can not meet the test and production environment in the program performance and security requirements

LNMP -> Web environment for rapid deployment

Demand: yum source version of the php is 5.4, when we need to use […]

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 […]

Page 1 of 212