Centos7 compiles and installs nginx and sets the reverse agent
I. compile and deploy Nginx 1.12
Installation configuration:
[root@localhost ~]# groupadd nginx
[root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
#Turn off selinux
#Server file descriptors, etc
[root@localhost ~]# yum install gcc gcc-c++ ...
Posted by MCP on Mon, 02 Dec 2019 10:13:31 -0800
Analysis of the php program configuration of Kodex Explorer open source network disk
config/setting_user.php append content (all of the following, be careful not to use Chinese quotation marks, double quotation marks and semicolons)
//[specify multiple languages and keep Chinese only]
$GLOBALS['config']['settings']['language'] = 'zh-CN';
//[automatically create a new directory when creating a user-defined group]
$GLOBALS['conf ...
Posted by kingconnections on Sun, 01 Dec 2019 17:48:22 -0800
One click site building guide of native Tencent cloud centos7.5 Django Nginx+uwsgi
First, you need to have a server and domain
Preprocessing
Install GCC, ZLIB, PCRE, OPENSSL...
yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel
Pyhton's upgrade and iteration
Native linux generally only provides Python 2.7, so the first step is to upgrade Python and use the latest and stable version. (it i ...
Posted by EchoFool on Sun, 01 Dec 2019 07:34:10 -0800
Centos 7.4 source installation redis-5.0.4
Preparation
click Official website Download the installation package
Use tar -zxvf to extract the installation package to / usr/local directory, and name it redis. The steps are omitted. The results are as follows
[root@iZ2xxxxxuf9Z local]# pwd
/usr/local
[root@iZ2xxxxxuf9Z local]# ls
aegis etc include lib libexec nginx ...
Posted by ChrisML123 on Fri, 29 Nov 2019 22:12:14 -0800
zabbix4.2 server installation
As for the installation of zabbix server 4.2, in fact, the official website has written a lot of details. I'll take notes here and make some additions by the way.
zabbix official website address: https://www.zabbix.com/download
The system environment I use here is CentOS 6.9. mysql, php and nginx are pre installed
1. Install ZAB ...
Posted by lizard on Fri, 29 Nov 2019 08:31:39 -0800
nginx+tomcat to configure load balancing
The first step is to download tomcat and configure the multi tomcat running environment;
① download tomcat, extract two copies to D:\tomcats directory, and rename them:
tomcat_8080
tomcat_8090
② replace the Catalina home in startup.bat and catalina.bat under the bin directory of tomcat_withcatalina home
③ replace the Catal ...
Posted by dcooper on Wed, 27 Nov 2019 09:54:04 -0800
nginx shared memory mechanism explained in detail
Shared memory for nginx is one of the main reasons it can achieve high performance, mainly for file caching.This article first explains how shared memory is used, then how nginx manages shared memory.
1. Use examples
nginx declares that the instructions for shared memory are:
proxy_cache_path /Users/Mike/nginx-cache levels=1:2 keys_zone=one:10m ...
Posted by yaron on Mon, 25 Nov 2019 15:54:04 -0800
Nginx chapter reverse agent
About the configuration file and explanation of the reverse seven layer agent
Nginx official website: https://www.nginx.com/
Centos yum install nginx
yum install nginx -y
so, let's ask you a question, what? Why do we use Nginx to implement the seven layer agent? What is the seven layer agent?
1. Difference between nginx proxy and not
Tradition ...
Posted by br549 on Mon, 25 Nov 2019 01:25:49 -0800
Dockerfile binary separation deployment LNMP(Centos7)
Dockerfile common instructions:
1. FROM: which image is used to build the imageFor example: FROM centos2. MAINTAINER: name or email address of image MAINTAINERFor example: maintainer sun Qi Ming3. RUN: the shell command to RUN when building the imageFor example:RUN [ "yum","install","httpd"]RUN yum -y install httpd4. CMD: shell command execute ...
Posted by anand_ragav on Sun, 24 Nov 2019 10:39:26 -0800
[Linux series] Centos 7 installation of PHP
objective
For the following Laravel deployment, this article starts to install PHP.
Set PHP source
Check if the Centos source has PHP.
yum list php*
Take a closer look at the PHP version.
yum info php.x86_64
It can be seen from the above figure that the PHP source version is too low and needs a higher version.
Set up a higher version of the ...
Posted by novicephp on Fri, 22 Nov 2019 08:27:10 -0800