MySQL Master-Slave Copy Separated from Read-Write (Practice)

Type of MySQL master-slave replication Statement-based replication (default) Statements executed on the primary server, same statements executed from the server Row-based replication Copy changes to from server Mixed type replication Row-based replication is used when statement-based replication is found to be inaccurate Master-slave dup ...

Added by Vasko on Thu, 12 Dec 2019 21:00:37 +0200

Linux Background Run Task nohup Combination & Usage and How to Find Processes Accurately and kill Background Task Practice

Preface Why nohup should be used with & I don't know if you've thought about its small size. Many other people will praise the use of screen, but I won't expand it if the actual production environment is limited.The main problem encountered this time was that crontab was used to call several different nohup background execution tasks. Howev ...

Added by blmg911 on Thu, 12 Dec 2019 05:00:04 +0200

Binary Installation of 006-ELK

Binary Installation ELKstack This build belongs to single point and is installed on the same machine Base Component Deployment curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo yum makecache yum install wget vim lsof net-tools ...

Added by EdN on Wed, 11 Dec 2019 23:28:13 +0200

Redis 4.0.9 cluster expansion

I. Experimental Environment 1. System version: Centos 7.6 x86 64 2. Redis version 4.0.9 3. Cluster IP information 172.16.100.201  172.16.100.202  172.16.100.203 4. IP information ready to join the cluster 172.16.100.204  172.16.100.205  172.16.100.206 5, purpose Expand the 3 primary and 3 secondary nodes of Redis cluster to 6 primary and ...

Added by kyin on Tue, 10 Dec 2019 20:29:22 +0200

Kafka cluster installation and configuration

(I) environment introduction1. Server related settings:1,kafka1:172.20.67.522,kafka2:172.20.67.563,kafka3:172.20.67.57 2. Three ports required by zookeeper1,21812,28883,3888Functions of three ports:2181: providing services to clients2888: use of machine communication in the cluster (the Leader listens to this port)3888: election leader use 3. ...

Added by f1nutter on Mon, 09 Dec 2019 02:40:08 +0200

LNMP architecture virtual host configuration, user authentication and domain name redirection

November 26 mission 12.6 Nginx installation https://my.oschina.net/u/3964535/blog/2933878  12.7 default virtual host 12.8 Nginx user authentication 12.9 Nginx domain name redirection   Configure nginx virtual host Modify nginx main configuration file [root@localhost nginx-1.12.2]# vim /usr/local/nginx/conf/nginx.conf # Delete the origi ...

Added by monotoko on Wed, 04 Dec 2019 21:50:45 +0200

Kubernetes deployment: Node deployment

Nodes only need to install kubelet service, and all node s need to install Kube proxy Deploy kubelet 1. Binary package preparationCopy the package from to all node s. [root@node-01 ~]# cd /usr/local/src/kubernetes/server/bin/ [root@node-01 bin]# for n in `seq 204 206`;do scp kubelet 10.31.90.$n:/data/kubernetes/bin/ ;done [root@node-01 bin]# f ...

Added by gyoung on Wed, 04 Dec 2019 16:42:47 +0200

Deploy redis master-slave cluster and start sentinel mode

I. deployment environmentSystem: centos7The deployment of the master-slave cluster is completed by starting two different redis instances on the Linux systemyum source deployed II. Download and install redis1. Download: download on official website2, installationCreate the / app / directory and install redis in the / app / directory [root@liyg ...

Added by john6384 on Tue, 03 Dec 2019 06:04:29 +0200

Svn installation and Windows environment SVN migration to Linux

SVN project backup Use the svnadmin tool to export locally. cd H:\Repositories svnadmin dump H:\Repositories\test > F:\svn_dump\test.dump svnadmin dump H:\Repositories\android > F:\svn_dump\android.dump svnadmin dump H:\Repositories\BackEnd > F:\svn_dump\BackEnd.dump svnadmin dump H:\Repositories\DevOps> F:\svn_dump\DevOps.dump sv ...

Added by mndwn on Mon, 02 Dec 2019 07:20:25 +0200

zabbix monitoring to get Apache status

The following operations are performed on the ZABBIX agent side: Initialize (execute script) sh init.sh httpd installation and startup (binary) yum install -y httpd* #Install httpd systemctl start httpd.service;systemctl enable httpd.service #Service startup and startup ss -ant |grep :80 #Check whether the 80 of httpd is up LISTEN 0 ...

Added by stricks1984 on Sun, 01 Dec 2019 22:26:13 +0200