Virtual machines? Doesn't Docker smell good
introduction
Nowadays, Docker is widely used, especially in front-line Internet companies. Using Docker technology can help enterprises expand services quickly and horizontally, so as to achieve the ability of elastic deployment of business. After the rise of the cloud service concept, the usage scenario and scope of Docker have further ...
Posted on Thu, 25 Nov 2021 16:55:21 -0500 by barbgd
ftp, nfs, samba, and inotify_of the file shareRsync Real-Time Backup
1. Implement vsftpd virtual user access based on mysql authentication
This scenario is implemented using two servers, one ftp server and one database server
1.1 Install Database
[root@c5 ~]#yum -y install mariadb-server
[root@c5 ~]#systemctl start mariadb.service
[root@c5 ~]#systemctl enable mariadb
1.2 Install vsftpd, mariadb-devel, pam-devel ...
Posted on Tue, 19 May 2020 13:38:09 -0400 by ScOrPi
Rsync+sersync for real-time data synchronization
1, Why rsync+sersync architecture?
1. sersync is developed based on inotify, similar to inotify tools.
2. sersync can record the name of a specific file or directory that has changed in the monitored directory (including adding, deleting, modifying), and only synchronize the changed file or directory ...
Posted on Sun, 01 Mar 2020 01:58:07 -0500 by k9underdog
Ffmpeg video filter fat test process introduction
Fat (FFmpeg automated testing environment) is an automated testing framework developed by FFmpeg community. It supports the testing of FFmpeg API and FFmpeg internal functions. The test of FFmpeg video filter belongs to the test of API. In order to add a fast test to a video filter, I have studied it fo ...
Posted on Sun, 23 Feb 2020 02:31:10 -0500 by eugene2008
CentOS 6.8 build hadoop cluster
CentOS 6.8 build hadoop cluster
1. Prepare a clean CentOS 6.8 virtual machine
2. Turn off the firewall
1. Temporarily close the firewall
service iptables stop
2. Turn off firewall self startup
chkconfig iptables off
3. View firewall status
service iptables status
3. Set static ip
vim /etc/sys ...
Posted on Thu, 20 Feb 2020 02:33:01 -0500 by igorek
Network Management Deployment
1. Environmental preparation
Single-machine deployment: Official recommendation for hardware requirements above 4C/16G
1 4-core 16G
2 4-core 8G
1.1: Getting packages
Visit: https://bk.tencent.com/download/
1.2: System Environment Settings
Official Recommendation: CentOS-7.0 above required, CentOS-7.5 recommended
Install some common commands ...
Posted on Mon, 17 Feb 2020 11:21:30 -0500 by ravi_aptech
Real time synchronization of lsyncd+rsync files
Reprinted from: http://seanlook.com/2015/05/06/lsyncd-synchronize-realtime/
https://blog.csdn.net/magerguo/article/details/78828625
Install rsync
yum -y install rsync
Or compile and install:
cd /usr/local/src/
wget https://download.samba.org/pub/rsync/src/rsync-3.1.3.tar.gz
tar zxvf rsync-3.1.3.tar.g ...
Posted on Sat, 04 Jan 2020 22:06:20 -0500 by dysonline
Implementation of xinetd service
First,
Before starting the xinetd service, first verify that you have xinetd installed. If the xinetd service is not installed, there are only two files in the / etc/xinetd.d / directory.
[root@localhost xinetd.d]# ls
rsync telnet.rpmsave
Install the xinetd service by entering the following command
[root@localhost xinetd. ...
Posted on Fri, 03 Jan 2020 00:43:12 -0500 by subesc
rsync common commands
-v
Details output
-z
Compress during transmission -- compress level = num can be compressed by level
-a
Archive mode transfers and maintains file properties
Equivalent to - rtopgDL
-r
Recursive mode
-t
Keep time attribute of file
-o
Keep file master
...
Posted on Wed, 01 Jan 2020 10:09:17 -0500 by Code_guy
Build rsync service
First, the environment
|Server description ip address application system|
Server description
ip address
application
system
Source server
192.168.100.100
rsync inotify tools script
red hat7
Target server
192.168.100.129
rsync
centos7
1. Deploy rsync+inotify synchronization / dxk directory to the target server / tmp/dxk ...
Posted on Mon, 30 Dec 2019 10:41:10 -0500 by MikeA