Linux file and directory management command base

1. Directory structure Everything starts from the root '/', which is the vertex of all directories 2. Relationship between partition and directory One by one correspondence between partition and directory in Windows Directories and partitions in Linux are separate. Different disks are represented by letters Different zones are represented by ...

Posted by jeevan_y21 on Mon, 06 Apr 2020 12:49:00 +0200

DevOps tool chain (2) - the latest version of git for CentOS 7.4 source installation

Software versions: Operating system: CentOS 7.4 Git: 2.17.0 System user: root 1. Installation environment # Install gcc [root@localhost bin]# yum install gcc # Install gcc-c + + (not sure if it is not necessary) [root@localhost bin]# yum install gcc-c++ # Install packages required for com ...

Posted by rochakchauhan on Sat, 04 Apr 2020 07:20:18 +0200

Apache configures multi domain or multi port mapping

Apache configures multi domain or multi port mapping under CentOS Under CentOS, the root directory of Apache's default website is / var/www/html. If I save a CI project in the html folder by default, and the server's Internet IP is ExampleIp, because the MVC framework is used, Apache needs to enable the redirection function. ...

Posted by chadtimothy23 on Fri, 03 Apr 2020 19:43:37 +0200

EMQ server problem handling and analysis

Problem description Restart EMQ by operating back and forth on a server. During cluster and exit cluster operations, the following errors are reported in the log. EMQ uses rpm command to install, but it can't locate relevant problems. 2018-04-27 10:13:02.032 [error] <0.1274.0> Supervisor emqttd_sup had child emqttd_bro ...

Posted by just_nobody on Sun, 29 Mar 2020 20:09:36 +0200

Cold and hot state migration of kvm

KVM Migration Static Migration (Cold Migration)For static migration, you can save a snapshot of the completed client image on the host, shut down or pause the client in the host, copy the client's image file to another host, and start the copied image using the command when the client is started in the source host. Dynamic Migration (Thermal M ...

Posted by bobdabuilder on Tue, 24 Mar 2020 23:35:50 +0100

docker container, network deployment

Deploy centos7 container applications Mirror download: [root@yixuan ~]# docker pull daocloud.io/library/centos:7 systemd Integration: Because SYSTEMd requires CAPSYSADMIN permission, which gives it the ability to read to the host cgroup, SYSTEMd has been replaced with fakesystemd in CentOS7.However, ...

Posted by maddog720 on Sat, 14 Mar 2020 01:33:06 +0100

Dockerfile Common Instructions Details & Mirror Cache Features

Introduction to Dockerfile Dockerfile is the configuration file used in Docker to define the mirroring automation build process.In the Dockerfile, there are commands and other operations that need to be performed during the construction of the image.Dockerfile can make the process of making a given Docker image clearer and clearer. Because it ...

Posted by AndrewJ1313 on Wed, 19 Feb 2020 20:03:56 +0100

Use nmcli to configure link aggregation (team port binding) in active and standby mode

Now let's configure the network card binding in CentOS 7 and run the ip link command to view the available network cards [root@localhost ~]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:0 ...

Posted by Bomas on Mon, 17 Feb 2020 06:52:07 +0100

centos7 ping domain name is not available (unable to download)

Specific settings 1. First, set the network connection mode of virtual machine and host computer to NAT mode 2. It is very important to modify that the network of the virtual machine is in the same network segment as the intranet segment of the host computer (in the same LAN), otherwise, you cannot connect centos through the s ...

Posted by Nexus10 on Sat, 15 Feb 2020 19:28:29 +0100

Introduction to rpm package management

API: application program interface ABI: application binary interface The ABI file of linux system is in ELF format The ABI file of windows system is in the form of exe and msi System level development language: c/c++ Works: httpd, vsftpd, nginx Application level development: java/python/php java works: hadoop, hbase python works: openstack It's ...

Posted by dekeb55 on Sat, 15 Feb 2020 11:28:04 +0100