Three uses of postgresql highly available repmgr: 1 Primary + 1 Standby installation
os: ubunbu 16.04
postgresql: 9.6.8
repmgr: 4.1.1
192.168.56.101 node1
192.168.56.102 node2
Install postgresql 9.6 software
Both node1 and node2 need to use apt install to install postgresql9.6.8. The last bit represents the patch number
# apt install postgresql-plpython-9.6 postgresql-plperl-9.6 postgresql-pltcl-9.6 postgresql ...
Posted by kaedus on Thu, 26 Dec 2019 06:57:43 -0800
Linux-13-Inotify+Rsync real time data synchronization
Check before configuration
1. First, make sure that Rsync has been configured and the client can push files to the server
[test@C64-6-B ~]$ rsync -avzP ./syncdir rsync_backup@2.2.2.5::syner --password-file=/etc/rsync.password
sending incremental file list
syncdir/
sent 52 bytes received 12 bytes 42.67 bytes/sec
total size ...
Posted by Ralf Jones on Wed, 25 Dec 2019 12:18:46 -0800
Installing the Kubernetes 1.16 cluster using kubeadm
Kubeadm is an official tool provided by Kubernetes to quickly install the Kubernetes cluster. With each release of Kubernetes updated synchronously, Kubeadm will adjust some of the cluster configuration practices. By experimenting with kubeadm, you can learn some new Kubernetes official best practices on cluster configuration.
operating system ...
Posted by macinjosh on Tue, 24 Dec 2019 12:00:41 -0800
FasterDFS basic configuration installation
Basic overview
FastDFS is an open-source lightweight distributed file system, which manages files. Its functions include file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing. It is especially suitable for online services based on documents, such as album w ...
Posted by rickbond79 on Tue, 24 Dec 2019 04:24:37 -0800
rsync remote synchronization (Theory + Practice)
About rsync
A fast incremental backup tool
Remote SyncSupport local replication or synchronization with other SSH and rsync hostsOfficial website: http://rsync.samba.org
Configure rsync source server
rsync sync source
Refers to the remote server of the backup operation, also known as the backup source
Configure rsync source
Basic thinking
...
Posted by sangamon on Tue, 24 Dec 2019 00:13:41 -0800
Docker Series 8:Docker file Directive Details
1. Instructions for docker file s
1. Instruction 1:FROM Instruction
FROM must be the first comment directive
Used to specify the base image, which can be any image
When using the FROM command, docker daemon automatically looks for the specified image on its own machine first, and if it does not, it looks for the image on docker hub or other s ...
Posted by steviewdr on Mon, 23 Dec 2019 10:12:34 -0800
Notes on cluster construction
Catalog
Integrated architecture
Host planning ip
Basic optimization
m01 build yum warehouse
Backup Rsync network wide backup
nfs shared storage project
Real time replication of NFS shared storage data to backup
SSH, Ansible, batch management service project
MySQL database environment construction
The construction of Nginx+PHP popular dynamic W ...
Posted by ben_johnson1991 on Fri, 20 Dec 2019 08:04:42 -0800
Docker Series 2: Docker Installation Configuration and Basic Use
1. Introduction to Basic Environment
1. Introduction of basic software and hardware environment
64-bit CPU required
linux Kernel Version 3.10 and above
Kernel supports cggroups and namespace
System version is CentOS7.4 [centos6 is also available but unstable]
Docker version 18.06
K8S version 1.16 [k8s version must be compatible with docker ve ...
Posted by rupturedtoad on Thu, 19 Dec 2019 18:20:55 -0800
Source Installation for Mysql8.0
The 8.0 version of Mysql has been around for some time. Under recent research, the first step is to install and deploy it. Here is the source installation process.
1. Environmental Preparation
OS: CentOS 7.4 DB: Mysql 8.0.18 Hardware: 40G or more space, 4G or more memory
2. Environmental Preparation
1. Download Files
Download mysql-boos ...
Posted by ahmedkl on Thu, 19 Dec 2019 17:59:18 -0800
CentOS 7 Linux Installation MongoDB - yum installation (how to do zgbn)
CentOS 7 Linux Installation MongoDB - yum installation
1. Build repo resources of CentOS7
Enter / etc/yum.repos.d/ directory, create mongodb-org.repo file, edit this file with vim, and add repo resources.Http://mirrors.aliyun.com/mongodb/yum/redhat/7server/mongodb-org/3.0/x86_/ is the resource address provided by Alibaba clo ...
Posted by Karlos2394 on Thu, 19 Dec 2019 11:01:25 -0800