Ali Cloud Deployment 6. Configure https

Get ready Domain name on file ssl certificate (free) Request Certificate Login to Ali Cloud Console Production - > Products and Services - > SSL Certificates Click Purchase Certificate, Certificate Type Select Free DV SSL, Complete Purchase After purchasing, Symantec Free SSL appears, button click under operation item. Perfect data and ...

Posted by jber on Sun, 10 Nov 2019 18:21:24 -0800

Simple construction of saltstack

Environmental Science; centos 7     192.168.10.10    master centos 7     192.168.10.129  minion 1. For the convenience of closing the firewall [root@localhost ~]# systemctl disable firewalld // No firewall startup [root@localhost ~]# systemctl stop firewalld // Stop firewall 2. Install salt master on the 192.168.10.10 host [root@ ...

Posted by john_6767 on Sun, 10 Nov 2019 10:55:47 -0800

Centos6 Tengine opens http2 transport protocol

1. Preface Recently, we are optimizing the visiting speed of the website and opening http2 protocol for the website. What are the advantages of this protocol? As follows: http2 is the next generation transport protocol, which will be widely used in the future, which is a trend. http2 has the feature of multiplexing, which means to access re ...

Posted by francisexpress on Sat, 09 Nov 2019 11:07:26 -0800

Count PV, UV and IP of website through nginx

Recently, there is a need for the project to count PV, UV and IP of the website and display them to the background. So we can use the log of nginx. concept UV: independent visitors; based on cookie s, if a computer is equipped with three different browsers, opening the same page respectively, three UVs will be generated.PV: the number of visits ...

Posted by w.geoghegan on Sat, 09 Nov 2019 08:53:52 -0800

Website deployment https certificate

1. HTTPS certificate: htttps is different from http because it has more encryption, authentication, authentication and security from asymmetric encryption and third-party CA certificate; The working principle is as follows: First, the client generates a random number and sends it to the server; The server generates a random number and sends ...

Posted by ajpasetti on Sat, 09 Nov 2019 06:45:40 -0800

Centos6 Tengine enables Http2 transmission protocol

1. Preface Recently, we are optimizing the visiting speed of the website and opening http2 protocol for the website. What are the advantages of this protocol? As follows: http2 is the next generation transport protocol, which will be widely used in the future, which is a trend. http2 has the feature of multiplexing, which means to access resou ...

Posted by webbrowser on Sat, 09 Nov 2019 06:31:11 -0800

Compose Arrangement nginx+php

What should I do when the previous manual operation of running nginx+php in multiple containers was cumbersome?Docker Compose follows Delete the containers and networks you created in the previous section first. If you do not, there will be conflicts when you complete this chapter docker stop nginx docker stop fpm docker network rm lnmp Take ...

Posted by Najjar on Thu, 07 Nov 2019 11:21:04 -0800

jumpserver one-stop deployment and installation

Preface We are familiar with the bastion machine (springboard machine). In order to ensure the security of the server, we add a bastion machine. All ssh connections are completed through the bastion machine. The bastion machine also needs to have identity authentication, authorization, access control, audit and other functions. Jumpserver is t ...

Posted by beta0x64 on Wed, 06 Nov 2019 01:19:12 -0800

Nginx website service building - basic services, setting access rights

Nginx Nginx is a high-performance, lightweight web service software with high stability, low system resource consumption and high processing capacity for HTTP concurrent connections. Frequently used commands Experimental steps 1. Obtain the source package on Windows remotely and mount it on Linux2. Decompress the source package and download t ...

Posted by rofl90 on Tue, 05 Nov 2019 06:32:25 -0800

Getting started with docker - install docker and use docker to build a PHP environment. Learn about Dockerfile

First of all, we need to install the docker environment. This is relatively simple. Take centos7 as an example. docker needs kernel version 3.10 + to install on centos7. You can check the kernel version number through uname-r. if the version does not match, please consult the data for replacement. When you are ready, use the following command t ...

Posted by beebum on Mon, 04 Nov 2019 02:47:25 -0800