Binary installation MySQL 5.7

Binary deployment is relatively simple, so you can go to MySQL official website to download the MySQL binary package without installing the dependent environment. Or download through the link of my network disk, which contains the script for automatic deployment. Note: the latest MySQL version 8.0 is completely consistent with the deployment p ...

Posted by BZero on Tue, 14 Apr 2020 10:07:00 -0700

Two way authentication tutorial of openssl implementation (server code + client code + certificate generation)

1, Background 1.1 problems A recent product testing report suggested using pki based authentication. Since the product has implemented https, it is considered that it means using two-way authentication to deal with man in the middle attack. In information security engineering, two-way authentication has been contacted, but there are two pro ...

Posted by yankeefan238 on Mon, 13 Apr 2020 05:09:17 -0700

011. BIO blocking network programming

1. http protocol Request packet resolution The first part: request line, request type, resource path and HTTP version. The second part: the request header, the part immediately after the request line (i.e. the first line), is used to describe the additional information to be used by the server. The third part: blank line. The blank line afte ...

Posted by rem on Sun, 12 Apr 2020 19:25:29 -0700

Thrift notes - basically thrift knowledge

thrift is similar to socket in java and communication between server and client in sockchannel The most important thing about thrift is cross language, which provides methods such as serialization and deserialization, json and entity objects The Apache Thrift software framework (for extensible cross language service development) combines t ...

Posted by therealchuckles on Sun, 12 Apr 2020 08:31:08 -0700

MySQL master-slave replication (operation and maintenance technology exchange group: 926402931, welcome to exchange together.)

Catalog 1. Environmental planning 2. binlog is enabled for all Mysql to ensure that the server IDs of all MySQL are different 3. The master database authorizes the master-slave replication user 4. The main database makes the database data fully available, and then pushes the backup file to the slave database 5. Restore backup files from the d ...

Posted by jameslloyd on Fri, 10 Apr 2020 08:13:01 -0700

[learn Java notes from scratch] network programming

You can pay attention to the author's account and the Java notebook from scratch. You can also go to the author's blog Garden to learn from the catalog. This film will be based on the black horse programmer job class video for learning and data sharing, and take notes and their own views. Welcome to study and discuss together. [learn Java note ...

Posted by stevehossy on Tue, 07 Apr 2020 08:40:40 -0700

express + socket.io to realize super simple chat room

What is socket.io socket.io is a package component of webSocket, which can realize two-way communication. It can be used to realize chat room functions, online games and so on. It is an interesting and fun thing. Bloggers like to play the drums Realize the idea of chat room The chat room is just for chatting, just ...

Posted by BobLennon on Sun, 05 Apr 2020 22:13:16 -0700

Linux listen() system call

Note: the analysis in this paper is based on kernel version 3.10.0-693.el7, namely CentOS 7.4 1. Function prototype int listen(int sockfd, int backlog); Parameter Description: sockfd: the file descriptor of the socket, that is, the fd returned by the socket() system call backlog: save the queue length of client ...

Posted by KindMan on Sun, 05 Apr 2020 06:20:27 -0700

Introduction to the varnish foundation of WEB caching system

Previously, we talked about the cache control mechanism in http protocol and the introduction of varnish architecture components. Please refer to https://www.cnblogs.com/qiuhom-1874/p/12620538.html Today, let's talk about how to configure and use varnish; We mentioned earlier that there are two configuration files in varnish, one is / etc/varni ...

Posted by zarathu on Sat, 04 Apr 2020 17:38:21 -0700

033 remote execution command

Execute command on serverIt seems that there is no module to execute the command before. Now it is added import subprocess obj = subprocess.Popen('dir',shell=True,stdout=subprocess.PIPE) #Get an object. The command is in front, shell The script can be executed, stdout Set a process pipeline. There are actually two processes, one is the main p ...

Posted by rdog157h on Sat, 04 Apr 2020 15:55:01 -0700