Configuration experiment of ACL extension

I. experimental configuration and requirements The configuration requirements for establishing ACL extension on the route are as follows:1. Allow PC1 to access Linux web Services2. Allow PC2 to access the ftp service of Linux3. Prohibit PC1 and PC2 from accessing other Linux services4. Allow PC1 to access PC2 II. Deployment of experimental env ...

Added by PHPnewb_JavaAdept on Thu, 17 Oct 2019 19:39:49 +0300

Linux development infrastructure construction

Server configuration Password free login, configure public key connection Copy the local public key to the server $ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.100.80 Replace aliyum source Replace Centos-7.repo wget http://mirrors.aliyun.com/repo/Centos-7.repo # backups mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo ...

Added by bfinucan on Tue, 15 Oct 2019 19:33:14 +0300

Build python dual version environment under centos

Catalog Build python dual version environment under centos I. Installation of Python 3 1. Clear up the location of python 2. Update related packages for downloading and compiling Python 3 3. Installation of pip 4. Installing wget with pip 5. Download the source package of Python 3 with wget ...

Added by deffe on Mon, 14 Oct 2019 10:40:07 +0300

Basic Judgment of Shell Scripts

I. Conditional testing Format 1: test conditional expression Format 2: [Conditional expression] II. Document testing -d: Test if it is a directory( Directory) -e: Test the existence of a directory or file( Exist) -f: Test whether it is a file or not( File) -r: Test whether the current user has permission to read( Read) -w: ...

Added by batterdmooie on Thu, 10 Oct 2019 01:28:02 +0300

Linux Builds Its Docker Mirror Warehouse

Describes how to build docker image warehouse on your own server I. check the docker version of the host computer If the version is less than 17, you need to download a new version of docker. If your version of docker is more than 17, skip below and jump directly to the second block. docker -v 1. Update yum source yum update 2. Unload the old v ...

Added by Majes on Mon, 07 Oct 2019 08:47:22 +0300

shell project-distribution system

Distribution System-expect yum install -y expect //Automatic remote login #! /usr/bin/expect set host "192.168.133.132" set passwd "123456" spawn ssh root@$host expect { "yes/no" { send "yes\r"; exp_continue} "assword:" { send "$passwd\r" } } interact After automatic remote login, execute commands and exit #!/usr/bin/expect set user "roo ...

Added by svan_rv on Sat, 05 Oct 2019 03:26:09 +0300

2 Docker Installation and Use

Note that if docker is installed in the virtual machine, the firewall can be closed first to avoid unknown problems. install If the docker version is too low, you can list the information of the software that contains the docker field by following commands # rpm -qa | grep docker Uninstall software us ...

Added by leon77 on Fri, 04 Oct 2019 21:05:05 +0300

Deploying static websites using Apache services

Configure the website service program first Step 1: Mount the system image in the CD-ROM device into the / media/cdrom directory. [root@LinuxLehehe ~]# mkdir -p /media/cdrom [root@LinuxLehehe ~]# mount /dev/cdrom /media/cdrom mount: /dev/sr0 is write-protected, mounting read-only Step 2: Create configu ...

Added by pleigh on Tue, 01 Oct 2019 02:46:49 +0300

Deployment of svn disaster preparedness test server

Confirm OS version: [root@bogon ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) yum installation: [root@bogon ~]# yum -y install httpd mod_dav_svn subversion Installation verification: [root@bogon ~]# rpm -qa | egrep "httpd|mod_dav_svn|subversion" httpd-tools-2.4.6-89.el7.centos.1.x86_64 httpd-2.4.6-89.el7.centos.1.x86_64 subv ...

Added by xeirus on Mon, 30 Sep 2019 23:31:42 +0300

Elastic search 6.8.3 cluster building

1. Download the installation package wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.3.tar.gz After downloading, decompress. The address I decompressed is: / usr / local / elastic search 6.8.3 2. Creating Users es cannot run as root, so you need to create users adduser elastic #Create elastic users Cre ...

Added by Chief on Mon, 30 Sep 2019 15:44:53 +0300