Construction and use of REDHAT YUM local source
Generally, there are two types of yum sources: local yum source and local network yum source. The former provides installation package through file, and the latter downloads installation package through network;
Because the yum source of RedHat 7.3 needs to be registered for payment, it often fails to download the yum source i ...
Added by pastet89 on Sat, 04 Jan 2020 08:12:55 +0200
centos7 system configuration system user's google authentication based on ssh
Recently, all kinds of servers have been intruded, so in terms of security, we should pay great attention to it. We hereby record that we can use google's authentication plug-in to obtain dynamic authentication code to complete ssh login.
OS:
centos7
Installation configuration:
1. Install epel source
yum -y install epel-release
2. ...
Added by peaforabrain on Fri, 03 Jan 2020 08:12:05 +0200
hubot + rocket configuration document
1. Install hubot
1.1 install node.js and npm
yum install -y nodejs npm
npm install -g inherits n
yum install -y curl
1.2 install yo generator hub
npm install -g yo generator-hubot
npm install coffee-script -save
//The following packages are optional:
npm install hubot-test-helper --save-dev
npm install expect.js
npm ...
Added by agoni on Fri, 03 Jan 2020 03:14:46 +0200
Docker installation and deployment
1, Install docker
Environment: YUM source for rhel7.3
[root@18 docker]# yum install docker-engine-17.03.1.ce-1.el7.centos.x86_64.rpm -y
[root@18 docker]# yum install docker-engine-selinux-17.03.1.ce-1.el7.centos.noarch.rpm -y
[root@18 docker]# systemctl start docker.service
##View docker version
[root@18 docker]# docke ...
Added by alconebay on Wed, 01 Jan 2020 03:48:56 +0200
REDHAT 7 local source and yum network source configuration
Local yum source configuration
In our newly installed REDHAT 7 system, there is no configuration source. In order to save space and improve the operation efficiency, many packages are not installed. When we find that there are missing packages, we need to install them by ourselves. The installation needs to use the yum source. ...
Added by sledge4 on Tue, 31 Dec 2019 17:35:47 +0200
centos7 modify yum source
Modify the default yum source of CentOS to mirrors.163.com
1. First, back up the yum source configuration file / etc/yum.repos.d/CentOS-Base.repo
[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2. Enter the folder where the yum source configuration file is located
[root@localhost ~]# ...
Added by aod on Thu, 26 Dec 2019 16:13:45 +0200
Getting started with Nginx error page redirection (Nginx installed from yum)
1. Environment: Nginx installed from yum.
2. Scenario: redirect the error prompt page of Nginx.
3. Configuration file / etc/nginx/conf.d/default.conf
tip: why is this configuration file? Because include /etc/nginx/conf.d/*.conf is loaded in the nginx.conf file;
4. default.conf source code:
server {
listen 80;
serve ...
Added by southofsomewhere on Tue, 24 Dec 2019 23:04:12 +0200
Squid Advancement - Use of acl + Log Analysis + Reverse Proxy
Main points:
1. Use of ACL in Squid
II. Log Analysis
3. Reverse Proxy
1. Use of ACL in Squid
(1) ACL access control methods:
1. List of definitions based on source address, destination URL, file type, etc.
acl List Name List Type List Content...
2. Restrict the list of defined ACLS
http_access allow or deny list name...
(2) ACL rule priority ...
Added by saltedm8 on Tue, 24 Dec 2019 22:47:44 +0200
KVM virtualization basic deployment
KVM virtual machine:
1.KVM is the abbreviation of kernel based virtual machine. It is an open source system virtualization module. It has been integrated into various major Linux distributions since Linux 2.6.20. It uses Linux's own scheduler for management, so compared with Xen, its core source code is very few. KVM has become one of the mai ...
Added by crackfox on Mon, 23 Dec 2019 12:46:34 +0200
MongoDB Foundation Installation (Actual Deployment)
MongoDB Basic Installation
Overview of MongoDB
(1) MongoDB is a database based on distributed file storage.Written in C++.Designed to provide scalable high performance data storage solutions for WEB applications.
(2) MongoDB is a product between relational and non-relational databases, which is the most rich and similar to relational databases ...
Added by ehhwan on Sun, 22 Dec 2019 22:15:13 +0200