mysql 5.7 master slave synchronization gtid
Environment: 1. linux centOS 7 64 bit2. (slave) linux centOS 7 64 bit3. (mysql) it's better to have the same version. It's recommended that the slave database be no higher than the master database. 5.7 is recommended
centos 7 silently installs mariadb. For mysql 5.7 installation, please refer to the following link documents:centos 7 installs m ...
Posted by suavebum on Wed, 13 Nov 2019 10:43:46 -0800
iaas (openstack) super detailed stack building operation
This blog will introduce the UI operation of the stack in openstack
First, put the required files on the http service
[root@controller xiandian]# pwd
/etc/xiandian
[root@controller xiandian]# ls
lb-server.yaml nginx_flat.yaml nginx.yaml openrc.sh
[root@controller xiandian]# cp nginx* /var/www/html/
[root@controller xiandian]# ...
Posted by danboy712 on Mon, 11 Nov 2019 08:31:54 -0800
Simple construction of saltstack
Environmental Science;
centos 7 192.168.10.10 master
centos 7 192.168.10.129 minion
1. For the convenience of closing the firewall
[root@localhost ~]# systemctl disable firewalld // No firewall startup
[root@localhost ~]# systemctl stop firewalld // Stop firewall
2. Install salt master on the 192.168.10.10 host
[root@ ...
Posted by john_6767 on Sun, 10 Nov 2019 10:55:47 -0800
Practice of installing docker CE in RedHat 7.3
This is also the first time to install docker CE on red hat. I encountered some problems, so I recorded them.
1. Modify the redhat source to the YUM source of centos7
Query yum installation package
rpm -qa | grep yum
Uninstall the original yum installation package
rpm -e yum-3.4.3-150.el7.noarch --nodeps
rpm -e yum-utils-1.1 ...
Posted by guanche on Fri, 08 Nov 2019 07:29:34 -0800
The implementation of crond for regular backup of CentOS 7.2 database (taking Kingbase 7 as an example)
When a project goes online, it often needs to back up the database regularly to deal with uncertain environment and unknown problems. It is arranged as follows:
What is crond?
crond and crontab are inseparable. Crontab is a command, common in Unix and Unix like operating systems, which is used to set periodically executed instructions. The co ...
Posted by jswash on Thu, 07 Nov 2019 19:56:55 -0800
Cobbler automatic unattended installation (actual combat!)
Introduction to Cobbler
Cobbler is a Linux server installation service. It can quickly install and reinstall physical servers and virtual machines through PXE, and manage DHCP, DNS, etc.
Cobbler can use command-line management, also provides a Web-based interface management tool (cobbler Web), also provides an API interface, which is conveni ...
Posted by Greaser9780 on Wed, 06 Nov 2019 09:45:16 -0800
The configuration and application of Apache in Linux system
Log segmentation
As the number of visits to the website increases, Apache's individual log files will grow by default
Log files take up a lot of disk space
Inconvenient to view relevant information
Split log files
Implementation of rotatelogs segmentation tool in Apache
Third party tool cronolog segmentation
rotatelogs segmentation
...
Posted by hdpt00 on Wed, 06 Nov 2019 03:23:05 -0800
Marco - build a simple Apache service
1. View the service status of httpd: display the httpd unit, unable to find the service.
[root@localhost ~]#systemctl status httpd
Unit httpd.service could not be found.
2. Use yum to install httpd service. The following is the installation process:
[root@localhost ~]#yum install httpd
Loaded plugins: fastestmirror, langpacks
Loading mirror sp ...
Posted by bolerophone on Sun, 03 Nov 2019 03:43:49 -0800
Centos7 new static route
Environmental description:
host name
Operating system version
ip
Default gateway
adapter name
Destination address 1
Destination address 2
centos7.6
Centos 7.6.1810
172.27.9.135
172.27.9.254
ens33
172.28.105.0/24
172.28.214.17/32
I. temporary method
1. View route and ip
[root@centos7 ~]# route -n
Kernel IP routing table
Destination Ga ...
Posted by juhl on Thu, 31 Oct 2019 00:41:09 -0700
3. Docker learning, theoretical knowledge, the third day -- DockerFile
Docker learning
I. DockerFile analysis
1. What is DockerFile
DockerFile is a build file used to build Docker image. It is a script composed of a series of commands and parameters.
Three steps to build:
1. Manually write a DockerFile file
2. docker build to obtain a customized image
3,docker run
2. Analysis of the construction process of Doc ...
Posted by hchsk on Thu, 24 Oct 2019 02:31:41 -0700