linux foundation week 6

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

CentOS7 installation and operation Docker

1. Confirm kernel version CentOS7 kernel is generally 3.10, which meets the installation conditions (> = 3.8) uname -r //perhaps uname -a 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 grub2-editenv list Changed to newer k ...

Posted by jameslloyd on Wed, 19 Feb 2020 06:38:38 -0800

Replace CentOS yum source under RedHat6.9

Catalog Check and delete the original yum source Download the yum source for CentOS Install RPM package yum configuration 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

Network commands in linux

write explain Command name: write Command path / usr/bin/write Execute permission: all users Function Description: send information to the user, and save with Ctrl+D grammar Write < user name > Example # Send a message to tenentity write eternity [root@izm5e2q95pbpe1hh0kkwoiz ~]# write eternity write: eternity is logged in more than o ...

Posted by pdpullmn612 on Wed, 19 Feb 2020 04:49:04 -0800

Help commands in linux

Catalog man whatis apropos --help info help man explain Command name:man Command English original meaning:manual Command path: /usr/bin/man Execution rights: all users Function description: Get help information grammar man [command or configuration file] Example #View help for ls command man ls Page Down with Space Page Up U ...

Posted by Eiolon on Tue, 18 Feb 2020 18:47:48 -0800

Introduction to yum package management

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 building configuration details (centos7)

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

Ubuntu 18 replace software source

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

Centos 7 Builds Zimbra Mail Server and foxmail Configuration

Reference resources: https://blog.csdn.net/linuxnews/article/details/51106905 Environment Configuration: Local ip:192.168.1.41 Set Host Name hostnamectl set-hostname mail.jlkj.com Add hosts 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

Under Kubernetes cluster deployment

k8s general environmental plan Environmental equipment Two master nodes, two node nodes and two node nodes are installed with nginx for load balancing, failover and floating address vip Deployment process 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