A short time ago, I wrote a small demo that passed file handle, including server side and client side, and communicated with each other through Unix Domain Socket.
In the normal mode, the two sides can establish a normal connection. When the server is started as a daemon, the first start is successful, and then it is started again. The listen w ...
Posted on Fri, 17 Jan 2020 05:00:55 -0800 by mcog_esteban
Preparations: Deploy rsync service
First mileage: confirm software installation
Second mileage: writing configuration files
Third mileage: Create backup directory management user
Fourth mileage: Create a backup data directory and modify the ownership group
Fifth Mileage: C ...
Posted on Wed, 15 Jan 2020 20:01:25 -0800 by 2005
I found that setting the PATH environment variable only affects the old command prompt.PowerShell appears to have different environment settings.How do I change the environment variables for PowerShell (v1)?
I want the changes to take effect permanently, so I don't have to set them every time I run PowerShell.Does PowerShell ...
Posted on Thu, 09 Jan 2020 17:55:55 -0800 by jerdo
HAProxy compilation and installation
First, go to the official website to get the tar package of haproxy
Extract to current directory
To use the haproxy user in the configuration file of haproxy
So let's create the user first
useradd -r -s /sbin/nologin haproxy
tar xf haproxy-1.8.13.tar.gz
Posted on Sat, 04 Jan 2020 11:28:54 -0800 by cmanhatton
In the pg9.x database version, after the postmaster process is kill ed, the long connected users will not run differently~~~
Here is an example:
postgres=# select version();
Posted on Thu, 02 Jan 2020 18:28:51 -0800 by rami103
Sometimes we will encounter a similar scenario: "statistics of the total income of the two working days before today". These requirements need to be implemented through date and time functions.
curdate() returns the current date in the format of mm / DD / yyyy, curtime() returns the current time in the format of min ...
Posted on Wed, 01 Jan 2020 18:42:34 -0800 by igorlopez
Document help about load balancing module on nginx official website: link
1.nginx configuration file
2. Official example configuration and explanation
3. Actual configuration
4. Check the syntax and restart nginx
6. Modify weight test
7.1 using ip hash only calls one server
7.2 check the syntax at this tim ...
Posted on Wed, 01 Jan 2020 04:24:23 -0800 by felipe_lopes
[root@CentOS7 ~]# lsof -h
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
[-F [f]] [-g [s]] [-i [i]] [+|- ...
Posted on Tue, 24 Dec 2019 01:05:28 -0800 by buttercupgreen
This is an early version of this article, which aims to help those developers who have a basic understanding of the Ethereum blockchain platform, if they want to learn how to use the netherum. Net library to program the Ethereum platform.
I'll add more in this article later, but for now, I'm using it to publish a series of C examples of. NET 10 ...
Posted on Sun, 15 Dec 2019 06:19:59 -0800 by kristian_gl
Install arm-linux-gcc-4.4.3 on Ubuntu 16.04
I. unzip the installation package:
sudo tar -zxvf arm-linux-gcc-4.4.3.tar.gz -C /
Note that there is a space after C, so the extracted file is under the path of / opt / friendlyarm / toolchain / 4.4.3
3. Create a new arm directory under the / usr/local directory, and copy 4.4.3 under ...
Posted on Tue, 03 Dec 2019 18:38:15 -0800 by piet123