docker builds redis cluster

docker builds redis cluster 1. Download the redis image docker pull redis 2. Prepare the configuration fileRedis.conf mkdir /home/docker/redis/ wget https://raw.githubusercontent.com/antirez/redis/3.0/redis.conf -O /home/docker/redis/redis.conf cd /home/docker/redis/ sed -i 's/# slaveof <masterip> <masterport>/slaveof red ...

Added by lc on Mon, 13 Jul 2020 17:48:21 +0300

LAMP builds forum and blog platform

Article catalog What is LAMP Build Forum Build a blog What is LAMP LAMP refers to Linux (operating system) + Apache (HTTP server) + MySQL/MariaDB (database) and PHP (network programming language), which are generally used to build a web application platform. Build Forum 1. First, make sure you ...

Added by V34 on Sat, 13 Jun 2020 08:39:11 +0300

Example demo: How to simplify the OD security strategy in production?

Pod security policy is critical to enhance K8S cluster security.This article will continue with the previous article on Pod security. First, it briefly describes how to associate a Pod with a Pod security policy and uses RBAC to show the steps.It then describes how to enable the default PSP in Rancher and create a custom PSP.Finally, a tool wi ...

Added by JeDi58 on Thu, 02 Apr 2020 12:38:22 +0300

About GRUB of CentOS 5, 6

grub: GRand Unified Bootloader grub 0.x: grub legacy(centos5,6) grub 1.x: grub2(centos7) grub legacy(grub 0.x) stage1: mbr The sector after stage 1_5: mbr enables the bootloader in stage 1 to identify the file system on the partition where stage 2 is located stage2: partition (/ boot/grub /) centos6: # ls /boot/grub/ device.map fat_stage ...

Added by mistercoffee on Sat, 22 Feb 2020 12:53:37 +0200

cobbler installs the system using a custom kickstart file

In the above experiment, we did not do any installation configuration, all with the help of Cobbler.However, in practice, we have corresponding requirements for each host's hard disk partition and installed software, so we need to customize the KickStart file by ourselves so that we can customize the mass installation of the operating system.W ...

Added by jini01 on Wed, 12 Feb 2020 20:49:21 +0200

Functions provided by logging.h

In this blog, we will analyze the functions provided by logging.h. by referencing this file, you can include < Android base / logging.h >, which is implemented in logging.cpp. First of all, let's take a look at its comments: it provides an interface of c++ stream, and PLOG will print out specific errors, and it also supp ...

Added by Bobby_Jo on Sat, 04 Jan 2020 03:25:16 +0200

KVM virtual platform - migrating KVM virtual machine

Blog Outline:I. migration mode of KVM virtual machineII. Static migration of KVM virtual machineIII. dynamic migration of KVM virtual machine I. migration mode of KVM virtual machine KVM virtual machine migration in KVM platform is divided into the following two types: (1) cold migration (static migration) The directory where we store the vi ...

Added by Michael_zz on Mon, 09 Dec 2019 14:59:17 +0200

Build LVS (DR mode) +Keepalived High Available Cluster, can follow!!!

Keepalived's design goal is to build a highly available LVS load balancing cluster that can call the ipvsadm tool to create virtual servers and manage server pools, not just as a dual hot standby. Using Keepalived to build LVS cluster is more convenient and easy to use. The main advantages are hot standby switching and availability improvement ...

Added by Radon3k on Thu, 19 Sep 2019 07:10:15 +0300

Setup of Linux High Availability LVS Load Balancing Cluster (Keepalived+LVS/DR)

1. Instance environment 2. First install the keepalived and ipvsadm packages 3.Keepalived configuration 3.1 Master Configuration (Master Load Balancer) 3.2 Backup Configuration (from Load Balancer) 4. Configure a real server node 5. Test Ke ...

Added by pedrokas on Thu, 29 Aug 2019 05:19:51 +0300

Automated Operations and Maintenance: Cobbler Batch Deployment Operating System

Author: Solo @TaoCloud Preface Cobbler is a necessary tool for automating operations and maintenance, and it can be used to quickly install operating systems in batches by means of network startup (PXE).Cobbler's fast installation operating system is based on kickstart, but Cobbler has better functionality, easier and more efficient management ...

Added by dharprog on Tue, 13 Aug 2019 19:09:37 +0300