[e220200101-1] Centos 7.x turns off firewall and SELinux

1, Preparations 1.1 server preparation Operating system: centos 7.x 1.2. Install the text editing tool nano # yum -y install nano 2, Turn off SELinux 2.1. View SELinux status 2.1.1. First method: view SELinux status # /usr/sbin/sestatus SELinux status:                 enabled SELinuxfs mount:                /sys/fs/selinux SELinux root director ...

Posted by rostros on Mon, 06 Jan 2020 01:12:22 -0800

CentOS7.5 install PHP7.3 using yum

1. Install php Current system environment [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost ~]# uname -sr Linux 4.16.11-1.el7.elrepo.x86_64 Install yum source php 7 has two yum sources to choose from, one is webmatic and the other is remi. Add webmatic source (not accessib ...

Posted by freddykhalid on Sun, 05 Jan 2020 13:12:07 -0800

Version control gitlab

Version control gitlab Version control definition: It refers to the management of changes of various program codes, configuration files, instruction documents and other files in the process of software development Version control function 1. Tracking document changes 2. Parallel development 3. Effectively solve the ...

Posted by kratsg on Sat, 04 Jan 2020 23:50:41 -0800

Install nginx Kafka plug-in

Install nginx Kafka plug-in nginx can directly write data into kafka. 1. install git yum install -y git 2. Switch to the directory / usr/local/src, and then clone the c client source code of kafka to local cd /usr/local/src git clone https://github.com/edenhill/librdkafka 3. Enter librdkafka and compile ...

Posted by KevinMG on Sat, 04 Jan 2020 23:44:35 -0800

Install Grok Debugger locally

1.Ruby installation. Note: do not use the latest 2.2 or 2.3 version of ruby. Some components may not be installed yum -y install openssl-devel gcc wget https://ruby.taobao.org/mirrors/ruby/2.1/ruby-2.1.7.tar.gz tar zxf ruby-2.1.7.tar.gz cd ruby-2.1.7 ./configure --prefix=/usr/local/ruby2.1.7 make && make install echo ...

Posted by minifairy on Sat, 04 Jan 2020 09:06:08 -0800

Docker advanced management (docker-compose orchestration tool, consul architecture)

This chapter summarizes the points of knowledge: Docker Compose container arrangementBuilding an Autodiscover Docker Service ArchitectureImplement container services to automatically join the Nginx cluster **Docker Compose Container Layout Function** Docker compose, predecessor of Fig, is a tool for defining and running multiple docker conta ...

Posted by nakago on Fri, 03 Jan 2020 21:52:00 -0800

Store SaltStack push information

After the server 1 (Master) is pushed to the minion, the minion will save the push information for 24 hours. However, in order to view the push information in the future, we should store the information for a long time, which is a good choice in the database. Now we use two methods to store the information, the latter is more c ...

Posted by killah on Fri, 03 Jan 2020 00:30:42 -0800

Haproxy installation and configuration of TCP reverse proxy

Last time we used Nginx for reverse proxy TCP, we found that the number of links in the test was still a few K, so we hung up. According to the official recommendation, we used Haproxy for testing. install Installation command: yum install haproxy The configuration file of haproxy is located in / etc/haproxy /. To prevent ...

Posted by HSKrustofsky on Thu, 02 Jan 2020 17:47:56 -0800

Custom virtual machine installation (KVM)

Custom virtual machine installation 1, Create a virtual switch Principle: call dnsmasq to provide DNS, DHCP and other functions Create configuration file / etc/libvirt/qemu/networks/vbr.xml <network> <name>vbr</name> <bridge name="vbr"/> <forward mode="nat"/> <ip address="192.168.1.2 ...

Posted by qt4u on Thu, 02 Jan 2020 16:12:10 -0800

Establishment of enterprise level top master and syndic services and horizontal expansion of master##

1. Restore environment: [server1] [root@server1 _modules]# salt-key -L Accepted Keys: server1 server2 server3 server4 Denied Keys: Unaccepted Keys: Rejected Keys: [root@server1 _modules]# salt-key -d server4 The following keys are going to be deleted: Accepted Keys: server4 Proceed? [N/y] y Key for minion server4 deleteed. ...

Posted by switchdoc on Thu, 02 Jan 2020 13:56:13 -0800