[apue] started as a daemon, Unix Domain Socket failed to listen?

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

Primary ideas for scripting full-network backup

Article Directory Preparations: Deploy rsync service Server: 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

Setting Windows PowerShell environment variables

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)? Be careful: 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 1.8.13 compilation and installation

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     cd haproxy-1.8.13/ ...

Posted on Sat, 04 Jan 2020 11:28:54 -0800 by cmanhatton

The problem that the user subprocess cannot exit after the postmaster of postgres 9.x is kill ed

scene 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(); version ------------------------------------------------------- ...

Posted on Thu, 02 Jan 2020 18:28:51 -0800 by rami103

Self study notes of MySQL database language 5: time functions of common functions

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

nginx load balancing one configuration

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 5. test 6. Modify weight test 7.ip_hash 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

lsof display system open files

[root@CentOS7 ~]# lsof -h lsof 4.87 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

The practical example of developing Ethereum on. net platform (C)

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

The construction of ubantu16.04 arm cross compiling environment

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