File transfer between Windows and Linux rz\sz

Main contents: 1. Lrzsz installation; 2. Application; The SecurityCRT telnet\ssh installed on win7 logs in to VMware Fedora 9. When transferring files, SSH is installed to upload and download files. Today, Maizi told me that there are commands that can be used directly. It used to be rz and sz. Let's sort them out.   I. ins ...

Posted by miltonos on Thu, 05 Dec 2019 04:58:07 -0800

centos7 installation and configuration of rsync and problems encountered

install Server side Install software: yum -y install rsync To create a directory to synchronize: mkdir -p /data Edit the configuration file: vim /etc/rsyncd.conf motd file = /etc/rsyncd.motd transfer logging = yes log file = /var/log/rsyncd.log #Log storage path port = 873 #Port number address = 192.168.0.37 #IP address uid = root #User ...

Posted by Pie on Tue, 03 Dec 2019 21:25:11 -0800

MySQL - mmm high availability (practice!)

Advantages and disadvantages of MySQL-MMM: Advantages: high availability, good scalability, automatic failover, for primary and primary synchronization, only one database write operation is provided at the same time to ensure data consistency. Disadvantages: the Monitor node is a single point, which can be combined with Keepalived to achieve ...

Posted by jozard on Tue, 03 Dec 2019 07:33:34 -0800

docker private warehouse Harbor

I. download and installation of relevant software #Docker installation wget  -O /etc/yum.repos.d/docker-ce.repo   https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo y ...

Posted by jerdo on Tue, 03 Dec 2019 02:07:06 -0800

Recovery of deleted linux files by mistake

Under Linux, the file is deleted by mistake. Use extundelete to restore the test process extundelete download address: https://pkgs.org/download/extundelete Add a disk to the virtual host, which is / dev/sdb [root@localhost bin]# cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: VMware Model: Virtual d ...

Posted by Push Eject on Mon, 02 Dec 2019 18:59:15 -0800

Install Python 3.7.1 under CentOS 7

Currently, Python 2 is installed by default in the latest CentOS 7.3, and Python 3 installation package is not provided in the default official yum source. Recently, we need to install awscli on the machine. We need python2.6.5 + or python3.3 +. I install python3 through source compilation.My machine version: cat /etc/redhat-release #CentOS Lin ...

Posted by vierme on Mon, 02 Dec 2019 13:17:24 -0800

Centos 7.6 configuring nginx reverse proxy load balancing cluster

I. Introduction to the experiment Three centos7 virtual machines are used to build a simple nginx reverse proxy load cluster, Address and function introduction of three virtual machines 192.168.2.76 nginx load balancer 192.168.2.82 web01 server 192.168.2.78 web 02 server 2. Install nginx software (the following three virtual machines should be ...

Posted by dr_overload on Mon, 02 Dec 2019 10:34:12 -0800

Centos7 compiles and installs nginx and sets the reverse agent

I. compile and deploy Nginx 1.12 Installation configuration: [root@localhost ~]# groupadd nginx [root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx [root@localhost ~]# systemctl stop firewalld [root@localhost ~]# systemctl disable firewalld #Turn off selinux #Server file descriptors, etc [root@localhost ~]# yum install gcc gcc-c++ ...

Posted by MCP on Mon, 02 Dec 2019 10:13:31 -0800

Installing MySQL-5.7.24 based on general binary mode

1. Ensure that there is a dependent libaio software in the system. Use the following command [root@localhost ~]# yum -y install libaio [root@localhost ~]# rpm -q libaio libaio-0.3.109-13.el7.x86_64 2. Use wget command to download mysql-5.7.24 package [root@localhost ~]# wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.24-linux-glibc2.12 ...

Posted by mvleus on Sun, 01 Dec 2019 13:10:31 -0800

LNMP + haproxy + preserved load balancing - basic service preparation

Log service Modify the log service configuration and restart the log service; vim /etc/rsyslog.conf Edit the system log configuration to specify the included profile path and rules: $IncludeConfig /etc/rsyslog.d/*.conf Create a separate configuration file for haproxy; vim /etc/rsyslog.d/haproxy.conf Edit the configuration file as follows: ...

Posted by nadz on Sun, 01 Dec 2019 13:03:36 -0800