ansible's playbook uses, judges, loops, and roles

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: --- vim httpd_v4.yaml - hosts: websrvs remote_user: '{{uservar}}' vars: ...

Posted on Wed, 31 Jul 2019 16:12:16 -0700 by abolmeer

Detailed explanation of ansible-playbook for ansible automatic operation and maintenance tools

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

About nginx_auth_mysql authentication module

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

openstack for building private clouds

openstack 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 DEVICE="ens9" ONBOOT=yes BOOTPROT ...

Posted on Mon, 03 Jun 2019 21:13:07 -0700 by Manat

zabbix installation and mail alarm configuration

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 systemctl ...

Posted on Sun, 19 May 2019 06:48:53 -0700 by RIRedinPA

Summary of the Tenth Week of linux Learning

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

MySQL cascade replication

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

Install Mysql 5.6 (source mode) under centos7

Mysql installation and configuration I use source code compilation to install mysql, using MySQL 5.6. 1. Download wget https://cdn.mysql.com//Downloads/MySQL-5.6/mysql-5.6.40.tar.gz 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

1. Management of software packages

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

Compile and install mariadb in RHEL 6.4

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