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

How to use and build system roles

How to use and build system roles 1. Control execution sequence For each play in the playbook, tasks are executed in the order in the task list. After all tasks are executed, the handler of the task notification will be executed After the role is added to the play, the role task will be added to the beginning of the task list. If the play cont ...

Added by beedie on Mon, 03 Jan 2022 17:49:50 +0200

SVN client tutorial under Linux (full)

1. Svn introduction The full name of SVN is subversion, i.e. version control system. Like CVS, SVN is a cross platform software that supports most common operating systems. As an open source version control system, subversion manages data that changes over time. This data is placed in a central repository. The archive is much like an ordinary ...

Added by NYSiRacer on Mon, 03 Jan 2022 16:52:58 +0200

VirtualBox+CentOS installation, network configuration, and development environment

Download VritualBox: https://download.virtualbox.org/virtualbox/ The version I downloaded is: https://download.virtualbox.org/virtualbox/6.1.8/VirtualBox-6.1.8-137981-Win.exe Download CentOS from Tsinghua image source: https://mirror.tuna.tsinghua.edu.cn/centos/7/isos/x86_64/ Alicloud downloads CentOS: https://mirrors.aliyun.com/centos/7/isos/ ...

Added by gordonrp on Mon, 03 Jan 2022 14:46:22 +0200

Process and Scheduled Task Management

Preface Programs and Processes program 1. Executable code and data stored in hard disk, shutdown, etc. 2. Statically saved code 3. Binary files, static process 1. Program code running in CPU and memory 2. Dynamically executed code 3. Parent and child processes (each program can create one or more processes) 4. It is the process o ...

Added by white99 on Mon, 03 Jan 2022 13:54:23 +0200

Using FastDFS under Linux

1, What is FastDFS Is an open source lightweight distributed file system for file management. Function: File storage, file access, file upload and download. Single storage size: 4k–500M Benefits: A large number of storage and load balancing problems are solved. Use: Suitable for file online services, such as video website, Tencent video, p ...

Added by rockyracoon on Mon, 03 Jan 2022 11:30:33 +0200

Prometheus server & Prometheus monitored end & Grafana & and monitoring database | Cloud computing

1. Prometheus monitoring server 1.1 problems This case requires the deployment of prometheus monitoring server to complete the following tasks: Install monitoring serverModify profileWrite service files and manage servicesView monitoring data 1.2 scheme Two virtual machines are required for the experiment, and the host information is ...

Added by Haberdasher on Mon, 03 Jan 2022 11:22:56 +0200

Container resource constraints for Kubernetes(k8s)

Implementation of resource constraints Kubernetes' restriction on resources is actually controlled by cgroup, which is a set of related attributes of the container used to control how the kernel runs the process. There are corresponding cgroups for memory, CPU and various devices. By default, Pod runs without CPU and memory limits. This m ...

Added by robin01 on Mon, 03 Jan 2022 10:48:46 +0200

Important knowledge points of Linux

I Important function 1. fctnl() function 1.1 function description fcntl system call can be used to perform various control operations on the opened file descriptor to change various properties of the opened file Function prototype #include<unistd.h> #include<fcntl.h> int fcntl(int fd, int cmd); int fcntl(int fd, int cm ...

Added by Liquix on Mon, 03 Jan 2022 08:19:11 +0200

QT GUI programming!

1, QT basis 1.1 introduction to QT 1.1.1. What is QT A bunch of C++/python class libraries (GUI classes, network,...)Free open source 1.1.2 QT characteristics: Excellent cross platform characteristics: Qt supports the following operating systems: Windows, Linux, Solaris, sun0s, FreebSD, BSD/S, SCO, AIX, 0S390, QNX, android, etcobject- ...

Added by aladin13 on Mon, 03 Jan 2022 05:57:34 +0200