current location:Home > Technical Articles > Operation and Maintenance > Nginx
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to install PHP7.4 and Nginx on Centos
- Preparation 1. Download the required installation package wgetwget2 and install the required extension yuminstall-ygccgcc-c++makecmakebisonautoconfwgetlrzszlibtoollibtool-ltdl-develfreetype-devellibjpeg.x86_64libjpeg-devellibpng-develgd-develpython-develpatchsudoopenssl*opensslopenssl-develncurses-develbzip*bzip2 unzipzlib-de
- Nginx 934 2023-05-20 08:55:05
-
- How to install and configure Nginx
- Environment preparation 1. Operating system centos6.4x86_642. Software version nginx1.4.23. Experimental topology 4. Install yum source [root@nginx~]#rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/x86_64/ epel-release-6-8.noarch.rpm[root@web1~]#rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch
- Nginx 1083 2023-05-20 08:43:18
-
- How does Nginx configure a site with multiple domain names?
- Configure multiple domain names for one site server{listen80;server_nameops-coffee.cnb.ops-coffee.cn;}server_name followed by multiple domain names, separate multiple domain names with spaces. Configure multiple sites for one service server{listen80;server_namea .ops-coffee.cn;location/{root/home/project/pa;indexindex.html;}}server{listen80;server_nameops-coffee.cnb.ops-coff
- Nginx 3566 2023-05-20 08:19:05
-
- How to compile and install Nginx
- 1. Download the nginx source file and enter the nginx official website to download the stable version of nginx. I downloaded 1.10.0. Unzip: tar-zxvfnginx-1.10.0.tar.gz 2. Check the installation dependencies and execute the following command to install the nginx dependency library: yum-yinstallgccpcrepcre-develzlibzlib-developensslopenssl-devel 3. Configure the nginx installation options. I only configure the installation here. In the /opt directory, other options can be viewed by executing ./configuration–help. cdnginx installation directory, execute the following command: ./co
- Nginx 5233 2023-05-19 23:58:05
-
- How to implement Nginx domain name forwarding
- Introduction to nginx nginx ("enginex") is a high-performance web and reverse proxy server developed by Russian programmer Igorsysoev. It is also an imap/pop3/smtp proxy server. In the case of high connection concurrency, nginx is a good alternative to the apache server. nginx installation 1. Install the compilation tools and library files yum-yinstallmakezlibzlib-develgcc-c++libtoolopensslopenssl-devel2. Install pcre and download and decompress the source code package by yourself cd installation directory./configuremake&&
- Nginx 1996 2023-05-19 23:43:05
-
- How to check nginx version in Linux
- 1. Check the nginx version number installed on the server, mainly through the -v or -V option of nginx. The viewing method is as shown in the figure below. -v displays the nginx version. -V displays the nginx version, compiler version and configuration parameters [root@zq~]#nginx-Vnginxversion:nginx/1.16.1builtbygcc4.8.520150623(RedHat4.8.5-36)(GCC)builtwithOpenSSL1.0.2k-fips26Jan2017TLSSNIsupportenabledconfigurearguments:&
- Nginx 14068 2023-05-19 23:31:04
-
- How to set the upper buffer capacity limit for Nginx server
- Setting the upper limit of the buffer capacity can prevent buffer overflow attacks (also the Server module) client_div_buffer_size1k; client_header_buffer_size1k; client_max_div_size1k; large_client_header_buffers21k; After setting, no matter how many HTTP requests there are, the buffer of the server system will not overflow.
- Nginx 1045 2023-05-19 23:19:04
-
- What are the methods for Nginx to implement grayscale publishing?
- Method 1: By adjusting the load balancing weight, load balancing is built on the existing network structure. It provides a cheap, effective and transparent method to expand the bandwidth of network devices and servers, increase throughput, strengthen network data processing capabilities, and improve network performance. Flexibility and availability. Load balancing, whose English name is loadbalance, means to allocate execution to multiple operating units, such as web servers, ftp servers, enterprise key application servers and other mission-critical servers, etc., so as to jointly complete work tasks. The simple configuration is as follows: http{upstreamcluster{ip_hash;#If you do not use a third-party cache management tool in your system, it is recommended to use this method server
- Nginx 2769 2023-05-19 23:10:05
-
- What is the meaning of nginx.conf configuration file
- The structure of the nginx.conf configuration file is as follows: ......#Mainly defines the global configuration of nginx events{#events (events) block: mainly configures network connection related}http{#http block: most of the proxy cache and log definitions The configuration of functions and third-party modules can be placed here...#http global block server{#server block: Each server is equivalent to a virtual host. It can have multiple hosts jointly providing services and providing them to the outside world logically. A group of closely related services...#server global block location/{#location: Based on the request string received by the nginx server, except the virtual host
- Nginx 1415 2023-05-19 23:04:04
-
- How to build Nginx and Tomcat servers under Debian to achieve load balancing
- The basic concept of load balancing Load balancing (loadbalancing) is a computer network technology used to distribute load among multiple computers (computer clusters), network connections, CPUs, disk drives or other resources to achieve optimal resource usage. The purpose is to maximize throughput, minimize response time, and avoid overload. Using multiple server components with load balancing instead of a single component can improve reliability through redundancy. Load balancing services are usually performed by specialized software and hardware. One of the most important applications of load balancing is the use of multiple servers to provide a single service. This solution is sometimes called a server farm. Usually, load balancing is mainly used in web websites, large-scale Internet
- Nginx 1597 2023-05-19 22:31:04
-
- How to install and configure nginx HTTP server
- The http server is relatively slow in processing static resources by tomcat, so the first thing that comes to mind is to put all static resources (js, css, image, swf) into a separate server and use a faster http server. Here I chose nginx, nginx Compared with apache, it is more lightweight and simpler to configure, and nginx is not only a high-performance http server, but also a high-performance reverse proxy server. At present, many large websites use nginx. Sina, NetEase, QQ, etc. all use nginx, which shows that the stability and performance of nginx are still very good. 1.nginx installation (linux) download the latest stable version according to your needs
- Nginx 1575 2023-05-19 20:58:04
-
- What is the meaning of events configuration in nginx
- worker_connections1024; Defines the maximum number of connections that each work_process can open at the same time, that is, only so many connections are allowed at most. accept_mutexon; When there is only one network connection requesting the server at a time, multiple sleeping processes on the server will be awakened at the same time, which will consume a certain amount of server performance. Set accept_mutex in Nginx to on, which will serialize multiple Nginx processes (workerprocessers) when receiving connections to prevent multiple processes from competing for resources. The default is on. multi_accepton;nginxworkerprocesse
- Nginx 1226 2023-05-19 20:40:11
-
- How to use YUM to install Nginx under CentOS7 system
- Introduction nginx was developed by igorsysoev for Russia's second most visited rambler.ru site. The first public version 0.1.0 was released on October 4, 2004. It releases its source code under a BSD-like license and is known for its stability, rich feature set, sample configuration files, and low system resource consumption. The steps in the centos7 conditional tutorial require root user privileges. 1. Add nginx to the yum source. Add the centos7nginxyum resource library, open the terminal, and use the following command: sudorpm-uvhhttp://nginx.org/packages/centos/7/noarch/r
- Nginx 1703 2023-05-19 20:32:17
-
- How to use nginx to access local static resources on a linux server
- 1. Check whether port 80 is occupied. Generally, port 80 is mostly occupied by the apache service. netstat-anp|grep802. Modify the port number of the apache service vim/etc/apache2/ports.conf3. Modify the port number to 80804. Modify the nginx service configuration vim/etc/nginx/conf.d/nginx.conf5. Restart the nginx service servicenginxrestart6. The page tries to access local resources 7. The access is successful!
- Nginx 1757 2023-05-19 19:46:04
-
- How to add http_stub_status_module module to nginx
- 1. Description of the function of stub_status Compilation option function – with-http_stub_status_module Client status of Nginx 2. Check the existing nginx compilation parameters./nginx-V# If there is no module we need, such as –with-http_stub_status_module added in this experiment, then then You need to recompile and install it. 3. Use parameters to reconfigure configure and add --with-http_stub_status_module on the original basis. The configure file is a file in the installation package directory. For details, please refer to c
- Nginx 2363 2023-05-19 19:28:04