Talking about Keepalived Double-machine Hot-up
1. Basic knowledge of Keepalived dual-machine warm-up
Official keepalived website: www.keepalived.org/ Ke keepalived can also be used as a hot standby software in non-LVS environments.
1. Keepalived role
Kekeepalived was originally designed as a powerful assistive tool for LVS, primarily to provide failover and health check functions - to dete ...
Posted by 2levelsabove on Tue, 10 Dec 2019 22:17:26 -0800
Firewalld sharing Internet and building local yum warehouse
1.firewalld sharing Internet
1. Server operation (server with external network)
1. Turn on the firewall and join the startup
[root@zeq ~]# systemctl start firewalld
[root@zeq ~]# systemctl enable firewalld
2. Remove the rule that the default owner can access ssh
[root@zeq ~]# firewall-cmd --remove-service=ssh --permanent
3. Add only allow 10.0. ...
Posted by Jaehoon on Mon, 09 Dec 2019 14:22:34 -0800
LNMP + haproxy + preserved load balancing - basic service preparation
Log service
Modify the log service configuration and restart the log service;
vim /etc/rsyslog.conf
Edit the system log configuration to specify the included profile path and rules:
$IncludeConfig /etc/rsyslog.d/*.conf
Create a separate configuration file for haproxy;
vim /etc/rsyslog.d/haproxy.conf
Edit the configuration file as follows: ...
Posted by nadz on Sun, 01 Dec 2019 13:03:36 -0800
Getting started with Java Web -- installing Tomcat server in Linux Environment
Absrtact: This article mainly studied how to install Tomcat server in Linux environment.
Preparation
Check Java environment variables
Check whether the system is configured with Java environment variables:
1 [root@localhost ~]# java -version
2 java version "1.8.0_91"
3 Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
4 Java HotSpot(TM) 64- ...
Posted by Dethman on Fri, 29 Nov 2019 03:48:54 -0800
Attached 009. GlusterFS independent deployment of kubernetes permanent storage
I. preliminary preparation
1.1 basic knowledge
Heketi provides a RESTful management interface that can be used to manage the life cycle of a GlusterFS volume. Heketi will dynamically select bricks to build the required volumes in the cluster, so as to ensure that the copies of data will be distributed to different failure domains in the clust ...
Posted by jakep on Fri, 22 Nov 2019 02:47:32 -0800
Nginx Learning Reorganization
Installation and Configuration of Nginx
0 Installation
Slightly, download it on the official website.Note that Nginx is written in C and is not cross-platform. Different operating systems need to download different Nginx.
Nginx Basic Commands under 1 Windows
start-up
start nginx
Close
./nginx -s quit
./nginx -s stop
see information
./nginx -V ...
Posted by Naez on Tue, 19 Nov 2019 19:33:30 -0800
Notes on the installation of Redis3.0 in CentOS 6.5
CentOS 6.5 install Redis3.0
1. Install C compilation environment
First, you need to install the C environment for compiling Redis, and execute the following commands at the command line:
[root@itzhouq32 tools] yum install gcc-c++
2. Upload redis3.0 to Linux
3. Unzip redis. I unzip it to / usr/local
[root@itzhouq32 tools]# tar -xvf redis-3.0.0.t ...
Posted by jwwceo on Tue, 19 Nov 2019 10:43:52 -0800
iptables setting h323 dynamic open port
iptables setting h323 dynamic open port
1. Insert h323 module
In order to support the h323 protocol, the kernel needs to insert the NF conntrack, NF NAT, and h323 modules.
modprobe nf_conntrack_h323
modprobe nf_nat_h323
2. Configure iptables rules
h323 uses 1719, 1720 ports. But mainly use port 1720.
The prototype of ip ...
Posted by bobby317 on Sat, 16 Nov 2019 09:52:19 -0800
Keeping alive + LVS + apche to achieve high available load balancing
About Keepalived
Keepalived is originally designed for LVS, which is specially used to monitor the status of each service node in the cluster system. It detects the status of each service node according to the third, fourth and fifth layer switching mechanisms of the TCP/IP reference model. If a server node is abnormal, or the ...
Posted by rhodry_korb on Thu, 14 Nov 2019 07:28:12 -0800
FastDFS picture server stand-alone installation steps (Revision)
As I said before A picture of the network architecture of microservices , through this article, you can understand the stand-alone installation process in FastDFS components.
Stand alone architecture
The following are the installation steps of FastDFS
I. environmental preparation
CentOS 7.X
libfastcommon Version used: libfastcommon-1.0.41.tar. ...
Posted by kelharis on Wed, 13 Nov 2019 02:00:28 -0800