Docker - Cgroup Resource Limitation

Docker Cgroup Resource Configuration Method Cgroup is a mechanism provided by the Linux kernel to limit, record, and isolate the physical resources used by process groups Docker uses Cgroup to control the resource quotas used by containers, including cpu, memory, and disk. Docker basically covers common resource quotas and usage control Cgroup ...

Posted on Thu, 09 Jan 2020 20:50:18 -0500 by brax23

CentOS7 installation configuration redis

Introduction Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware. It supports many types of data structures, such as strings, Hashes (hashes), lists, Sets (sets), sorted sets And scope query bitmaps, hyperloglogs Sum geospatial Index radius query. R ...

Posted on Mon, 06 Jan 2020 00:06:16 -0500 by MmmVomit

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

How to install blue whale's fta when ssh is not the default 22 port?

How to install blue whale's fta when ssh is not the default 22 port? How to install blue whale's fta? q. Prerequisite knowledge: This article is based on how to install blue whale's bkdata when ssh is not the default 22 port? "https://blog.csdn.net/haoding205/article/details/82775871 1. introduction: In the above, we ...

Posted on Sun, 29 Dec 2019 10:23:08 -0500 by darkshine

View installed packages from yum

How to use yum to check which packages are installed under linux List all installed packages yum list installed yum common commands for package operations: 1. Use yum to find the packageCommand: yum search2. List all installable packagesCommand: yum list3. List all updatable packagesCommand: yum list updates4. List all installed packagesCom ...

Posted on Tue, 17 Dec 2019 09:36:52 -0500 by codects

OpenVPN linux client installation and use

Without much nonsense, use CentOS to start the installation directly. Installation software Install openssl and lzo, lzo is used to compress communication data and speed up transmission yum -y install openssl openssl-devel yum -y install lzo Install the third-party epel source so that openvpn can be installed. The official CentOS source does no ...

Posted on Sun, 01 Dec 2019 01:29:52 -0500 by martor

18 classic practical cases of awk

introduce These cases are collected by me. Most of them are of my own experience. Some of them are classic and some of them are representative. I also recorded videos of these awk cases 18 classic practical cases of awk Welcome to have a look. Insert several new fields Insert three fields e f g after b of "a b c d". echo a b c d|awk ' ...

Posted on Wed, 27 Nov 2019 05:12:31 -0500 by leeandrew

redis yum installation configuration redis master slave

1. Installationyum install epel-release.noarch -yyum install redis -y 2. Configure master-slaveMain:Vim/etc/redis.conf #Modify Configuration Filebind 10.1.1.111 #Modify listening IPrequirepass 233233 #Add Password From:Vim/etc/redis.conf #Modify Configuration FileBid 10.1.1.112 #Modify Listening IPslaveof 10.1.1.111 6379 #Specify the primary i ...

Posted on Sun, 24 Nov 2019 11:38:45 -0500 by josaho

Remote Log Collection in Linux System

A normal service Linux server produces a lot of log information every moment. If there are dozens or even hundreds of servers in the production environment, it is very troublesome to check the system logs one by one. Today, with the continuous updating of technology, there are many technologies that can centralize the management of logs. The m ...

Posted on Thu, 19 Sep 2019 05:12:55 -0400 by 8ennett

linux View Network Card Traffic Method

Use of the watch command   Watch is a very useful command. Basically all Linux distributions come with this gadget. Like the name, watch can help you monitor the results of a command and save you from running it manually over and over again. Under Linux, watch is the next program that executes periodically and displays the results on ...

Posted on Fri, 05 Jul 2019 14:52:47 -0400 by danelkayam