Dynamic and static separation of Nginx under linux CentOS7

The separation of static and dynamic doesn't explain. There are a lot of theories on the Internet, but the implementation means I understand is that specific requests use specific processing methods. For nginx installation, please refer to this: https://blog.csdn.net/tangyaliang11/article/details/78675535 For tomcat installa ...

Posted by jh21236 on Wed, 11 Dec 2019 12:25:50 -0800

(SOS)centos7, nginx cannot parse php file

I. problem description When accessing the *. PHP file, the content of the file is not displayed, but the file to be accessed is downloaded directly, such as index.php. But it's normal to visit index.html. After reading all the posts on the Internet that have encountered this problem, we still haven't found a solution, so we po ...

Posted by bbaassiri on Tue, 10 Dec 2019 11:46:50 -0800

Tomcat8 restricts specified domain name or IP access

Environmental Science:  Tomcat8.0.53Objectives:Set to use the specified domain name or IP access 1. SET domain name access 1.1 open the server.xml file of the conf directory under Tomcat and find the following information Modify Engineengine specifies the default host name to process the request, which is at least the same as the name at ...

Posted by weemee500 on Fri, 06 Dec 2019 20:26:20 -0800

New functions | MySQL 8.0 multi valued indexes

As the name implies, multiple secondary index entries can be created for the same Primary key in the index. In fact, the basic functions of array type have been supported, and the secondary index is built based on array. This means that the number of records in the secondary index can be more than the number of records in the clustered index, s ...

Posted by jaret on Fri, 06 Dec 2019 01:35:55 -0800

Build docker swarm cluster to realize load balancing

About Swarm: Swarm is a cluster management tool officially provided by Docker. Its main function is to abstract several Docker hosts as a whole, and manage all kinds of Docker resources on these Docker hosts through a single portal. Swarm and kubernetes are similar, but lighter, and have fewer functions than kubernetes Experime ...

Posted by majiclab on Thu, 05 Dec 2019 00:13:00 -0800

centos7 installation and configuration of rsync and problems encountered

install Server side Install software: yum -y install rsync To create a directory to synchronize: mkdir -p /data Edit the configuration file: vim /etc/rsyncd.conf motd file = /etc/rsyncd.motd transfer logging = yes log file = /var/log/rsyncd.log #Log storage path port = 873 #Port number address = 192.168.0.37 #IP address uid = root #User ...

Posted by Pie on Tue, 03 Dec 2019 21:25:11 -0800

Performance optimization of Oracle

The previous life of the analytic index of performance optimization of Oracle Summary: in oracle, index is like a book's catalog, which can speed up the query speed and improve the query efficiency. In oracle, b-tree index is used to store the index. B-number index is a tree structure with branches and leaves. Index is divided into root node, ...

Posted by JukEboX on Tue, 03 Dec 2019 02:47:47 -0800

ubuntu, debian install redis, set the startup auto start and password, and allow Internet access

The package of apt comes with redis. If the version of redis is not very high, you can directly use apt to install it: apt install redis-server Start redis: redis-server Start command line interface: redis-cli Note: after apt installation, the location of redis configuration file is / etc/redis/redis.conf To modify a profile: ...

Posted by ElkySS on Sun, 01 Dec 2019 17:59:17 -0800

How to Cross-compile the GO Program with ARM Architecture on Ubuntu

We all know that when CGO is not involved, cross-compilation of Go s is very simple and requires only the corresponding GOOS and GOARCH to be set, but when CGO is involved, the problem becomes a bit complicated because you need to specify a specific GCC. For example, if you want to cross-compile a dynamic library with CGO on Ubuntu and the tar ...

Posted by Deadman2 on Wed, 27 Nov 2019 15:29:44 -0800

How to set up the experiment environment of Varnish reverse agent

Construction of Varnish experimental environment 1. Download the 6.5 image and configure the network yum source on the host yum install httpd -y systemctl start httpd systemctl enable httpd mkdir /var/www/html/rhel6.5/ mount /iso/rhel-server-6.5-x86_64-dvd.iso /var/www/html/rhel6.5/ 2. Create a master disk: (1) open Virtual ...

Posted by psionicwrath on Tue, 26 Nov 2019 10:39:56 -0800