docker practice ks8 installation and deployment
Deployment architecture:
I. installing docker
Only docker18.06 is supported at this time
1.1. Add source:
# yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
1.2. View package:
# yum list docker-ce.x86_64 --showduplicates | sort -r
1.3. Install docker
# yum -y install docker-ce-18.06.0.ce-3.el7
Th ...
Posted by jds580s on Mon, 09 Dec 2019 07:48:49 -0800
Install request Library
Environmental description
[root@localhost Python-3.6.6]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@localhost Python-3.6.6]# uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost Python-3.6.6]# getenforce
Disabled
[ ...
Posted by paul_20k on Sun, 08 Dec 2019 03:14:22 -0800
Configure lnmp environment using yum (CentOS7.6)
I. details of installation version
Server: MariaDB
Server version: 5.5.60-MariaDB MariaDB Server
[root@ln-125 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@ln-125 ~]# nginx -v
nginx version: nginx/1.14.2
[root@ln-125 ~]# php-fpm -v
PHP 5.4.16 (fpm-fcgi) (built: Oct 30 2018 19:32:20)
Copyright (c) 1997-2013 The PHP Group ...
Posted by ozzythaman on Sun, 08 Dec 2019 01:58:32 -0800
002.Docker installation and deployment
One docker installation CentOS system
1.1 docker automatic installation script
1 root@docker:~# wget -qO- https://get.docker.com/ | sh
2 Or -
3 root@docker:~# curl -sSL https://get.docker.com/ | sh
Note: if the following error occurs, you can use yum to resolve the dependency——
Delta RPMs disabled because /usr/bin/yum prov ...
Posted by spstieng on Sat, 07 Dec 2019 22:30:31 -0800
Use guide for Foreign Data Wrappers of PostgreSQL
The function of PostgreSQL's fdw implementation is the cross database operation between each PostgreSQL database and the remote database. The function is the same as oracle's dblink. The environment in this article is shown below:
1.1. Target installation software package
[root@hdp06 ~]# yum -y install postgresql10-contrib.x86_64
1.2 creating ...
Posted by introvert on Sat, 07 Dec 2019 14:14:23 -0800
Building a Load Balancing Cluster Based on Address Translation (LVS-NAT) Mode
This post is a case post. For an overview of the principles and related overviews of LVS Load Balancing Clusters, please refer to the post: LVS Load Balancing Cluster for Centos 7
1. Introduction to Cases
1. Case Environment
2. Experimental results
Using NAT-mode clustering technology, the LVS load dispatcher is a gateway server where all ...
Posted by scottreid1974 on Sat, 07 Dec 2019 03:02:18 -0800
DR mode of LVS load balancing cluster deployment
I. working principle of DR mode
As shown in the figure, the working principle of LVS-DR has been explained in the figure. Let's list the characteristics of LVS-DR mode:
1. RIP can use private address or public network address. If public network address is used, RIP can be accessed directly.
2. All requested packets must pass through ...
Posted by KC_Geek on Fri, 06 Dec 2019 16:53:46 -0800
Practice: shell programming practice
Preface
mac record and port scan script
Develop system monitoring script
I. sharing of script programming steps
1.1 script programming steps
1.2 demand analysis
According to the requirements of system management, the functions, levels, commands and statements of the script are analyzed
1.3 command test
Test the commands to be used one by ...
Posted by ro1960 on Fri, 06 Dec 2019 16:35:11 -0800
13 strategies of Nginx - (VeryNginx)
What is VeryNginx
VeryNginx is developed based on Lua ﹣ Nginx ﹣ module (openretry), which implements advanced firewall, access statistics and other functions. The integration runs in Nginx, extends the function of Nginx itself, and provides a friendly Web interface.
How to install VeryNginx
Nginx compilation environment
yum -y install gcc gcc ...
Posted by FrankA on Fri, 06 Dec 2019 03:42:27 -0800
LVS + preserved + nginx for high availability
1. purpose
lvs is a four-tier load balancing. keepalived provides lvs with highly available services and checks the health status of the backend nginx. Nginx is mainly used for seven tier load balancing
2. topological graph
Server IP address description
Director master 192.168.3.105 LVS kept alive
Director standby node 192.168.3.104 LVS ke ...
Posted by natalieG on Thu, 05 Dec 2019 17:41:03 -0800