centos7 local yum configuration and use

1. Mount system CD 2. Mount the CD to make the rpm package in the CD available Create CD mount point directory [root@localhost ~]# mkdir /mount Mount CD [root@localhost ~]# mount /dev/cdrom /mount mount: /dev/sr0 is write-protected, mounting read-only After mounting, you can see the Packages directory of the rpm package in th ...

Posted by Terrum on Sun, 26 Apr 2020 16:23:32 +0200

linux under software is too laggy? How to configure domestic image source

Ubuntu 18.04 configure domestic image source Modify profile Manual change Open / etc/apt/sources.list with a familiar editor, such as vi /etc/apt/sources.list Take ubuntu 18.04(bionic) as an example to copy and replace all contents in sources.list( Use Alibaba cloud image): deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted univ ...

Posted by San_John on Mon, 13 Apr 2020 17:08:27 +0200

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

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

OpenVPN Installation Configuration

1. Introduction Definition OpenVPN is a software package for creating virtual private network encryption channels, originally written by James Yonan.OpenVPN allows created VPNs to authenticate using public keys, electronic certificates, or user names/passwords. It makes extensive use of the SSLv3/TLSv1 protocol function library in the Ope ...

Posted by rmelino on Sat, 21 Mar 2020 05:45:34 +0100

Dockerfile Use Tutorial

1. What is a Dockerfile Dockerfile is a description file for creating a custom Docker image. We can write an instruction in the Dockerfile to control what the image needs to do. The instructions in the Dockerfile are detailed below. 2. Four Functional Partitions of Dockerfile 1. Basic Mirroring Declare the base image for a custom image F ...

Posted by Andy82 on Fri, 20 Mar 2020 20:46:03 +0100

HAproxy load balancing (Health Detection for back end)

Because there is a. spec file in the haproxy package, we can use the rpm command to build the ha rpm package ourselves: 53 yum install rpm-build -y 57 rpmbuild -tb /usr/src/haproxy-1.7.3.tar.gz 58 yum install pcre-devel -y 59 rpmbuild -tb /usr/src/haproxy-1.7.3.tar.gz 60 yum install gcc -y 61 rpmbu ...

Posted by peteraub on Wed, 18 Mar 2020 16:10:26 +0100

linux entry series 16 -- Samba and NFS of file sharing

The previous article "linux introduction series 15 - vsftp services for file transfer" explained file transfer, and this article continues to explain the knowledge of file sharing. File sharing is very common in life and work. For example, different members of the same team need to maintain th ...

Posted by Ammar on Mon, 02 Mar 2020 05:31:31 +0100

jenkins continuous integration tool use-01. Environment installation (centos7)

1. Installation dependency 1.1 install jdk # View the installable version of jdk yum -y list java* # Select the required version to install yum install -y java-1.8.0-openjdk-devel.x86_64 # View version information java -version # View installation location which java 1.2 install git # Install git ...

Posted by jofield on Thu, 27 Feb 2020 03:23:12 +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