April 2019
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2019
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Nginx server configuration

yum -y install make gcc gcc-c++ openssl openssl-devel pcre-devel zlib-devel

wget -c http://nginx.org/download/nginx-1.14.2.tar.gz

tar zxvf nginx-1.14.2.tar.gz

cd nginx-1.14.2

./configure –prefix=/usr/local/nginx

make && make install

cd /usr/local/nginx

./sbin/nginx

ps aux|grep nginx

Nginx load balancing configuration example

Load balancing is mainly achieved through specialized hardware devices or through software algorithms. The load balancing effect achieved by […]

Docker installation builds Tomcat + MySQL

Docker installation builds Tomcat + MySQL

virtual machine Virtual machine installation Docker Build on a clean CentOS image Centos image preparation Pull the Centos image on the virtual machine: docker pull centos Create a container to run the Centos image: docker run -it -d –name mycentos centos /bin/bash Note: There is an error here […]

Kubernetes install centos7

Kubeadm quickly builds a k8s cluster

surroundings

Master01: 192.168.1.110 (minimum 2 core CPU)

node01: 192.168.1.100

planning

Services network: 10.96.0.0/12

Pod network: 10.244.0.0/16

Configure hosts to resolve each host

vim /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.110 master01 192.168.1.100 node01

Synchronize each host time

yum install -y ntpdate ntpdate time.windows.com

[…]