Record the installation steps of Docker MySQL for the local virtual machine

After the local virtual machine installs the Docker environment, execute the Docker run - ITD -- name taoqiansheng-mysql5.7 - V / opt / data / MySQL /: / var / lib / MySQL - P 3306:3306 - e MySQL ﹐ root ﹐ password = admin123 - D MySQL: 5.7 command, Download MySQL image from official warehouse, In ...

Posted on Sat, 08 Feb 2020 07:53:32 -0500 by tcorbeil

Experience the actual battle of iptables enterprise firewall

iptables optimization case [root@ghzz ~]# vi /root/shell/iptables.sh #!/bin/bash #by qiuyuetao #-------------------------------------------------------------------------- IPTAB=/sbin/iptables #Define environment variables $IPTAB -X #Clear custom chain $IPTAB -Z #Clear counter $IPTAB -F #Clear all ru ...

Posted on Sun, 02 Feb 2020 10:40:09 -0500 by payney

Linux system architecture Squid traditional agent and transparent agent

1, Squid overview Squid is a high-performance proxy software for caching internet data. Squid receives requests from object s that people need to download and processes these requests appropriately. That is, if a person wants to download some web pages, he requests squid to get this page for him. ...

Posted on Sat, 01 Feb 2020 07:13:24 -0500 by valoukh

lvs (NAT mode and TUN mode) load balancing

NAT: Environmental Science: Three RedHat version 6.5 virtual machines sever1 as vs (dual network card) sever2, sever3 as rs 1. Configure the yum source on server1. The specific steps are detailed in the previous blog: DR mode load balancing configuration 2. Download ipvsadm and start it 3. Open internal routing settings: ...

Posted on Fri, 24 Jan 2020 10:30:58 -0500 by thoand

Quick start to kubernetes series tutorial

Write before Kubernetes involves a lot of concepts, including all kinds of technologies in the cloud eco-community. The cost of learning is relatively high. In k8s, yaml files are usually written to complete the deployment of resources, which is a high barrier for more beginners. This paper will act as an agent to get started quickly in the fo ...

Posted on Thu, 16 Jan 2020 12:27:30 -0500 by Shaped

LVS load balancing cluster -- NAT mode

LVS load balancing cluster -- NAT mode 1: What clustering means 1. It is composed of multiple hosts, but it only shows as a whole 2. In the Internet application, with the increasing requirements of the site for hardware performance, response speed, service stability, data reliability and so on, a s ...

Posted on Thu, 16 Jan 2020 06:23:58 -0500 by hughesa

Centralized user management

Use / etc/sudoers to set user alias and command alias to set permissions and commands required by each user type to control user permissions and commands availablehost alias# Host_Alias FILESERVERS = fs1, fs2 User AliasGroup aliases # User_Alias ADMINS = jsmith, mikem # User_alias AdminsGroup=%xbin Command alias# Cmnd_Alias SOFTWARE = /bin ...

Posted on Sun, 12 Jan 2020 09:43:03 -0500 by sandsquid

Kubernetes 1.17.0 installation tutorial, configuring multi node cluster based on kubeadm

  this paper introduces the installation of Kubernetes cluster, one Master and multiple nodes based on kubeadm under Centos7. Software introduction Docker version 19.03.5, build 633a0ea Kubernetes version v1.17.0 CentOS-7-x86_64 Kernel version 3.10.0-1062.el7.x86_64 CPU The number of cores should be greater than 2, and the memory shou ...

Posted on Fri, 10 Jan 2020 04:01:32 -0500 by pl_towers

k8d creates resources (Load Balancing Principle, Rollback specified version, label controls pod location)

Introduction to Deployment Deployment is a concept introduced by kubernetes 1.2 to solve the problem of Pod organization.Deployment can be understood as an upgrade to RC (RC+Reolicat Set).The feature is that you can always know the progress of the Pod deployment, that is, the progress display of the Pod creation, scheduling, binding nodes, sta ...

Posted on Wed, 08 Jan 2020 11:55:03 -0500 by ronald29x

Debian full automatic installation PXE automatic installation FAI

Install package: automatically install DHCP, TFTP, NFS wget -O - https://fai-project.org/download/074BCDE4.asc | apt-key add - echo "deb http://fai-project.org/download stretch koeln" > /etc/apt/sources.list.d/fai.list apt-get update aptitude install fai-quickstart -y apt-get install qemu-user-static -y Enable intrane ...

Posted on Sat, 04 Jan 2020 19:29:21 -0500 by ukscotth