Detailed explanation of role test of Ansible, an automatic operation and maintenance tool
Detailed explanation of Ansible Roles and practical cases
Host planning
Add user account
explain:
1. Login account used by operation and maintenance personnel;
2. All businesses are placed in the "home directory of yun users" under / app / to avoid misplacement of business data;
3. This user is also used by ansible, because alm ...
Posted by chard on Fri, 08 May 2020 06:53:59 -0700
Quick upgrade of ZABBIX version 5.0
Zabbix 5.0 has added many new functions, such as vertical menu, hidden menu, test items in user interface, limit agent check, find and replace preprocessing step ES7 support, etc.. Let's deploy and experience Zabbix 5.0
Upgrade Notice
Upgrade requirements
PHP version
PHP version has been upgraded from minimum 5.4.0 to 7.2.0
Database ver ...
Posted by dmcentire on Thu, 07 May 2020 23:02:03 -0700
ELK Detailed Installation Deployment
1. Preface
The logs mainly include system logs and application logs. Operations and developers can use the logs to understand information about hardware and software in the server, check for application or system failures, and understand the cause of the failure in order to solve the problem.Analyzing the logs gives you a clearer picture of th ...
Posted by jogisarge on Wed, 06 May 2020 21:49:08 -0700
Recovery linux savings: architecture building lnmp (configuration)
nginx virtual host
vim /usr/local/nginx/conf/nginx.conf
Add include vhost/*.conf;
mkdir /usr/local/nginx/conf/vhost
vim /usr/local/nginx/conf/vhost/aaa.com.conf - virtual host configuration file
server
{
listen 80 default_server; (Yes default_serve Is the default virtual host)
server_name aaa.com; (Define site name)
index ...
Posted by jonahpup on Tue, 05 May 2020 14:19:09 -0700
Nginx + tornado + supervisor deployment
Reference link: supervisor + Tornado + Nginx usage details, Using tornado, supervisor, nginx website, Official documents of tornado
https://blog.csdn.net/tengzhaorong/article/details/12833157
Project document tree:
.
├── chnservices
│ └── channels.py
├── etc
│ ├── chnservices.conf
│ ├── nginx
│ │ └── nginx.conf
│ ├── supervis ...
Posted by quercus on Tue, 05 May 2020 07:25:07 -0700
A note on the problem of non aware updating program of nginx+tomcat cluster users
Before, nginx+tomcat cluster configuration was a simple polling mechanism
upstream servers{
#server 172.25.67.29:9091 weight=1 max_fails=1 fail_timeout=50;
server 172.25.67.29:9091;
server 172.25.67.27:9091;
server 172.25.67.27:8380;
}
As shown above. In this way, it's OK to restart one of the t ...
Posted by w.geoghegan on Mon, 04 May 2020 19:49:02 -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
One click deployment docker CE container lnmp running wordpress
Preface
During this period of time, I concentrated on studying docker, wanted to write something out, and finally wrote a wordpress running in container.
I packed the image and script, and hung them on my server. If you have time, you can download them to play.
docker
I put the packed files on the server. The downlo ...
Posted by mrdonrule on Mon, 04 May 2020 18:24:35 -0700
Nginx installation of Alibaba cloud server Centos7.0
Alibaba cloud server, operating system CentOS 7.0, installs nginx.
1. First, set alicloud's security group settings and open the 80 port limit:
Open Alibaba cloud official website > console > ECS > Security Group > security group rules:
Select any rule column, click "clone", select "HTTP(80)" for "protoco ...
Posted by mike760534211 on Mon, 04 May 2020 17:06:24 -0700
Kubernetes RBAC permission problem
Kubernetes RBAC permission problem
The following problem occurs in configuring Ingress, which is caused by RBAC configuration. RBAC starts referencing at kubernetes 1.6. The API version is also different, so you need to pay attention when configuring the yaml file. Here we use an example to solve the problem of RBAC. ...
Posted by JayBachatero on Mon, 04 May 2020 16:58:37 -0700