1. Installation services:
[root@server1 yum.repos.d]# yum install salt-master-*
[root@server1 salt]# ls
cloud cloud.maps.d master minion.d proxy.d
cloud.conf.d cloud.profiles.d master.d pki roster
cloud.deploy.d cloud.providers.d minion proxy
[root@server1 salt]# /etc/init.d/salt ...
Posted by Mark.P.W on Wed, 01 Jan 2020 17:04:35 -0800
psutil introduction psutil is a cross platform library( http://code.google.com/p/psutil/ )It can easily obtain the process and system utilization (including CPU, memory, disk, network, etc.) information of the system. It is mainly used in system monitoring, analysis and limitation of system resources and process management. It implements the ...
Posted by interrupt on Wed, 04 Dec 2019 11:32:29 -0800
Containers are great for encapsulating software, but sometimes you can go too far by blindly altering the container image to make it as small as possible. We need to find a good balance between "clean" images and images that cannot be debugged.
The normal way to see people debugging a running container is to docker exec - it $containe ...
Posted by jolinar on Sat, 19 Oct 2019 04:23:48 -0700
System: CentOS 6.5 minimal version
Host: Virtual Machine
Virtual Machine IP: 192.168.128.128/24
Note: CentOS 7 has actually replaced sendmail with postfix+Sasl2, so there is no need to install it.
1. Remove sendmail
Installation completed also requires replacing the sendmail that ...
Posted by DaveTomneyUK on Wed, 17 Jul 2019 15:05:14 -0700
When Swoole Meets ThinkPHP5: Hello,World!
This article assumes that you already have a PHP environment for the Linux operating system. It is highly recommended that you use Vagrant to build a development environment.
Install Swoole PECL Extension
Swoole can be installed either by pecl command or by compiling and installing source packages. Thi ...
Posted by flaab on Tue, 16 Jul 2019 10:51:08 -0700
Our program needs to pull files from the file server (across the computer room).
The machines running the program are telecommunications, interconnection and mobile lines, and three IP lines are assumed to be
01_DX_IP, 01_LT_IP, 01_YD_IP
File servers are also telecommunications, unicom, Mobile 3 lines, 3 IP
02_DX_IP, 02_LT_IP, 02_ ...
Posted by dirgeshp on Fri, 14 Jun 2019 18:19:54 -0700
This time I'm talking about something about the external command grep on the bash command line.
grep was originally used for Unix Operating system command line Tools. In giving a list of files or Standard input Later, grep matches one or more regular expression Text is searched and only matched (or mismatched) lines or text are outpu ...
Posted by Sealr0x on Wed, 15 May 2019 14:35:04 -0700
*** Documents can not be uninstalled
[root@gfsd1 mnt]# umount 20170228_Mustang_V5R1_SP1/
umount: /mnt/20170228_Mustang_V5R1_SP1: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
*** Find the processes and commands that use this file, a ...
Posted by jbruns on Sat, 20 Apr 2019 12:15:34 -0700
Redis Learning Notes (1)
Redis is an open source, high performance, key-value-pair-based caching and storage system. Redis is the abbreviation of REmote DIctionary Server.
1. Download and install
wget http://download.redis.io/redis-stable.tar.gz//download, copy to/usr/local
tar -xzvf redis-stable.tar.gz //decompression
cd redis-stable / ...
Posted by iceman2g on Fri, 12 Apr 2019 09:57:33 -0700
Write an article the other day using pnp4nagios draws for Nagios The article later found that some script images can not be drawn, the following to propose solutions.
Reasons for error:
This situation is mostly caused by the Nagios plug-ins written by ourselves. The pnp4nagios drawing must follow the specific information ...
Posted by littlejay on Tue, 12 Feb 2019 05:27:17 -0800