Recovery method of deleted files in Linux system (ext4)
This document gives a method to recover the files deleted by mistake in ext4 file system. The software to be used is extundelete, which has a high recovery success rate for ext4 file system and is worth having!
[root@localhost ~]# rm -Rf / #Execution failed!
rm: stay"/" Recursive operation is very dangerous
rm: Use --no-preserve-root Option ...
Posted by kaje on Sat, 25 Apr 2020 13:20:52 -0700
Discovery and automatic update of docker container service based on consumer (principle + deployment)
Preface
In the previous article, I have described some contents of docker's entry level. This article begins to explain other contents of docker in depth. First, it will talk about the principle and practical operation of the discovery and automatic update part of docker container service.
Talk about the concept and advantages (just look at t ...
Posted by php_gromnie on Fri, 24 Apr 2020 04:41:02 -0700
prometheus installation and configuration
1, Binary package installation
We can go to Prometheus binary installation package Download page Download the corresponding installation package according to your own operating system. Let's take Amazon Linux 2 as a demonstration.
We will download the latest version v2.17.1 according to the current time.
1.1 download Prometheus Ser ...
Posted by BigToach on Thu, 23 Apr 2020 23:03:05 -0700
kubernetes uses kubeadm to install cluster production environment
kubeadm production environment deployment steps
1, Environmental description:
1,centos7
2. ntp clock consistency is required in cluster environment
3,getenforce 0
4,disable firewall
2, Host condition:
| k8s-master | k8s-node1 | k8s-node1 |
| -------- | -------- | -------- |
| 172.16.0.160 | 172.16.0.161 | 172.16.0.162 |
172.16. ...
Posted by baconbeastnz on Thu, 23 Apr 2020 09:31:59 -0700
Setting up python3 environment under Linux
python3 environment construction under Linux
What are the ways to install Linux software?
The manual installation of rpm package rejects this mode, and the dependency needs to be resolved manually
yum automatic installation is very easy to handle dependency automatically
Source code compilation and installation, more customizable functio ...
Posted by jamesjohnson88 on Wed, 22 Apr 2020 09:29:48 -0700
Python Requests Getting Started Practice
This past few days I have queried the syntax and some class libraries of Python3, and I happen to find some hidden backdoor 0.0 in the company's oa address book
So I resolutely picked it up as a practice item
First, use the developer tool F12 to crawl to the URL address of the MSS action on the OA website
url = 'http://mss.xxxx.co ...
Posted by MatthewJ on Wed, 22 Apr 2020 09:27:37 -0700
The introduction and use of docker compose
docker compose: a tool for docker automatic arrangement
Preface
In the last two articles, I played with Dockerfile again, mainly building various service images based on Dockerfile. This paper will introduce and demonstrate the concept and use of docker compose, which is an automatic choreographer tool of docker.
What is docker compose?
Before ...
Posted by czs on Wed, 22 Apr 2020 09:05:49 -0700
Voice communication solution summary
Voice communication scheme
System level solutions and self built protocols
windows platform, linux platform, embedded linux platform, mcu platform
1. Voice solution of wired communication developed on Embedded Linux
This scheme is developed on Embedded Linux. The audio scheme is based on ALSA. The voice communication is related to user ...
Posted by vtb on Tue, 21 Apr 2020 18:12:51 -0700
[apue] getopt may rearrange parameters
Looking at Chapter 21, I introduced the magic tool getopt to parse the command line, and learned how to handle the general command line under linux.
The command line can be divided into parameters and options. The ones without - or - prefix are parameters. For a command, the number is fixed, and the order of multiple parameters is fixed (otherw ...
Posted by pollysal on Tue, 21 Apr 2020 02:42:10 -0700
freecplus framework - log file operation
1, Source code description
Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code.
This paper introduces the method of log file operation in freecplus framework.
The declaration file for functions and classes is freecplus / 65124; freecplus ...
Posted by Kardall on Mon, 20 Apr 2020 10:56:26 -0700