1. Self built yum warehouse, network source and local source respectively
Steps to create yum warehouse: 1) mount Centos system CD to a directory or copy network resources to a directory
2) find the repodata directory, which is located in the upper directory of yum warehouse address (network sharing is required if creating a network warehouse ...
Posted by Nay on Wed, 19 Feb 2020 07:36:39 -0800
1. Confirm kernel version
CentOS7 kernel is generally 3.10, which meets the installation conditions (> = 3.8)
2. update pack
yum unpdate -y
This process may be a little slow. If there is a higher version of kernel, it will update back to 3.10
View the current default kernel
Changed to newer k ...
Posted by jameslloyd on Wed, 19 Feb 2020 06:38:38 -0800
Check and delete the original yum source
Download the yum source for CentOS
Install RPM package
Modify yum configuration
Clean up and rebuild cache
Because red hat's Yum needs to be charged and registered before it can be used. So I want to update the yum source to ...
Posted by Bizzle on Wed, 19 Feb 2020 05:44:06 -0800
Command name: write
Command path / usr/bin/write
Execute permission: all users
Function Description: send information to the user, and save with Ctrl+D
Write < user name >
# Send a message to tenentity
[root@izm5e2q95pbpe1hh0kkwoiz ~]# write eternity
write: eternity is logged in more than o ...
Posted by pdpullmn612 on Wed, 19 Feb 2020 04:49:04 -0800
Command English original meaning:manual
Command path: /usr/bin/man
Execution rights: all users
Function description: Get help information
man [command or configuration file]
#View help for ls command
Page Down with Space
Posted by Eiolon on Tue, 18 Feb 2020 18:47:48 -0800
rpm can realize fast and simple installation of programs (compared with compilation and installation), but rpm can't solve dependency by itself, so many tools come into being to solve dependency automatically, among which yum is one of them.
yum solution to dependency:
There must be a file server where all the rpm packages and the package rel ...
Posted by jiggens on Sat, 15 Feb 2020 18:47:48 -0800
Graylog build configuration (centos7)
1, Basic environment
1. jdk environment required:
[root@iz2zee3zwuvnmai605c99vz ~]# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
//If not, you need to install it. He ...
Posted by thepreacher on Sat, 15 Feb 2020 07:29:27 -0800
In Centos/RHEL system, the file to configure the yum warehouse is the. Repo file under the directory / etc/yum.repo.d /. In Ubuntu system, it is the / etc/apt/sources.list file
The first element of configuring system files is to back up files. Generally, system files are kb level files, which don't oc ...
Posted by iPixel on Tue, 11 Feb 2020 07:46:19 -0800
Reference resources: https://blog.csdn.net/linuxnews/article/details/51106905
Set Host Name
hostnamectl set-hostname mail.jlkj.com
echo "192.168.1.41 mail.jlkj.com" >> /etc/hosts
Turn off the firewall:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/ ...
Posted by dv6cougar on Mon, 10 Feb 2020 08:21:33 -0800
k8s general environmental plan
Two master nodes, two node nodes and two node nodes are installed with nginx for load balancing, failover and floating address vip
Turn off firewall and security functions
systemctl stop firewalld.servicesetenforce 0
Copy the kubernetes directory to master2 (last exp ...
Posted by pullaratt on Mon, 10 Feb 2020 04:32:39 -0800