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

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

Notes: Docker, Dockerfile Foundation

Article directory Basic concepts of Docker Docker installation Frequently used commands Container operation example Docker mirror image Docker container data volume Dockerfile Dockerfile architecture (reserved word instruction) Example of Docker installing mysql Push the local image to alicloud ...

Posted by kanenas.net on Wed, 19 Feb 2020 02:27:08 -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

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

Five ways to modify hostname in CentOS7

Reprinted from: https://blog.csdn.net/liumiaocn/article/details/103170673 Narration This article is used to introduce the five setting methods of hostname under CentOS 7. Although many methods can be used on different distributions of Linux, they are not verified in this article. Confirm hostname ...

Posted by intercampus on Mon, 10 Feb 2020 05:13:27 -0800

Using linux kernel +busybox to customize linux system

Objective: Understanding the linux startup process Main contents: Grub is the bootloader of the boot program 2. linux kernel is the open source kernel of linux 3.busybox is a collection of linux tools Start sequence: Grub - > bzimage > initrd > init > chroot SBIN / init > / etc / inittab > fstab > etc / init.d/rcs Experimen ...

Posted by dschreck on Sun, 09 Feb 2020 20:05:55 -0800

A single device completes the construction of master-slave mysql quickly based on the data volume of 63G

1, Description of demonstration project: A single physical machine uses xtrabackup to back up 63G mysql data online to create a new slave database.The purpose of the demonstration is to record the test database data of 63G used on a single physical server, and then quickly create a slave database on the local machine, about how long it will ta ...

Posted by xjake88x on Sat, 08 Feb 2020 03:23:55 -0800

Ansible installation and module management (the most complete operation, can follow

1, Ansible installation Environmental preparation Management end: CentOS 7-2 192.168.18.147Managed end 1: CentOS 7-3 192.168.18.128Managed end 2: CentOS 7-4 192.168.18.148 Management side: [root@localhost ~]# systemctl stop firewalld.service [root@localhost ~]# setenforce 0 [root@localhost ~]# yum install epel-release -y [root@localhost ~]# ...

Posted by santhosh_89 on Mon, 03 Feb 2020 07:34:46 -0800

Configure Linux Cluster time synchronization (ntp)

Environmental Science:Now there are three virtual machines of CentOS 7, namely, Hadoop 102, Hadoop 103 and Hadoop 104. Now configure ntp service (central server) on Hadoop 102. Hadoop 103 and 104 pull the time on Hadoop 102 respectively 1. Check whether ntp is installed (check and install all 3 sets, ...

Posted by shaoen01 on Thu, 30 Jan 2020 08:16:00 -0800