Brief introduction to the construction of redis cluster

Environmental Science Operating system: CentOS 7.3 Redis version: Redis 3.2.8 Two hosts, three nodes on each host Basic steps Download and unzip the installation package # Download and unzip the installation package wget http://download.redis.io/releases/redis-3.2.8.tar.gz tar -zxvf redis-3.2.8.tar.gz Build install # Normal compi ...

Posted by j9sjam3 on Fri, 01 May 2020 15:54:19 +0200

centos7 local yum configuration and use

1. Mount system CD 2. Mount the CD to make the rpm package in the CD available Create CD mount point directory [root@localhost ~]# mkdir /mount Mount CD [root@localhost ~]# mount /dev/cdrom /mount mount: /dev/sr0 is write-protected, mounting read-only After mounting, you can see the Packages directory of the rpm package in th ...

Posted by Terrum on Sun, 26 Apr 2020 16:23:32 +0200

Order export pdf file

principle Raw data - > Load template - > temporary file - > PDF file Scheme preparation html template to pdf Difficulties: 1. Find a designer for every change; 2. html style is difficult to control (I'm not good at it); 3.html to pdf style is difficult to control word template to pdf Difficulties: 1. Selection of appropriate plug-in ...

Posted by argh2xxx on Tue, 21 Apr 2020 18:35:29 +0200

Docker update

Docker update Original version 1.10 Updated version 19.03.1 To update Docker version: Note whether the system supports the new version of the storage driver. The default storage driver for version 19.03.01 is overlay2. The following conditions shall be met for the use of overlay2 storage driver: 1, Pause the original container and ...

Posted by elentz on Tue, 21 Apr 2020 11:06:05 +0200

Install MongoDB replica set under Centos

Simulate the installation of a replica set of MongoDB under a Centos Prepare three profiles: mongod.conf bind_ip=0.0.0.0 port = 27017 dbpath = /usr/local/mongo/data/ logpath = /usr/local/mongo/log/mongod.log fork=true logappend=true replSet=myMongoSet mongod2.conf bind_ip=0.0.0.0 port = 27018 dbpath = /usr/local/mongo/data2/ logpath = /usr/loc ...

Posted by rusty1001 on Mon, 20 Apr 2020 19:11:48 +0200

See through the phenomenon - docker's network mode, docker's custom network configuration while troubleshooting (bridge mode)

See Essentials Through Phenomena - docker's four network modes, configuring docker's custom network while troubleshooting Preface The last article described resource control for docker, mainly in three areas: CPU, memory, and IO.This article describes the network mode in docker 4. 1. Brief description of three network modes in VMware Perhaps, ...

Posted by nickk on Sat, 18 Apr 2020 19:13:36 +0200

Getting started with docker command

date: 2018-2-5 reference: http://www.runoob.com/docker/ Container ID and container name can be mixed without distinction At least I haven't found a place where I can't mix 1. Use the docker run command to run an application within the container docker run ubuntu:15.10 /bin/echo "Hello world" ## If you do not specify a version label for th ...

Posted by MatrixGL on Tue, 14 Apr 2020 19:33:02 +0200

linux under software is too laggy? How to configure domestic image source

Ubuntu 18.04 configure domestic image source Modify profile Manual change Open / etc/apt/sources.list with a familiar editor, such as vi /etc/apt/sources.list Take ubuntu 18.04(bionic) as an example to copy and replace all contents in sources.list( Use Alibaba cloud image): deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted univ ...

Posted by San_John on Mon, 13 Apr 2020 17:08:27 +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