Ansible automatic operation and maintenance learning 5: detailed explanation and optimization of ansible configuration file

1, Details of common parametersThis paper is about https://blog.51cto.com/8355320/2471354 The parameter configuration of is extended.The default configuration file of ansible is / etc/ansible/ansible.cfg. Parameters of ansible can be adjusted in the configuration file, including concurrent thread, user, module path, configuration optimization, ...

Posted by hopelessX on Fri, 20 Mar 2020 04:29:59 -0700

Redis database introduction and manual compilation and installation process

Preface This paper introduces Redis database from the origin of NoSQL, then demonstrates the process of Redis manual compilation and installation (the system version of the experimental environment is Centos7), and finally introduces the common command tools of Redis. What is NoSQL? NoSQL -- non relational SQL, non relational database. The st ...

Posted by ramzess on Fri, 20 Mar 2020 04:20:20 -0700

Docker compose deploy jumpserver fortress machine

1, Environment deployment 1. Build docker environment yum -y install docker 2. Install docker compose curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose chmod +x /usr/bin/docker-compose 3. Create project directory mkdir -p /data/jms cd /data/jms 4. Download the doc ...

Posted by efron on Tue, 17 Mar 2020 11:02:24 -0700

Latest puppeter crawler boss direct recruitment company and position information

The missing are back! Since I have been crawling, I have encountered many pits, so I will give a general report first 1. Access to all enterprises in the country 2. Supplement enterprise information through enterprise inspection 3. Direct employment of reptile boss to obtain company and position i ...

Posted by huzefahusain on Tue, 17 Mar 2020 03:15:31 -0700

redis source code analysis v1.0

Section I. references https://www.cnblogs.com/davidwang456/articles/9294912.html https://blog.csdn.net/BigRat_WH/article/details/88640793 https://blog.csdn.net/u011577874/article/details/73000207 https://www.cnblogs.com/gjc592/p/11098047.html First of all, the source code of redis is elegant and bea ...

Posted by hungryOrb on Mon, 16 Mar 2020 23:54:32 -0700

Scrapy self built IP proxy pool

This blog will realize Worry free agent and National Agency To access and save to Redis database. The anti crawling measures of worry free agent mainly lie in the inconsistency between the port of the page and the port number of the source code. The reason for the inconsistency is that there is js ...

Posted by kneifelspy on Mon, 16 Mar 2020 06:53:05 -0700

Redis distributed lock implementation and error case analysis

Recently, I looked at the knowledge of distributed locks. They are still used more in practice, because in the case of high concurrency, if they are not suitable for distributed locks, the data will definitely have problems, such as the problem of seconds killing commodity inventory in e-commerce pla ...

Posted by friendlylad on Mon, 16 Mar 2020 00:45:52 -0700

Spring Boot 1.5 learn 10 -- Spring Boot caching technology (spring data redis)

1. Integration steps 1.1 introduction of springdataredis starter <!-- Spring Data Redis Starter --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 1.2 write the configu ...

Posted by kelseyirene on Sun, 15 Mar 2020 01:57:24 -0700

Installing php extension in docker

Some extensions of php Using the keyword docker PHP ext install directly in the Dockerfile file   RUN docker-php-ext-install -j$(nproc) iconv \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install -j$(nproc) ...

Posted by Tristan Wells on Sat, 14 Mar 2020 23:41:05 -0700

redis highly available cluster

1. Preface Redis is the largest cache middleware we use today, and it is widely used because of its powerful, efficient and convenient features.Redis released 3.0.0 in 2015, officially supporting redis clusters.This brings an end to the era of redis without clusters, which used to be Twemproxy published by twitter and codis developed by pea po ...

Posted by snarkiest on Sat, 14 Mar 2020 13:18:07 -0700