Linux VIM editor and restoring files deleted by mistake under ext4 - Xmanager tool

Introduction to main modes of vim vim command mode Q: are vi and vim installed in the same package? A: NO, vim is an added version of vi. the most obvious difference is that vim can be syntax highlighted. It is fully compatible with vi Check a command, which software package is installed: [root@xuegod63 ~]# rpm -qf /usr/bin/vim [root@x ...

Added by rutin on Mon, 03 Jan 2022 18:38:15 +0200

Linux system security settings

catalogue 1, Account security 1. System account cleaning Set the Shell of the non logged in user to / sbin/nologin Lock accounts that have not been used for a long time Delete useless or long-term unused accounts Lock account files passwd and shadow 2. Password security Password validity Require the user to change the password at the ...

Added by Mgccl on Tue, 21 Dec 2021 06:38:31 +0200

Linux File System

1. Preface The basic idea of Linux is that everything is a file; Each file has a defined purpose. The first is that everything in the system comes down to a single file, including commands, hardware and software devices, operating systems, processes, etc. For the operating system kernel, they are considered to have their own characteristics or ...

Added by rotwyla98 on Sun, 19 Dec 2021 02:45:53 +0200

Linux basic operation, getting started

Linux Distribution Linus towaz's Linux is just a kernel. Kernel refers to a system software that provides functions such as device driver, file system, process management and network communication. The kernel is not a complete operating system, it is only the core of the operating system. Some organizations or manufacturers package the Linux ...

Added by expl0it on Fri, 17 Dec 2021 19:00:22 +0200

Docker network and container interconnection

@[TOC] # Docker network and container interconnection Resource Recommendation Configure network on Docker official website: https://docs.docker.com/network/ Docker network details: https://blog.csdn.net/meltsnow/article/details/94490994 Docker has four network modes: https://www.jianshu.com/p/22a7032bb7bd Use network Network drivennameOff ...

Added by jane on Sun, 21 Nov 2021 13:10:50 +0200

Data structure algorithm -- 1042. String pattern matching KMP algorithm

subject thinking Find the next array for instance ! [insert picture description here]( https://img-blog.csdnimg.cn/5c94e122d0384afaaa021e1ff505e7da.png When our program is judging that the last a of 2 string does not match the substring of 1 string, we don't need to judge whether the middle a needs to be Let's just move the whole follow- ...

Added by Intelly XAD on Sun, 10 Oct 2021 08:15:09 +0300

RHCSA-B5.Create Logical Volume

Red Hat RHCE Examination Morning-RHCSA (RH134) serverb.example.com task 5.Create Logical Volume Create a new logical volume as follows: Task Requirements Logical volume name database, volume group is datastorage, size is 60 PE size sThe PESIZE of datastore is 16MiBFormat into an ext4 file system. Automatically mount to/mnt/data at system s ...

Added by Pantho on Thu, 30 Sep 2021 21:11:48 +0300

Notes of the third lecture in class NSD2005

Notes of the third lecture in class NSD2005 1, KVM construction and management 10.1 KVM components 10.2 KVM management command 10.3 composition of KVM virtual machine 10.4 manually clone KVM virtual machine 10.5 manually clone kvm virtual machine (virsh edit virtual machine name) 10.6. Delete KVM vi ...

Added by gotserv on Fri, 26 Jun 2020 09:45:55 +0300

logstash and filebeat collect logs

1. Background Log collection adopts ELK framework, i.e. elasticsearch, logstash, kibana, and filebeat component. Filebeat is used to scan log files and send logs to logstash service, while logstash service completes log segmentation and sends logs to elasticsearch service. 2. Deployment steps of filebeat (log - > logstash) Download the ...

Added by Funbruk on Sun, 31 May 2020 19:13:13 +0300

Cloud Server ssh key management and github configuration

A word programmers often say is: Programming for github.Without github, programmers can see how important it is to them. The tool that works with github is git, in the previous chapter git installation and basic configuration on cloud servers There is also a basic introduction to it on the server.Although git can work on both ssh and https pro ...

Added by dev99 on Thu, 28 May 2020 05:35:54 +0300