Every time we execute rm commands on the production environment server, we are always on the edge of our pants, because once we accidentally execute the error deletion, we will be ready to run. After all, people are not machines, let alone machines have bug s, hehe. So what if you really delete files that should not be deleted, su ...
Posted by cashflowtips on Thu, 21 May 2020 03:16:52 -0700
With the business iteration, some projects are reconstructed with nodejs and deployed to k8s environment. In order to facilitate analysis, the last version of the code increases the function of output log.
Half a day after the launch, it was found that there was an alarm of too many open files in the R & D feedback ...
Posted by scottreid1974 on Thu, 12 Mar 2020 20:15:05 -0700
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