Detailed Tests Test for Automated Operations and Maintenance Tool Ansible
Ansible Tests Details and Use Cases
Host Planning
Add user account
Explain:
1. Login accounts used by operations and maintenance personnel;
2. All businesses are placed under / app / in the "home directory of yun users" to avoid the disorder of business data;
3. This user is also used by ansible because almost all production en ...
Posted by cjdesign on Thu, 07 May 2020 09:49:48 -0700
Old learning programming - Cgroup plug-in
cgroup
cgroup introduction
cgroup, a control group, provides a mechanism for controlling the use of resources by a specific group of processes. cgroup binds a process set to one or more subsystems.
Why cgroup
Group the processes uniformly, monitor the processes and manage the resources on the basis of grouping.
subsystem
cgroup is a mechanism t ...
Posted by logicopinion on Wed, 06 May 2020 05:29:32 -0700
kubeadm installation K8s 1.16 cluster
1, Environment introduction
Two centos7.4 system machines:
machine
host name
10.1.31.36
kubernetes master
10.1.31.24
kubernetes node1
2, Preparations
The following steps are to be performed on both hosts.You need to pull docker image. Please install docker first.
1. Relationship between K8s and docker version
[`https://github.com/ku ...
Posted by llama on Wed, 06 May 2020 04:53:46 -0700
Remember that there is a bug in Gentoo's upgrade of mesa-17.1.10 software
Recently, I encountered a problem upgrading Gentoo, and there was a compilation error upgrading the media LIBS / mesa package
media-libs/mesa-17.1.10
I'm upgrading from mesa-17.0.6. An error is reported when compiling. The error information is as follows
/bin/sh ../../../libtool --tag=CC --mode=compile x86_6 ...
Posted by Nicholas on Tue, 05 May 2020 18:59:59 -0700
Site online linkage ELK log entry
ELK schema log processing logic:
1. When Filebeat is installed in the business layer, it will automatically obtain the domain name and environment information of the host running site, add channel and env tags, and take the value of channel as the topic information of kafka
2. Kafka receives the new field and Topic information of Filebeat, and ...
Posted by BluntedbyNature on Tue, 05 May 2020 17:52:59 -0700
Safer rm commands to protect important data
Almost all the secure RMS streaming on the Internet provide a rm "garbage" recycle bin, which is a bad recipe for server environment.
I think it might be better to provide a secure rm to protect some important files or directories from deletion and avoid the tragedy of deleting important data by mistake.
I wrote a script: https://gith ...
Posted by blade_922 on Tue, 05 May 2020 14:44:33 -0700
Docker virtualization management: 30 minutes to learn how to use Docker
There are too many official introductions about Docker on the Internet that I won't post. As a practical experience, Docker can greatly simplify the process of setting up environment and deploying services, greatly reduce the time cost of deployment, and free your hands.
This article will not go into the Docker underlying architecture and how ...
Posted by my8by10 on Tue, 05 May 2020 08:36:27 -0700
The skill of quickly locating header file in linux Programming powerful grep command
This skill comes from my actual development:
This function is used to convert ip address into network byte order. Its prototype is in addr INET addr (const char * CP);
The return value is an in ﹣ addr ﹣ T type. Obviously, this is not a standard data type of c language. If you want to find out what type it is, you must find the header file. ...
Posted by alsouno on Tue, 05 May 2020 01:02:17 -0700
Ten of three Linux phases: nginx reverse proxy load balancing
10. nginx reverse proxy load balancing
(1) Description of LNMP architecture migration database
Migrating databases: Using the database backup command (mysql mysqladmin mysqldump)
1) Back up database information
mysqldump -uroot -poldboy123 --all-databases >/tmp/bak.sql
ll /tmp/bak.sql -h
scp /tmp/bak.sql 172.16.1.51:/tmp/
2) Restore data ...
Posted by Thundarfoot on Mon, 04 May 2020 18:53:19 -0700
linux Installation php7 tutorial -- installing web server 5 in linux Environment
linux starts to install web server 1 from 0linux connects to the Internet -- linux installs web server 2Installing gcc -- linux installing web server 3
linux install mysql5.6 -- linux install web server 3
After php7.1,
mcrypt series functions are not supported,
Considering that many of my friends used to use mcrypt series of encryptio ...
Posted by siesmith on Mon, 04 May 2020 15:06:02 -0700