Building of redis 3.2.8 cluster environment

Environmental preparation centos6.7 redis3.2.8 Installation steps Step 1: Download the redis 3.2.8 installation package https://redis.io/download Step 2: Decompress the compressed package to the middle/inner_dev_env/redis-3.2.8 [root@allere /inner_dev_env/redis-3.2.8]# pwd /inner_dev_env/redis-3.2.8 Step 3: Create a new directory: redi ...

Posted by WesPear on Mon, 01 Jul 2019 11:56:25 -0700

Firewall D Concise Guide on CentOS

Original address: https://linux.cn/article-8098-1-rel.html FirewallD Yes. The front-end controller of iptables is used to implement persistent network traffic rules. It provides command line and graphical interfaces, which are available in most Linux distribution repositories. There are two main differences between using Firewall D and d ...

Posted by stonecold on Mon, 17 Jun 2019 15:54:45 -0700

Python File System Function: os Module

Python File System Function: os Module 1. Classification of OS Module Method (1) Catalogue: chdir() changes the working directory chroot() sets the root directory of the current process listdir() lists all file names in the specified directory mkdir() Creates the specified directory makedirs() Create multilevel directories ...

Posted by williamZanelli on Sun, 16 Jun 2019 16:21:57 -0700

Remote access of l2tp/ipsec server in vpn

brief introduction PPTP and L2TP are our most commonly used vpn. Before we used pptp, we found that the new version of ios system does not support PPTP protocol. Another client can not connect VPN after connecting the hotspot of iphone. In order to facilitate office work, we need to build l2tp/ipsec vpn. Realization I. Installation of s ...

Posted by Valdhor on Mon, 03 Jun 2019 20:55:51 -0700

Samba client configuration

First, record how the linux client accesses the shared folder of windows or linux with commands The first step is smbclient-L//192.168.100.5-U public (smbclient is the command-L is to list which shared files the server has-U followed by the user name) The second step is to enter the password and see the folder shared by the server. Then you e ...

Posted by martincrumlish on Sat, 01 Jun 2019 15:13:50 -0700

Upgrade mysql 5.5.19 to 5.6.33 (architecture: mysql dual master replication + keepalive)

First: experimental environment Operating System: CentOS release 6.5 (Final) mysql dual master replication + keepalive achieves high availability: master1:10.192.203.201 master2:10.192.203.202 vip 10.192.203.203 Virtual ip is currently on master 1. The program writes vip.   2. Experimental steps 2.1 Upgrade Mas ...

Posted by Sindarin on Thu, 23 May 2019 11:21:34 -0700

iptables use implicit extensions to manage related services

iptables release sshd services for local access First look at filter rules [root@server23 ~]# iptables -t filter -L -n Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (p ...

Posted by pradeep79 on Fri, 17 May 2019 21:36:52 -0700

The Preview Task of Lesson 0416 + Classroom Notes

10.12 firewalld and netfilter selinux temporarily closed [root@arslinux-01 ~]# setenforce 0 [root@arslinux-01 ~]# getenforce Permissive selinux permanently closed [root@arslinux-01 ~]# vi /etc/selinux/config permissive doesn't block, it reminds, it doesn't show, it just records information. · CentOS 7 used netfilter firewalls before ...

Posted by neoboffins on Sat, 11 May 2019 01:04:12 -0700

Reference of common configuration methods of firewalld firewall in Centos 7 system

Firewall is a new generation of system firewall management tools under Linux. Compared with the old iptables tools, Firewall provides more management functions, such as zone-based access authorization management, dynamic loading rules and so on. But there are many advanced functions that we don't have a chance to use in our dail ...

Posted by rckehoe on Sat, 27 Apr 2019 13:42:36 -0700

Construction of FastDFS Cluster Edition

What is FastDFS FastDFS is an open source distributed file system written in c language. FastDFS is customized for the Internet. It fully considers the mechanism of redundant backup, load balancing, linear expansion, and pays attention to high availability, high performance and other indicators. Using FastDFS, it is easy to build a high-perform ...

Posted by daneilair on Wed, 17 Apr 2019 13:39:32 -0700