Building of load balancing in LVS DR mode (single network segment)

The experiment needs five virtual machines, all of which are centos7 Client Router lvs server 172.22.144.188 1 interface 172.22.144.17 2 interface 192.168.49.5 172.22.144.17 192.168.49.5 rs1 server rs2 server 192.168.49.3 192.168.49.4 **Client configuration** vim /etc/sysconfig/nerwork-scripts/ifcfg-ens33 DEVICE=ens33 NAME=ens33 ...

Posted by isurgeon on Tue, 05 Nov 2019 06:51:20 -0800

Learn from scratch about the configuration environment variables of dockerdocker

In the previous section, we introduced the deployment of a complex docker process. A command option - e is involved. The purpose of this command is to pass environment variables. Next I'll show you how it works. First, create a container and set the environment variable VINCENT=vincent@qq.com docker run -d --name test1 -e VINCENT=vincent@qq.c ...

Posted by aladin13 on Sun, 03 Nov 2019 05:27:20 -0800

Marco - build a simple Apache service

1. View the service status of httpd: display the httpd unit, unable to find the service. [root@localhost ~]#systemctl status httpd Unit httpd.service could not be found. 2. Use yum to install httpd service. The following is the installation process: [root@localhost ~]#yum install httpd Loaded plugins: fastestmirror, langpacks Loading mirror sp ...

Posted by bolerophone on Sun, 03 Nov 2019 03:43:49 -0800

Install and configure MySQL database on Linux platform

Linux system version: CentOS 7.4MySQL version: 5.7.28There are three installation methods in Linux platform, RPM package, binary package and source package. This file mainly takes RPM package as an example to introduce how to install MySQL on Linux platform.Download address: https://dev.mysql.com/downloads/mysql/ The specific steps to install ...

Posted by UnknownPlayer on Tue, 29 Oct 2019 09:27:04 -0700

Separation of reading and writing of mysql database by maxscale

Mysql read write separation The query request and write request of client accessing data are processed by different database servers respectively. Why data read-write separation Reduce the concurrent access pressure of single server and improve the utilization of machine hardware The server that pro ...

Posted by alireza on Sat, 26 Oct 2019 12:12:36 -0700

Python offline installation of python3 pip3 and offline installation of your third-party modules

In the case of many enterprise production networks, servers cannot be connected to the Internet. You can install python and third-party modules offline through the following learning Install Python 3 dependency package Off line installation yum install --downloadonly --downloaddir=/home/files zlib-devel bzip2-devel openssl-devel ncurses-devel ...

Posted by devang23 on Fri, 25 Oct 2019 12:40:12 -0700

Installing MySQL 5.7 database through binary package

1. Download mysql binary installation package and dependency package wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-devel-0.3.109-13.el7.x86_64.rpm wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-0.3.109-13.el7.x86_64.rpm wget https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-5.7.25-linux-g ...

Posted by uproa on Wed, 23 Oct 2019 13:51:44 -0700

Application of YUM Source Configuration and Related Problems under Centos

yum source configuration is often used in work, especially when installing databases, it is time-consuming to install dependency packages one by one, so it is enough to configure yum installation directly. 1. yum configuration instructions (reprinted in this section) The configuration file for yum is divided into two parts: main and repositor ...

Posted by zimmo on Mon, 14 Oct 2019 17:46:04 -0700

Installation of MySQL 5.7 in yum mode under CentOS 7 environment

This blog is mainly extracted from the Internet, make a record, if there is the same demand in the future, you can directly turn over your own records. Thank you to the two great gods: https://www.cnblogs.com/luohanguo/p/9045391.html https://www.cnblogs.com/debmzhang/p/5013540.html   Installation steps 1. Download the rpm package of MySQL ...

Posted by BinaryDragon on Sat, 12 Oct 2019 09:05:36 -0700

Linux system: install Jdk8, Tomcat8, MySQL 5.7 environment under centos7

1. JDK1.8 Environment Construction 1. Upload files to decompress [root@localhost mysoft]# tar -zxvf jdk-8u161-linux-x64.tar.gz [root@localhost mysoft]# pwd /usr/local/mysoft [root@localhost mysoft]# mv jdk1.8.0_161 jdk1.8 2. Check the environment. Installed and deleted [root@localhost mysoft]# ps -aux|grep java [root@localhost mysoft]# rpm -e - ...

Posted by onlyican on Thu, 10 Oct 2019 14:25:38 -0700