kubernetes uses kubeadm to install cluster production environment
kubeadm production environment deployment steps
1, Environmental description:
1,centos7
2. ntp clock consistency is required in cluster environment
3,getenforce 0
4,disable firewall
2, Host condition:
| k8s-master | k8s-node1 | k8s-node1 |
| -------- | -------- | -------- |
| 172.16.0.160 | 172.16.0.161 | 172.16.0.162 |
172.16. ...
Posted by baconbeastnz on Thu, 23 Apr 2020 09:31:59 -0700
The introduction and use of docker compose
docker compose: a tool for docker automatic arrangement
Preface
In the last two articles, I played with Dockerfile again, mainly building various service images based on Dockerfile. This paper will introduce and demonstrate the concept and use of docker compose, which is an automatic choreographer tool of docker.
What is docker compose?
Before ...
Posted by czs on Wed, 22 Apr 2020 09:05:49 -0700
Redis Sentinel Deployment Process
Edition
CentOS 8.1.1911(VMWare)
redis 5.0.8
Essential information
Server IP: 192.168.31.68
Redis port: 7000 (primary) 7001,7002 (slave)
Sentinel port: 27000 27001 27002
The key code or command represents this
Configure Redis
master7000.conf
bind 0.0.0.0
port 7000
daemonize yes
dir /home/misty/redis-data/sentinel01
pidfile /var/run/redis_ ...
Posted by DJP1986 on Sun, 19 Apr 2020 03:20:08 -0700
centos 7 builds svn+apache server and discusses the difference between SVNParentPath and SVNPath
1. Preface
Today, the leader asked to set up a set of svn servers to store some documents, which was supposed to be a very simple thing, but the process was not so smooth, mainly because he did not understand the problems caused by SVNParentPath and SVNPath, and only after finding the documents and debugging, did he find out their use and diff ...
Posted by zaki on Fri, 17 Apr 2020 03:24:14 -0700
centos6\centos7 basic optimization
Optimization term
1. Close selinux, firewalld (centos7) / iptables (centos6)
2. Modify character set
3, Simplify startup items
4. Modify maximum file descriptor
5. Modify yum source and install common tools
6. Optimize system kernel
7. Optimize ssh login speed
8. Disable ctrl+alt+del restart
9. Set time synchronization
10. history opt ...
Posted by Cheers on Mon, 13 Apr 2020 09:50:36 -0700
Unveil docker -- basic theory combing and installation process demonstration
Unveil docker (basic theory and installation details)
Preface
This article will focus on the following aspects to unveil docker:
What is docker?
Why do I need docker?
The core concept of docker
What is docker?
Based on Linux, docker is an open source tool to run applications in it, which can be considered as a lightweight virtual machine. Do ...
Posted by rp2006 on Mon, 13 Apr 2020 00:51:18 -0700
Intranet penetration: sunny ngrok Linux starts from the start
Some users need to start the service when the system is powered on. This article will explain how to start the Ngrok client automatically when the system is powered on under Linux.
This article supports Ubuntu, raspberry pie, Centos7, Debian series of systems.
If the Centos system does not have start stop daemon installed, see Centos install st ...
Posted by greg252 on Sun, 12 Apr 2020 09:07:28 -0700
Linux listen() system call
Note: the analysis in this paper is based on kernel version 3.10.0-693.el7, namely CentOS 7.4
1. Function prototype
int listen(int sockfd, int backlog);
Parameter Description: sockfd: the file descriptor of the socket, that is, the fd returned by the socket() system call backlog: save the queue length of client ...
Posted by KindMan on Sun, 05 Apr 2020 06:20:27 -0700
Linux file and directory management command base
1. Command basis
1.1 command operation syntax
Command [parameter] [file]
Parameter, optional
Documents, optional
2. Basic command
2.1. View the current working directory
pwd
print name of current/workin directory
Print name or working directory
[root@oldboyedu ~]# pwd
/root
[root@oldboyedu ~]# cd /opt/
[root@oldboyedu /opt]# pwd ...
Posted by wama_tech on Sun, 05 Apr 2020 03:28:23 -0700
centos 6.x install squid
Do not set user authentication
install
# install
yum install squid
yum install httpd
#View version
rpm -qa | grep squid
#Here is the version I installed
#squid-3.1.23-24.el6.i686
Modify profile
Use vim to edit the / etc/squid/squid.conf file. As shown below
#/etc/squid/squid.conf
# The configuration file al ...
Posted by cheald on Sat, 04 Apr 2020 06:04:43 -0700