Xie Baoyou: Teach you to send patch es to the Linux kernel by hand

Brief introductionThis article shows step by step how to generate a simple Linux kernel patch and submit it it to the Linux community. To show the steps for submitting patches to the community. English name of this article: "Submit Patches Step by Step" Author brief introductionXie Baoyou, who has worked on the programming front line ...

Posted by pspeakman on Mon, 14 Oct 2019 19:14:21 -0700

Application of YUM Source Configuration and Related Problems under Centos

yum source configuration is often used in work, especially when installing databases, it is time-consuming to install dependency packages one by one, so it is enough to configure yum installation directly. 1. yum configuration instructions (reprinted in this section) The configuration file for yum is divided into two parts: main and repositor ...

Posted by zimmo on Mon, 14 Oct 2019 17:46:04 -0700

Shell Programming Regular Expressions

This article focuses on the use of regular expressions in shell scripts. Summary Regular expressions are divided into basic Regular Expression and Extended Regular Expression. It is not a tool program, but a standard basis for string processing. It uses a single string to search and match a series of strings that conform to a certain grammati ...

Posted by cfemocha on Mon, 14 Oct 2019 17:45:41 -0700

lamp comprehensive small experiment

< font color = Red > No reprinting, no handling </font > Problems encountered: First, the browser can not open blog.jd.com: DNS has been configured, the ultimate reason: this graphical CentOS7 uses dncp to obtain ip, DNS also access the gateway; Solution: Fixed IP, set DNS manually, and confirm / etc/reslov.conf Two, NFS permissi ...

Posted by Cut on Mon, 14 Oct 2019 10:11:20 -0700

Introduction to Python selenium usage

# Edition python==3.7.3 selenium==4.0.0a1 # selenium pypi address https://pypi.org/project/selenium/ Catalog:I. Initialization2. Element Search3. select Label Operation4. Executing js scripts5. iframe operation6. Action and Action ChainVII. Abnormal handlingVIII. Withdrawal Procedure I. Initialization from selenium import webdriver fr ...

Posted by greenie__ on Mon, 14 Oct 2019 09:11:13 -0700

python Reading of LMDB Files

This paper introduces python's method of reading and writing LMDB files in detail. The full name of LMDB is Lightning Memory-Mapped Database (lightning-fast memory mapping database). Its file structure is simple, including a data file and a lock file: LMDB files can be opened by multiple processes at th ...

Posted by ecco on Mon, 14 Oct 2019 07:23:57 -0700

k8s data storage

How Kubernetes manages storage resources. First we will learn about Volume and how Kubernetes provides storage for containers in clusters through Volume; then we will practice several commonly used Volume types and understand their respective application scenarios; finally, we will discuss how Kubernetes separates cluster administrators from c ...

Posted by mbeals on Mon, 14 Oct 2019 06:14:07 -0700

MySQL database master-slave synchronization process

Following up the following article: Backup database for introduction to MySQL database Installation environment instructions System environment: [root@~]# cat /etc/redhat-release CentOS release 6.5 (Final) [root@~]# uname -r 2.6.32-431.el6.x86_64 Database: Because it is a simulated environment, the master and slave libraries are on the same se ...

Posted by likethegoddess on Sun, 13 Oct 2019 20:22:25 -0700

Awk of shell three swordsmen (including sort sorting and uniq tools)

awk of shell three swordsmen In Linux/UNIX system, awk is a powerful editing tool. It reads input text line by line, searches according to the specified matching mode, formats and outputs qualified content or filters it. It can realize quite complex text operation without interaction. It is widely used in Shell scripts to complete various aut ...

Posted by nick5449 on Sun, 13 Oct 2019 19:14:11 -0700

Shell Programming case Multi-Branch Statement, Loop Statement (for, while, etc.), Shell Function, Shell Array

case multi-branch statement The structure of case statement: Execute different command lines for different values of variables case variable value in Mode 1) Command Sequence 1 ;; Mode 2) Command Sequence 2 ;; ..... *) Default command sequence esac Example: Character type recognition: Prompt the user to enter a character ...

Posted by merrydown on Sun, 13 Oct 2019 18:14:14 -0700