shell script exercises -- arrays

Problem Description: An employee's linux system has a large number of duplicate software (different versions), resulting in errors when installing software using yum. Now we need to find out the duplicate software and delete the low version software. Execute rpm-qa | sort as follows: [root@cws85 ~]# rpm -qa | sort a52dec-0.7.4-27.el7.x86_64 a ...

Posted by hammad on Tue, 10 Sep 2019 03:26:33 -0700

Linux Remote YUM Warehouse and NFS Service

Overview of YUM Software Update Mechanism Based on RPM Package Construction Automatically resolving dependencies All packages are provided by a centralized YUM software repository The Way of Providing Software Warehouse FTP service: ftp://... HTTP service: http://... Local directory: file://... Sources of RPM Packages Collection of RPM P ...

Posted by ShiloVir on Mon, 09 Sep 2019 03:24:40 -0700

Detail LVM and disk quotas in CentOS 7

LVM Logical Volume Management Overview of LVM LVM is a logical mechanism for managing disk partitions in the Linux operating system. It is a logical layer built on top of hard disks and partitions and under the file system. It shields the underlying partition layout when building a file system, so it can dynamically adjust disk capacity while ...

Posted by neave on Fri, 23 Aug 2019 13:15:34 -0700

MFS High Availability (pacemaker+corosync+vmfence+mfsmaster)

To be perfected... Articles Catalogue Experimental environment pacemaker+corosync for high availability Deployment of server1 and server4 host mfs master Serr1 and server4 configure highly available yum sources Install pacemaker+corosync on server ...

Posted by synical21 on Sat, 17 Aug 2019 07:17:34 -0700

The Way to Explore Distributed Database on ARM Platform TiDB Cluster Compiler, Installation and Deployment on Arm Platform

This article is transferred from the public number TCTP, author TCTP. Links to the original text: https://mp.weixin.qq.com/s/voEr3WId1LeOr-o4sFptPA?scene=25#wechat_redirect In 2018, our bank began an attempt based on the ARM server platform. The current TDSQL cold data are all stored in the CEPH storage cluster built on the ARM server, which ru ...

Posted by Gazan on Thu, 08 Aug 2019 20:23:43 -0700

MySQL benchmark, sysbench use

1. What is benchmarking Benchmarking, in short, is a kind of stress testing for system design. Usually the goal is to master the behavior of the system. Benchmarking can observe the behavior of the system under different pressures, assess the capacity of the system, grasp what are important changes, or ...

Posted by whatever on Mon, 05 Aug 2019 01:23:10 -0700

Centos 7 minimizes deployment of zabbix

Preface The content of the article is written by the author himself. It has been put in the word document before. Suddenly, the leisure has shifted to the blog. Follow-up viewers are welcome to have questions to discuss with me.~~~ Don't talk too much nonsense. Let's talk about the principle first.   Summary Working principle Collecting d ...

Posted by Hiro on Fri, 02 Aug 2019 04:19:21 -0700

Shell commands ls, passwd, cd, type, which, printenv, date, cal

The basic principles of Linux:1. Composed of a single-purpose applet: Combining applets to accomplish complex tasks2. Everything is a document3. Avoid capturing user interfaces as much as possible4. Save the configuration file in plain text formatGUI interface:dblclickCLI interface:Command prompt, prompt,bash(shell)#:root$: Ordinary usersComma ...

Posted by rweston002 on Wed, 31 Jul 2019 11:56:30 -0700

Package Management of CentOS System: yum

Package Management of CentOS System: yum Introduction to yum yum client /etc/yum.conf Warehouse Pointing Definition View the local yum source Usage of the yum command Command command options Display warehouse list Display package Installation package Upgrade package Check available upgrades Unloadi ...

Posted by Walle on Sun, 28 Jul 2019 00:25:14 -0700

Software package installation and uninstallation

Package Installation and Unloading 1. Three ways to install software packages 2. rpm package introduction 3. Use of RPM tools 4. Usage of Yum tools 5. yum Builds Local Warehouse 6. yum Replacement of Domestic Sources 7. Install the extended source epel 8. yum downloads rpm packages 9. yum's new instr ...

Posted by ramjai on Thu, 18 Jul 2019 22:35:40 -0700