ansible 3rd playbook Conditional Judgment, Cycle and roles Hierarchical Management
1. ansible playbook's judgment, cyclic syntax:
In ansible playbook, when syntax can be used to make judgments and loops through with_items, with the following examples:
- hosts: websrvs
Posted on Wed, 31 Jul 2019 16:12:16 -0700 by abolmeer
http://www.yamllint.com/This blog article links up the first part: Installation of Ansible Automation Operation and Maintenance and Explanation of Common Modules
Introduction to Playbook
The playbook configuration file uses YAML grammar, which is concise and clear in structure. The playbook configuration file, similar to shell scripts, is a Y ...
Posted on Tue, 23 Jul 2019 03:32:22 -0700 by sathyan
My previous blog "Installation and configuration of httpd 2.x, mod_auth_mysql module and support for aes encryption" As mentioned in the article mod_auth_mysql Module is a third-party authentication module for Apache httpd. In this article, we will introduce a module corresponding to Nginx. nginx_auth_mysql. Dead workdownload nginx_au ...
Posted on Wed, 19 Jun 2019 11:36:04 -0700 by allenmak
Private Cloud Building
Experimental environment: rhel7.2
Disable or remove all automatically updated services as they affect your OpenStack environment.
systemctl stop NetworkManager
systemctl disable NetworkManager
Configuration of independent nodes
1. Add network card
2. Change profile
Posted on Mon, 03 Jun 2019 21:13:07 -0700 by Manat
1. Install zabbix source
rpm -i http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm
2. yum installs zabbix
yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent mariadb-server
3. Configure mysql
systemctl enable mariadb //Boot from boot
Posted on Sun, 19 May 2019 06:48:53 -0700 by RIRedinPA
Then last week's mysql, focusing on ending log management, backup and restore, master-slave replication and MySQL Cluster
mysql log management
transaction log error log general log slow query log Binary log binary log Relay log
1. Transaction log Transactional storage engine manages and uses itself. It is recommended that data files ...
Posted on Fri, 17 May 2019 13:03:45 -0700 by baitubai
There is a method of master-slave replication in production swap. The master node first synchronizes data to an intermediate slave node, and then replicates data from the slave node to the subsequent slave nodes. This replication method is called cascade replication.The advantage of cascading replication is that it can greatly reduce the pres ...
Posted on Wed, 15 May 2019 11:01:59 -0700 by phpuser1985
Mysql installation and configuration
I use source code compilation to install mysql, using MySQL 5.6.
2. Unload mysql
Because mysql is charged, CentOS 7.4 integrates MariaDB instead of mysql by default. Installing mysql conflicts with mariadb ...
Posted on Wed, 08 May 2019 07:24:39 -0700 by macje
Types of packages
rpm Binary Package - ------ has been compiled using GCC
tar Source Package - -"needs to be compiled
RPM Overview: RPM is the abbreviation of RPM Package Manager (RPM Package Manager). Although the file format name is marked with Red Hat, its original design concept is open. Now, distribution versions of L ...
Posted on Sat, 27 Apr 2019 17:06:35 -0700 by txhoyt
mariadb5.5 Compilation and Installation Process
1. Prepare the file system for MariaDB data storage. You can create a new logical volume and mount it to a specific directory. Here is to create a directory directly / mysql/data as mariadb's data storage directory.
[root@sqlmaster local]# mkdir -pv /mysql/data
mkdir: created directory `/mysq ...
Posted on Thu, 04 Apr 2019 11:33:29 -0700 by manchesterkid