mysql -- implementation of multiple instances based on yum source
Implement multiple instances based on yum source
This experiment implements three examples, using port 330633073308 respectively
1. Install MariaDB server, yum
#yum install mariadb-server
2. Create a directory for each instance
#mkdir /data/mysql/{3306,3307,3308}/{etc,data,socket,log,bin,pid} -pv
3. Permission to modify ...
Posted by NottaGuru on Thu, 19 Dec 2019 11:01:25 -0800
Resolve NFS single point of failure
yum install -y keepalived
Profile on nfs01
[root@nfs01 ~]# cat /etc/keepalived/keepalived.conf
! Configuration File for keepalived
global_defs {
router_id nfs01
}
vrrp_script check_data {
script "/server/scripts/data.sh"
interval 2
weight 60
}
vrrp_instance oldboy {
state MASTER
interface e ...
Posted by NewPHP_Coder on Wed, 18 Dec 2019 11:26:17 -0800
yum replace source and download rpm package and Linux software source package for installation
Replace yum warehouse source
cp -r /etc/yum.repos.d/ /etc/yum.repos.d.bak configuration of warehouse source of backup system
rm -f /etc/yum.repos.d / * ා delete all warehouse source configurations
cd /etc/yum.repos.d / ා enter the warehouse source directory
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo(wget installation: yum insta ...
Posted by JayVee on Tue, 17 Dec 2019 08:43:35 -0800
Squid Sarg log, ACL access control, reverse proxy
Experimental environment
squid server ens33:192.168.13.184
ens36:192.168.10.1 (host mode only)
web server 192.168.13.151
client 192.168.10.10 (host mode only)
I. ACL access control
1. Modify the configuration file on the squid server
[root@squid ~]# vim /etc/squid.conf ##Modify profile
# should be allo ...
Posted by madsporkmurderer on Tue, 17 Dec 2019 07:29:40 -0800
squidACL access control, reverse agent, sarg log
Experimental environment
squid server ens33:192.168.13.184
ens36:192.168.10.1 (host mode only)
web server 192.168.13.151
client 192.168.10.10 (host mode only)
I. ACL access control
1. Modify the configuration file on the squid server
[root@squid ~]# vim /etc/squid.conf ##Modify profile
# should be allo ...
Posted by ryan.od on Tue, 17 Dec 2019 06:51:22 -0800
Dual system Redhat 7.5 update yum source (centos) + gcc installation
Redhat 7.5 update yum yuan
redhat 7.5 update centos yum source
Installation steps (there must be a net)
1. * * view the system's own yum source and delete it**
2. * * go to the network source to download rpm package**
3. Install the downloaded yum source (find the file location and open in Terminal)
4. Create a new. repo fi ...
Posted by Skyphoxx on Mon, 16 Dec 2019 07:24:54 -0800
Three installation methods of nginx
Nginx is a lightweight web server, reverse proxy server. Compared with Apache and lighttpd, it has the advantages of less memory and higher stability. Its most common use is to provide reverse proxy services.
1. Installation package compilation and installation
2.yum source installation
3. Use docker to install
You need to confi ...
Posted by jennifer_ann on Sun, 15 Dec 2019 08:08:14 -0800
MySQL Architecture - mmm deployment instance
Source of mmm architecture
As we all know, MySQL provides Master-Slave replication, and then it can easily realize Master master two-way replication, and build a Slave library for one of the Master nodes. In this way, the MySQL-MMM architecture is based on two-way replication between Master1 and master2, and Master-Slave replication between M ...
Posted by EODC on Sat, 14 Dec 2019 09:48:21 -0800
Loop and concurrency control of shell
Article directory
Cycle and concurrent number control
Grammatical structure
`for loop concurrent deletion of users
for uses a space as a separator when reading a row to get parameters, while uses a row as a separator
Concurrency control (FD and named pipeline realize concurrency)
-FD file handle
-Named pipe
-Case: FD and na ...
Posted by solodesignz on Thu, 12 Dec 2019 12:17:44 -0800
Squid proxy server -- ACL access control, sarg log, reverse proxy
Experimental environment
squid server ens33:192.168.13.184
ens36:192.168.10.1 (host mode only)
web server 192.168.13.151
client 192.168.10.10 (host mode only)
I. ACL access control
1. Modify the configuration file on the squid server
[root@squid ~]# vim /etc/squid.conf ##Modify profile
# should be allo ...
Posted by MDanz on Thu, 12 Dec 2019 08:29:21 -0800