MySQL master-slave replication (operation and maintenance technology exchange group: 926402931, welcome to exchange together.)

Catalog 1. Environmental planning 2. binlog is enabled for all Mysql to ensure that the server IDs of all MySQL are different 3. The master database authorizes the master-slave replication user 4. The main database makes the database data fully available, and then pushes the backup file to the slave database 5. Restore backup files from the d ...

Posted by dwees on Fri, 10 Apr 2020 16:56:28 +0200

Mongodb Installation Required Read System Optimization

Mongodb released two available service versions: Community and Enterprise The Monodb we use is a community versionOfficial Recommendation:For the best installation experience, MongoDB provides packages for popular Linux distributions.These packages are the preferred way to run MongoDB. 1. linux platform support Install on Red Hat Supports the ...

Posted by comtek on Thu, 09 Apr 2020 23:24:20 +0200

Install redis Sentry Cluster offline on three servers, one master, two slaves

The gcc environment is installed on the system (otherwise, compiling redis will cause errors).Still don't know how to install the gcc environment offline viewable Install gcc environment offline under CentOS with detailed graphics download Click on the official address to download redis for Linux http://download.redis.io/releases/redis-5.0.4.ta ...

Posted by TGixer on Tue, 07 Apr 2020 06:08:36 +0200

19, Text operation - file search find

File lookup command findfind path search conditions [supplementary conditions]Find the specified file in the directory (1) Know the full name of the file and search user1@SC02ZRC4KMD6N /etc % find passwd passwd (2) Find a path and whether the subpath contains files user1@SC02ZRC4KMD6N / % find etc/ -name passwd etc//pam.d/passwd etc//passw ...

Posted by 121212 on Mon, 06 Apr 2020 18:04:35 +0200

linux compiling and installing nginx and detailed explanation of the parameters of each step

1. Environment and installation of dependent packages [root@localhost ~]# systemctl stop firewalld && setenforce 0 #Turn off the firewall and selinux first [root@localhost ~]# yum -y install gcc gcc-c++ #Install build environment [root@localhost ~]# yum install -y pcre pcre-devel #Install pcre package (make nginx support http rewri ...

Posted by rupam_jaiswal on Mon, 06 Apr 2020 17:36:47 +0200

Flannel, CNI network plug-in of kubernetes

Operation and maintenance technology exchange group: 926402931, welcome to exchange. Catalog 1. Cluster architecture 1.1. Download software, decompress, and make soft link 1.2. Create directory 1.3. Copy certificate documents 1.4. Create configuration 1.5. Create startup script 1.6. Authorize and create log directory 1.7. Create supervisor c ...

Posted by frymaster on Mon, 06 Apr 2020 16:33:17 +0200

Linux file and directory management command base

1. Directory structure Everything starts from the root '/', which is the vertex of all directories 2. Relationship between partition and directory One by one correspondence between partition and directory in Windows Directories and partitions in Linux are separate. Different disks are represented by letters Different zones are represented by ...

Posted by jeevan_y21 on Mon, 06 Apr 2020 12:49:00 +0200

Linux -- install and configure Android SDK

1. Download Android SDK http://tools.android-studio.org/index.php/sdk/ I downloaded: Android sdk_r24.4.1-linux.tgz 2. Unzip Android SDK Copy the Android sdk_r24.4.1-linux.tgz file to a directory in the Linux file system. My directory is / usr/local/ Execute command decompression: tar -zvxf android-sdk_r24.4.1-linux.tg ...

Posted by Alith7 on Mon, 06 Apr 2020 03:55:11 +0200

Build an internal Ansible automated management platform from scratch - Chapter 1 (Api)

Build an internal Ansible automated management platform from scratch - Chapter 1 1. Background; With the rapid technological iteration of lower and middle-level enterprise technologies and the popularity of micro-service distributed architecture, it is difficult for traditional operation and maintenance systems to initialize systems, deploy e ...

Posted by s0me0ne on Sun, 05 Apr 2020 23:14:12 +0200

k8s cluster deployment 3: master node component deployment

All of the following are executed on the master Get master node binary package Download binary packages and deploy components The binary package of the master node can be obtained from this website: kubernetes github wget https://dl.k8s.io/v1.9.0/kubernetes-server-linux-amd64.tar.gz Extract the Kube apiserver Kube Cont ...

Posted by TechXpert on Sun, 05 Apr 2020 01:34:59 +0200