Automatic Installation of Linux PXE + Kickstart

When installed on a large scale, it is easy to operate manually and improve efficiency by using unattended equipment. PXE Network Installation Configuration of Dual Network Cards Here, ens33 is a nat network, ens37 is a host-only network, and ens37 is configured. [root@localhost ~]# cd /etc/sysconfig/network-scripts/ [root@localhost networ ...

Posted by greedyisg00d on Mon, 07 Oct 2019 15:33:16 -0700

The use of saltstack's api

The use of api 1. Install salt-api [root@server1 ~]# Yum install-y salt-api # install API 2. Generating certificates and secret keys [root@server1~] # cd/etc/pki/tls/private/# generates certificates and private keys [root@server1 private]# openssl genrsa 2048 > localhost.key [root@server1 private]# c ...

Posted by shonuff on Mon, 07 Oct 2019 08:57:52 -0700

Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup

Summary Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup 1) Install nginx and php on web01 and web02 2) Create www users [root@web01 php]# groupadd www -g 666 [root@web01 php]# useradd www -u 666 -g 666 -s /sbin/nologin -M [root@web02 php]# groupadd www -g 666 [root@web02 php]# useradd www ...

Posted by Fusioned on Sat, 05 Oct 2019 22:57:48 -0700

Network Management

Network protocol OSI Seven-Layer Model and TCP/IP Four-Layer Model TCP Protocol and UDP Protocol TCP protocol: Transport control protocol. It is a connection-oriented protocol, which must establish a reliable connection with the other party before sending data. UDP protocol: User datagram protoco ...

Posted by kevin99 on Fri, 04 Oct 2019 12:05:10 -0700

Overview of ansible jinja2 template

Catalog Overview of ansible jinja2 template ansible jinja2 template usage Basic grammar jinja2 Template Logic Judgment ansible jinja2 manages nginx ansible jinja2 management keepalived Keeping alived original match Push the keepalived configuration file Prepare the k ...

Posted by defunct on Thu, 03 Oct 2019 09:31:31 -0700

Creating docker image warehouse with Harbor

1. Why use Harbor Harbor is open source, free software Harbor is for enterprise users Harbor has a friendly WEB management interface II. Harbor Official Resources https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md https://github.com/goharbor/harbor/releases Prerequisite 1: Installation of docker Delete the old versio ...

Posted by bennyboywonder on Wed, 02 Oct 2019 15:53:20 -0700

Building Etcd Cluster

Article directory I. About ETCD II. Stand-alone Installation 3. Building Clusters Official website: https://etcd.io/ Github: https://github.com/etcd-io/etcd/releases I. About ETCD etcd is an open source, distributed key-to-value data storage system that provides shared configuration, service ...

Posted by thorpe on Wed, 02 Oct 2019 01:58:37 -0700

05 Cases - Real-time Reading Catalog Files

Real-time reading directory files to HDFS cases Case requirements: Use flume to listen for files in the entire directory Implementation steps: 1. Create the configuration file "flume-dir-hdfsconf" touch flume-dir-hdfs.conf vim flume-dir-hdfs.conf a3.sources = r3 a3.sinks = k3 a3.c ...

Posted by daanoz on Tue, 01 Oct 2019 15:44:36 -0700

Linux Foundation Essay (About Limiting User's Single File Size and Using System mail Functions)

1. Limit the maximum file size that users can create: [root@localhost ~]# vim /etc/security/limits.conf #Edit the file # /etc/security/limits.conf lvjianzhao soft fsize 90000 #This is a soft limit. The unit is KB. lvjianzhao hard fsize 102400 #This is a hard limit. The unit is KB. ...

Posted by zahadum on Tue, 01 Oct 2019 14:29:41 -0700

Implement DNS master-slave domain, http virtual host and user

DNS Domain name resolution refers to the domain name to the IP of the website space, so that people can easily access the website through the registered domain name. IP address is the digital address that identifies the site on the network. In order to facilitate memory, domain name is used instead of IP address to identify the site address. D ...

Posted by infestedarch0n on Mon, 30 Sep 2019 23:15:36 -0700