How to Restore the Misdeleted tree Command

Examine the usage of RPM and yum 1. Delete the tree command, the tree command is not available [root@centos7 ~]# which tree /usr/bin/tree [root@centos7 ~]# rm -f /usr/bin/tree [root@centos7 ~]# tree . bash: tree: command not found... 2. Direct yum or rpm installation will prompt tree to be installed [root@centos7 ~]# yum install tree Loaded ...

Posted on Fri, 11 Oct 2019 13:55:15 -0700 by Double_M

System Error Removal in Linux

1. Hard Disk Boot Phase Simulated problem: dd if=/dev/zero of=/dev/vda bs=446 count=1 chroot /mnt/sysimage grub2-install The hard disk where the boot partition is located grub2-install /dev/vda exit exit 2. File boot phase 1. Loss of boot file Simulation problem: rm-fr/boot/grub2/grub.cfg When the ...

Posted on Thu, 10 Oct 2019 07:50:54 -0700 by luv2sd

Detail mycat+haproxy+keepalived to build high availability load balancing mysql Cluster

Summary Nowadays, clustering is widely used to optimize database performance, while oracle cluster is expensive to invest in software and hardware. mysql is more recommended to use mycat to build database cluster. Here is how to use mycat+haproxy+keepalived to build a high available load balancing system belonging to mysql database. Main id ...

Posted on Wed, 09 Oct 2019 11:31:24 -0700 by smarty_pockets

RPM Installation of Oracle 19c on OL7.6

Setting Host Name [root@localhost ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.0.0.11 study1.localdomain study1 [root@localhost ~]# cat /etc/hostname study1.localdomain Installation Environment Preparatory To ...

Posted on Thu, 03 Oct 2019 04:02:11 -0700 by netdog

Rsync Service Deployment and Detailed Parameters

Rsync introduction Rsync is an open source, fast, multi-functional, full and incremental local or remote data synchronous backup tool. Rsync software is suitable for unix/linux/windows and other operating system platforms. Traditional scp and cp tool copies are complete every time, while Rsync has incremental copy function besides complete co ...

Posted on Wed, 25 Sep 2019 22:43:13 -0700 by shmoo525

Record a Centos7 Building Puppet Cluster

I. Basic Information Description Official website: https://puppet.com/ epel source download address: https://fedoraproject.org/wiki/EPEL/zh-cn Installation package download address: http://downloads.puppetlabs.com/puppet/ GitHub: https://gith ...

Posted on Tue, 17 Sep 2019 20:10:24 -0700 by Matt Kindig

Five Basic Models + Advanced Features of RabbitMQ

I. Installation 1.linux Download three rpm files and upload: elrang,scoat,rabbitmq-server Installation: rpm -ivh erlang-19.0.4-1.el7.centos.x86_64.rpm rpm -ivh socat-1.7.3.2-1.1.el7.x86_64.rpm --force --nodeps rpm -ivh rabbitmq-server-3.6.6- ...

Posted on Thu, 29 Aug 2019 21:25:29 -0700 by dandare

Install cdh5.15 in centos7

cdh build1. Software preparation Software Edition os Centos 7.3(64 bit) cm cloudera-manager-centos7-cm5.15.0_x86_64.tar.gz cdh CDH-5.15.0-1.cdh5.15.0.p0.21-el7.parcel & CDH-5.15.0-1.cdh5.15.0.p0.21-el7.parcel.sha1 & manifest.json mysql mysql-community-common-5.7.27-1.el7.x86_64.rpm & mysql-community-libs-5.7.27-1.el7.x86 ...

Posted on Wed, 28 Aug 2019 17:13:46 -0700 by TechGuru

Installation of MySQL 5.7 series of tutorials

Architecture MySQL Installation Explain: 1. This document is based on linux (CentOS6, CentOS7) system only. 2. Use version MySQL 5.7.20 3. Refer to the official document https://dev.mysql.com/doc/refman/5.7/en./ Preparing for Planning Note: 1. ...

Posted on Tue, 13 Aug 2019 05:50:30 -0700 by micaudwell

linux Text Processing sed, Package Management, Disk Storage and File System

1. Base name and document name [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\1@' /etc/sysconfig/ [root@centos7 scripts38]#echo /etc/sysconfig/network-scripts/ |sed -r 's@(^/.*/)([^/]+)/?$@\2@' network-scripts 2. Modify the network to eth0 [root@centos7 scripts38]#sed -ri '/^[[:space:]]+linux16/s@( ...

Posted on Sat, 10 Aug 2019 01:13:39 -0700 by s_bastian