30 classic cases of Shell Scripting

Contents of this article Download files from FTP server 22. Continuous input of 5 numbers less than 100, statistic sum, minimum and maximum 23. Assign the results to variables, respectively 24. Batch modification of file names 25. Statistics of the total number of files in the current directory ending with. html 26. Scanning host port sta ...

Posted by mihomes on Fri, 13 Sep 2019 23:01:12 -0700

[Kubernetes Series] Part 3 Kubernetes Cluster Installation and Deployment

This article describes how to deploy a highly available k8s cluster through Kubespray. The k8s version is 1.12.5. 1. Deployment Manual Code Warehouse: https://github.com/kubernetes-sigs/kubespray Reference documents: https://kubespray.io/#/ 2. k8s master machine configuration 3. Installation steps of k8s cluster Step 1: Set up Secret-Free Log ...

Posted by novice_php on Tue, 10 Sep 2019 04:34:35 -0700

_Quick Start for Git

Git is divided into 3 sections, workspace, staging area, local library(ix) Resources Additional information (concise): https://www.yiibai.com/git Other data (more complex): https://www.liaoxuefeng.com/w... Git Quick Start: https://www.bilibili.com/vide... Git Advances: https://www.bilibili.com/vide... Installation Official download: https:// ...

Posted by Rodney H. on Tue, 03 Sep 2019 15:07:52 -0700

Linux iptables and firewalld firewall

iptables The iptables service is used to process or filter traffic policy items (rules). Multiple rules can form a rule chain, which is categorized according to the location of data packet processing. Preprocessing data packets (PREROUTING) before routing; Processing incoming data packets (INPUT); Processing Outgoing Packets (OUTPUT); Proc ...

Posted by hayunna on Sun, 01 Sep 2019 07:42:55 -0700

Example of Address Camouflage and Port Forwarding Configuring firewall

Both gateway server and website server adopt centos 7 operating system. Gateway servers are equipped with three Gigabit Network cards, which are connected to Internet, intranet and website servers respectively.The requirements are as follows: The gat ...

Posted by freeloader on Sun, 01 Sep 2019 03:58:50 -0700

ss of Linux Command

What is it? ss is the abbreviation of Socket Statistics. As the name implies, the ss command can be used to obtain socket statistics, which can display content similar to netstat. But the advantage of ss is that it can display more detailed info ...

Posted by knetcozd on Thu, 29 Aug 2019 06:11:17 -0700

Regular expressions (base and extension)

grep and sed support basic regular expressions in common file processing tools on Linux systems. grep - Regularly expresses commands to filter file contents. Options: -i: case insensitive when searching; -v: reverse search, showing all columns that do not meet the search criteria; -n: Display the line number of the output; -A: You can append ...

Posted by nyfael on Fri, 23 Aug 2019 21:11:18 -0700

Ansible Profile

Profile Details Most of the configuration files are comment line default configuration items.The file follows the INI format and is divided into several categories of configurations, which are described below.Before that, take a look at where the profile is stored and how to get the profile template from the official website. Location of profi ...

Posted by Christoph09 on Fri, 23 Aug 2019 13:11:34 -0700

Paramiko Module of Python Standard Library Series

Paramiko is a Python SSHv2 protocol that provides client and server functionality. Although it uses a Python C to extend low-level encryption paramiko itself is a pure Python interface around the concept of SSH networking. Install Paramiko pip3 ins ...

Posted by gjdunga on Tue, 20 Aug 2019 00:05:42 -0700

How to use Gitee and Github on a computer at the same time?

Preface Recently, I rebuilt the system and used win10. Before that, the development environment and configuration on the computer were cleared. Because of working reasons, I need to use Gitee (code cloud) and Github frequently. I used to configure one, but I don't know how to configure two at the same time, so I have this article. Since Gitee a ...

Posted by Santonian on Mon, 19 Aug 2019 23:38:41 -0700