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

Installation of Docker in Centos8 of container technology

Installation of Docker in Centos8 of container technology 1, Docker introduction Docker Manual: https://docs.docker.com/install/linux/docker-ce/centos/ Docker is an open source / 246339) application container engine, which allows developers to package their applications and dependency packages into ...

Posted by noiseusse on Tue, 28 Jan 2020 02:15:11 -0800

CentOS 7.6 builds nginx 1.16.1 and uses the upstream check module

Environmental description: host name Operating system version ip nginx version httpd version Remarks nginx Centos 7.6.1810 172.27.34.41 1.16.1 / nginx server web01 Centos 7.6.1810 172.27.34.161 / 2.4.6 web server web02 Centos 7.6.1810 172.27.34.162 / 2.4.6 web server web03 Centos 7.6.1810 172.27.34.163 / 2.4.6 web server 1, Brief ...

Posted by jungalist on Wed, 22 Jan 2020 07:36:22 -0800

Note: docker installs redis

search [root@lrz ~]# docker search redis NAME DESCRIPTION STARS OFFICIAL AUTOMATED redis Redis is an open source key-value store that... 7733 [OK] bitnami/redis ...

Posted by Clintonio on Mon, 20 Jan 2020 06:48:04 -0800

How a case deploys a python project to a linux server

[External chain picture transfer failed, source station may have anti-theft chain mechanism, it is recommended to save the picture and upload it directly (img-6ljXK6PO-1579487161655). (]) 1. Case Background Write a script with Python and deploy it to a server in Linux environment. Since the server li ...

Posted by MadnessRed on Sun, 19 Jan 2020 18:37:50 -0800