Common methods of python string parsing

This is some of the common methods I summarized in my study of python about strings. In this paper, the built-in help document of Python version 3.5 is quoted, roughly translated, and several small experiments are added. isalnum Return True when all characters in the S. isalnum () - > bool # string are letters or numbers, or False if not. R ...

Posted by timj on Thu, 31 Jan 2019 10:57:16 -0800

lvs load balancing cluster (DR mode)

DR mode cluster. In fact, it should be the IP of the Internet. Here we simulate the phenomenon. Packet back directly from the web to the client. Problems that may arise 1. Cluster addresses (web backpack IP is different from client requests) require vip to be established. 2. Router ARP request (need to turn off web1, web2 par ...

Posted by magic2goodil on Mon, 28 Jan 2019 20:15:14 -0800

Centos7 Builds Samba Server

1. Preparations Close the firewall Close selinux systemctl stop firewalld.service setenforce 0 && getenforce && \cp /etc/selinux/config{,.ori} && grep -q "SELINUX=disabled" /etc/selinux/config || sed -i 's%SELINUX=enforcing%SELINUX=disabled%g' /etc/selinux/config 2.Yum installs Samba packages ...

Posted by stockdalep on Sun, 27 Jan 2019 00:03:16 -0800

Centos 6.9 Load Balancing Scheme Complete Configuration (lvs+keepalived+pxc+nfs+business system)

Preliminary preparation: NFS server: computer name nfsserver, IP address 192.168.1.103, used to store business system data. Noe1: Computer name PXC01, IP address 192.168.1.105, installation of pxc system and business system. Noe2: Computer name PXC02, IP address 192.168.1.106, installation of pxc system and business system. Noe3: Computer name ...

Posted by dirkadirka on Sat, 26 Jan 2019 15:45:15 -0800

Linux Network Related Knowledge

Mission 25 October 10.11 Linux Network Related 10.12 firewalld and netfilter 10.13 Netfilter 5 Table 5 Chain Introduction 10.14 iptables grammar   Linux network related commands View network card information: ifconfig Installation: Yum install-y net-tools [root@centos7 ~]# ifconfig ens33: flags=4163<UP,BROADCAST,RUNNING,MUL ...

Posted by jenniferG on Sat, 19 Jan 2019 09:18:13 -0800

Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline

Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline 0. preparation 1. Prepare the server 1.1. Disable mysqld SELinux 1.1.1. disable SELinux for mysql 1.1.2. Disable SELinux directly 1.2. Firewall settings 1.2.1 ...

Posted by fr@nkie on Wed, 09 Jan 2019 14:12:10 -0800