High availability with corosync and pacemaker
1. Install pacemaker and corosync on server4 and server5
yum install pacemaker yum install corosync -y
2. Modify the configuration file
cd /etc/corosync/
cp corosync.conf.example corosync.conf
vim corosync.conf
# Please read the corosync.conf.5 manual page
compatibility: whitetank
totem {
version: 2
...
Posted by SaMike on Tue, 07 Jan 2020 05:35:39 +0100
CentOS yum installation OpenJdk1.8
The following operations are performed on the Aliyun server. The default yum source is Aliyun.If the default is not Aliyun or 163, it is recommended to modify it before yum operation. Modify yum source to Ali source
Check if installed
rpm -qa | grep java
rpm -qa | grep jdk
rpm -qa | grep gcj
No output means no installation ...
Posted by WendyB on Mon, 06 Jan 2020 14:57:44 +0100
Build Nginx Server and Deep Optimization
1. Introduction to NginxNginx is developed for performance optimization. Its greatest advantage is its stability, low system resource consumption, and high processing power for http concurrent connections. A single physical server can support 20,000-50,000 concurrent requests. This is why a large number of enterprises providing services such a ...
Posted by Slip on Mon, 06 Jan 2020 08:21:31 +0100
CentOS7 deploys docker version 19 (simple, follow up!)
1. Install dependency package
[root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2
2. Set alicloud image source
[root@localhost ~]# yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3. Installing docker CE
[root@localhost ~]# yum install -y docker-ce
4. Turn off firewal ...
Posted by kidsleep on Mon, 06 Jan 2020 00:40:28 +0100
Docker Private Warehouse Deployment and Management
Docker Private Warehouse Deployment and Management
Structure of this chapter:
Introduction to Harbor
Deploying the Docker Compose service on which Harbor depends
Deploy Harbor Service
Harbor Daily Operations Management
Harbor Management Life Cycle
Introduction to Harbor
Harbor is an open source enterprise Docker Registry project for VMware
A ...
Posted by bilis_money on Sun, 05 Jan 2020 10:11:31 +0100
Linux basic learning - using PXE+Kickstart unattended installation service
Unattended installation system
PXE(Preboot eXecute Environment) is a technology developed by Intel company. It can let the computer boot the operating system through the network (provided that the network card installed on the computer supports PXE Technology). It is mainly used to guide the client host to install the Linux ...
Posted by ILMV on Sun, 05 Jan 2020 08:46:48 +0100
CentOS7 Install and Configure MySQL 5.7
Download MySQL installation
[root@localhost ~]# cd /home/data/
[root@localhost data]# ls
get-docker.sh nginx-1.10.1 nginx-1.10.1.tar.gz redis-5.0.3 redis-5.0.3.tar.gz server-jre-8u131-linux-x64.tar.gz zookeeper-3.4.10.tar.gz
[root@localhost data]# wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
If prompted ...
Posted by neox_blueline on Sat, 04 Jan 2020 22:13:11 +0100
RHEL7 configure 163yum source
1. Enter / etc/yum/repos.d / directory (where the configuration files of yum software warehouse are stored)
[root@localhost ~]# cd /etc/yum.repos.d/
2. Delete the original yum source
[root@localhost yum.repos.d]# rm -f *
3. Use vim editor to create a new configuration file (the file name is optional, but the suffix must b ...
Posted by mistjulia on Sat, 04 Jan 2020 21:08:17 +0100
Centos configuration deep learning development environment
Catalog
1. Install the video card driver
2. Install CUDA\CUDNN
3. Install tensorflow GPU
test
1. Install the video card driver
Check the driver and model of the video card
$ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Add ELPepo source
$ sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
In ...
Posted by bsbotto on Sat, 04 Jan 2020 00:17:58 +0100
[provide feasibility Script] RHEL/CentOS 7 multi node SSH password free login
Experiment Description:
In automatic deployment, other SSH machines will often operate. However, each password authentication is very annoying, especially for a long password, so SSH password free login is essential;
When there are many machines, Ansible is often used to distribute and execute SSH password free login scripts, so that each machi ...
Posted by Ree on Thu, 02 Jan 2020 19:23:57 +0100