Docker security mechanism and resource management restrictions
Setting up the security mechanism of docker
Container permissions
Set the container to run at privilege level: - privileged=true sometimes we need the container to have more permissions
For example, operating kernel module, controlling swap partition, mounting USB disk, modifying MAC address, etc.
[root@foundation7 ...
Posted by robbyc on Thu, 02 Jan 2020 07:18:33 +0100
mfs configuration highly available
Configure the highly available yum source on [server1] and [server4]
[root@server1 ~]# vim /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=http://172.25.40.250/rhel6.5
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[HighA ...
Posted by lottos on Wed, 01 Jan 2020 11:27:23 +0100
Chapter One Nine: Easily complete the installation of fabric s block chains
Catalog
1 Preface
2 Operating system environment settings
2.1 Host and Operating System
2.2 Set Host Name
2.3 Setting up DNS
2.4 Close the firewall
2.5 Turn off selinux
2.6 Turn off swap
3 Operating system software installation
4 Install docker
5 Install docker-compose
5.1 jsonschema version mismatch
5.2 cffi version mismatch
5.3 dnspython ver ...
Posted by Dream$of$uccess on Tue, 24 Dec 2019 19:33:15 +0100
Management of rpm command
1. Difference between Yum and rpm
The yum command will find the dependency from the image itself when installing the software, and then resolve it. If it fails to resolve it, an error will be reported
The rpm command does not solve the dependency when installing the software. It is applicable to the installation of all softw ...
Posted by Graeme1972 on Fri, 13 Dec 2019 18:22:17 +0100
MMM high availability cluster of MySQL database
MMM Cluster Architecture Overview
Mmm (Master Master replication manager Mysql) is a set of flexible script program based on perl, which is used to monitor and migrate mysql replication, and manage the configuration of Mysql master replication (only one node is writable at the same time).
MMM high availability architecture description
Mmm M ...
Posted by synergypoint on Fri, 13 Dec 2019 17:12:51 +0100
Firewall basic use
I. system environment
Centos7
Two, installation
$ yum install -y firewalld
III. basic startup command
$ systemctl status firewalld # View state
$ systemctl start firewalld # start-up
$ systemctl stop firewalld #Close
$ systemctl enable firewalld ...
Posted by FrancoPaddy on Mon, 09 Dec 2019 18:58:41 +0100
Cloud server (Tencent cloud) deploy MySQL 5.7 installation from scratch
1. Install yum repo
There is no mysql in the yum source of centos (you can try to use the installation command directly: Yum install mysql server). You need to download the yum repo configuration file on mysql's official website, and then install:
#download
wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
#repo inst ...
Posted by stemp on Fri, 06 Dec 2019 04:11:42 +0100
Deploy LVS-DR and preserved cluster (actual combat!!!)
keepalived overview
The function of Keepalived is to detect the state of the server. If a web server goes down or fails to work, Keepalived will detect it and remove the failed server from the system. At the same time, other servers will be used to replace the server's work. When the server works normally, Keepalived will automatically add the ...
Posted by papa on Wed, 04 Dec 2019 11:14:07 +0100
Centos 7.X standalone deployment DB2 10.5
Preparation of system bottom layer
Install jdk
tar xvf jdk-7u79-linux-x64.tar.gz
vi /etc/profile
#Set JDK environment variable: add JDK environment variable setting at the end of vi /etc/profile:
JAVA_HOME=/usr/local/java
JRE_HOME=/usr/local/java/jre
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME ...
Posted by consultant1027 on Wed, 04 Dec 2019 04:00:02 +0100
CA authentication server and https service
How to build an enterprise CA certificate server?
Define system environment: CentOS 7.4
ca.com 192.168.80.181 openssl*
mail.com 192.168.80.182 dovecot*
client.com 192.168.80.183 mutt*
Modify three host names:
①hostnamectl set-hostname xx.com
exit logout
Reconnect
② vi /etc/hosts
192.168.80.181 ca.com 192.168.80.182 mai ...
Posted by lewis987 on Sun, 01 Dec 2019 13:40:19 +0100