Configuration of linux synchronous server rsync+sersync

Synchronized server-side configurationmkdri /data/filedir chown -R  rsync:rsync /data/filedir   yum install rsync -y //create profile [root@node1 filedir]# vim /etc/rsyncd.conf  ##rsync.conf config start uid = rsync gid = rsync use chroot& ...

Posted by lena_k198 on Thu, 20 Jun 2019 11:44:31 -0700

Automatic hot update of swoole framework for monitoring files under Linux

Swoole runs in cli and then resides in memory. The RINT process can only be executed once during the entire lifecycle at startup time, after which all requests are completed within the third step. (This is one of the reasons why swoole is faster.) In this way, if the relevant php script is executed once, it will permanently reside in memory an ...

Posted by Azala on Wed, 19 Jun 2019 14:36:33 -0700

The Way to Advance PHP - The Implementation of Third Party Extension with Resource Packaging in PHP 7

PHP Extension Development Articles, I have updated to< TIPI> Before reading the following, let's assume that you are right. PHP 7 Basic Data Structure They all have a general understanding, which is the premise of reading the following content.We are divided into two parts:Firstly, it implements a custom file operation expansion of openin ...

Posted by hthighway on Thu, 13 Jun 2019 18:23:43 -0700

01-DNS domain name resolution service

DNS domain name resolution service DNS domain name resolution service DNS Service Realization Principle of DNS Actual Project 1: Setting up a Domain Name Resolution Server DNS Positive and Negative Resolution in Enterprise Actual Project 2: Build two domain name resolution servers inside the enterprise to synchronize the main and auxiliary ...

Posted by KDragon on Wed, 12 Jun 2019 18:01:55 -0700

05.24 nginx load balancing

Chapter 1 Advantages of Cluster Important computational intensive applications in some countries (such as weather forecasting, nuclear test simulation, etc.) require a strong computational processing capability of computers. With the existing technology all over the world, even mainframes, their computing power is limited, and it is difficult ...

Posted by AnthonyArde on Wed, 12 Jun 2019 16:57:33 -0700

Detailed steps for manual installation of redis-3.2.8 in CentOS 6.8

CentOS 6.8 installs with yum sometimes without a newer version, so install it manually. Here are the steps. Download the latest version Take 3.2.8 as an example. Attach the address: redis-3.2.8.tar.gz  http://download.redis.io/releases/redis-3.2.8.tar.gz 1. Download Redis 3.2.8 installation package wget -C http://dow ...

Posted by kobmat on Tue, 11 Jun 2019 11:10:11 -0700

Xie Yanke--Text Processing of Linux: egre and fgrep of three swordsmen

egrep is another mode of grep, which uses the-E option (to enable or close one or some functions of commands), to enable the extended regular expression engine function, and to check the line-by-line matching of text streams by using the combination of characters of extended regular expressions and plain text characters PATERN, to display the l ...

Posted by zoozle on Sat, 08 Jun 2019 13:51:51 -0700

Alberta Linux 44th Lecture Apache Log Management (Optimization)

11.22 Access log does not record static files Edit the virtual host configuration file "httpd-vhosts.conf": [root@adailinux ~]# vim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf ...... <VirtualHost *:80>     DocumentRoot "/data/wwwroot/111.com"     ServerName 111.com     ServerAlias www.example.com     <IfModule mod_rewri ...

Posted by ikebaldo on Sat, 08 Jun 2019 10:16:03 -0700

Golang officially relies on management tools: dep

To make a statement here, the go dep s seen by Baidu or google are not DEPs in my blog, so what is the relationship between them? according to Peter Bourgon For example, they all have the same authors, but one is that dep is the official version and godep is a third-party tool. I'm introducing dep today. I've also introduced glide before. Inter ...

Posted by dsds1121 on Thu, 06 Jun 2019 15:14:52 -0700

Disk management and script interaction exercises

1. Create a 20G filesystem with block size 2048, filesystem ext4 and volume label TEST. This partition is required to be automatically mounted to the / tetsing directory on boot, and the default mounting attribute is acl.2. Create a 5G file system, label HUGE, and require this partition to boot automatically to mount to / mogdata, file system t ...

Posted by DexterMorgan on Wed, 05 Jun 2019 15:01:09 -0700