PXE+kickstart unattended installation of CentOS 7

Contents of this article: 1.1 PXE Description 1.2 PXE process 1.3 Deployment Environment Description 1.4 Deployment of DHCP services 1.5 Deployment of FTP 1.6 Provides boot loader and related configuration files for pxe 1.7 Get Linux Kernel Files from Installation Mirror 1.8 Set up boot menu and provide system installation file 1.9 Start-up Tes ...

Posted by sharp.mac on Wed, 05 Jun 2019 20:34:43 +0200

Shell Variables - Details of linux Videos

Basic concepts of variables Variable classification User-defined variables Environmental variables: These variables mainly store data related to the operating environment of the system. Location parameter variable: This variable is mainly used to transfer parameters or data to scripts. The variable name can not be customized and the function o ...

Posted by jd307 on Tue, 04 Jun 2019 03:18:42 +0200

Installation of git under centos and automatic code synchronization

Reference articles CentOS Installation Git for Multi-Person Synchronized Development GIT Server Construction and Key Connection in centos Sketch 1. Installing Git Dependency and Git on Server 2. Create Git users and their groups 3. Initialization of Git Warehouse on Server 4. Install Git Client and Generate Public Key 5. Create cert ...

Posted by imranlink on Sat, 25 May 2019 20:28:30 +0200

docker mysql master-slave replication practice (pro-test feasible)

Modify configuration mode in container 1. Assume that the reader docker has been installed on CentOS 6.5 (or other operating systems) Detected version: docker -v Docker version 1.7.1, build 786b29d/1.7.1 2. Pull out the mirror docker pull hub.c.163.com/library/mysql:5.7 # Or elsewhere docker images #See if there is a list of mirrors 3. ...

Posted by Sera on Fri, 24 May 2019 23:17:22 +0200

Ansible Series (1): Basic Configuration and Use

Contents of this article:1.1 Installation of Ansible1.2 Configure Ansible  1.2.1 Environment Configuration  1.2.2 SSH Mutual Trust Configuration  1.2.3 Simple Test1.3 inventory Ansible is a batch, automatic deployment tool, which can not only batch, but also automatically. It mainly communicates based on ssh, and does not require the c ...

Posted by cmack on Fri, 24 May 2019 00:10:30 +0200

Private customization - your own Linux

I. Preface Since the birth of the Linux operating system on October 5, 1991, many technological bulls have been interested in its open source and freedom. Every Linux enthusiast has contributed his part to it. Whether in the Linux kernel or open source software, it has provided a good learning and research environment for our future generation ...

Posted by nicholaspaul on Thu, 23 May 2019 21:18:46 +0200

Master-slave synchronization of mysql database to achieve read-write separation

In order to understand a large number of concurrent visits in large websites, it is far from enough to achieve distributed load balancing in websites. To the data business layer and data access layer, if the traditional data structure is still used, or only one server is used to handle so many database connection operations, th ...

Posted by Mr. Tech on Sun, 12 May 2019 04:31:44 +0200

Analysis of Go slice Expansion

This paper mainly makes some analysis of go slice's expansion mechanism. Environment, 64-bit centos docker image + go1.12.1. Routine operation When slice append occurs, growSlice occurs when slice cap is not enough to accommodate new elements. For example, for the following code func main() { slice1 := make([]int,1,) ...

Posted by Lee on Sun, 12 May 2019 04:11:48 +0200

Initialization of RHEL 7/CentOS 7/Fedora 28 Networking

Experiments show that: To get started with Linux, you will generally encounter the following problems: Where do I get the LInux image? How to install Linux system through mirror file? Install a physical machine or a virtual machine? How to configure the network after installing the system? How is the network configuration of virtual machines d ...

Posted by therainmaker53 on Sat, 11 May 2019 00:23:25 +0200

ifname of network interface and ifndex query of interface index under linux

Relevant function interface information: #include <net/if.h> unsigned if_nametoindex(const char *ifname); char *if_indextoname(unsigned ifindex, char *ifname); struct if_nameindex *if_nameindex(void); void if_freenameindex(struct if_nameindex *ptr); if_nametoindex(): Specifies the network interface name string as a param ...

Posted by amithn12 on Fri, 10 May 2019 23:58:15 +0200