Linux Environment Configuration
Environment Configuration
Linux
0 .vimrc
#Create a new file in your own directory (~). vimrc
vim ~/.vimrc
#Add a text configuration (as follows...
#Indicates how many spaces a tab shows by default 8
set tabstop=2
#Represents the length of the indentation that falls back when the backspace key is pressed in edit mode
set softtabstop=2
#Re ...
Added by Christian B. on Thu, 10 Mar 2022 20:06:04 +0200
linux bg and fg commands
linux bg and fg commands
Under linux, if we want a task or program to be executed in the background, we can use &. In fact, linux also provides commands for other task scheduling.
bg: change a command suspended in the background to continue execution; [background background background]fg: transfer the command in the background to the fore ...
Added by radi8 on Thu, 10 Mar 2022 18:38:38 +0200
CL236 configuring IP failover -- configuring NFS Ganesha
CL236 configure IP failover – configure NFS Ganesha
In this chapter, learn how to configure NFS Ganesha to solve the problem of high availability.
RHCA column address: https://blog.csdn.net/qq_41765918/category_11532281.html
NFS Ganesha feature
NFS Ganesha is a user mode file server for NFS. It supports NFSv3, NFSv4 and NFSv ...
Added by arhunter on Thu, 10 Mar 2022 17:40:28 +0200
Summary of common Linux commands
1, Document management
1. ls command – displays the content and attribute information under the specified working directory
Options and parameters:
-a: All files are listed together with hidden files (files starting with). Commonly used)-d: List only the directory itself, not the file data in the directory (common)-l: Long data s ...
Added by campsoup1988 on Thu, 10 Mar 2022 14:20:20 +0200
CL236 configuring IP failover -- CTDB
CL236 configuring IP failover – CTDB
This section describes how to configure IP failover. This chapter studies CTDB, mainly to solve the problem of high availability of NFS and Samba.
RHCA column address: https://blog.csdn.net/qq_41765918/category_11532281.html
High availability cluster NAS (this section is extracted from Pro ...
Added by synchro_irl on Wed, 09 Mar 2022 17:58:40 +0200
RR route reflector
1 Introduction to route reflector
The role of routing reflector (RR) is mainly to simplify the configuration of IBGP neighbors. After using the reflector, the reflector is allowed to send the routing information from IBGP neighbors to another or a group of IBGP neighbors. The router allows the router configured as a routing reflector to transm ...
Added by mikeq on Wed, 09 Mar 2022 12:35:40 +0200
Creation of Docker image
catalogue
1, Create from an existing image
1.1 first start an image and make modifications in the container
1.2 then submit the modified container as a new image. You need to use the ID number of the container to create a new image
2, Create based on local template
2.1 import as image
3, Create based on Dockerfile
Federated file system ( ...
Added by meow on Wed, 09 Mar 2022 10:51:16 +0200
DNS server configuration
1. Mount the CD
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
vim /etc/fstab
/dev/cdrom /mnt/cdrom iso9660 defaults 0 0
2. Create yum source
[root@centos7-1 xwk]# yum-config-manager --add-repo=file:///mnt/cdrom
Plug in loaded: fastestmirror, langpacks
adding repo from: file:///mnt/cdrom
Cannot add repo from file:///m ...
Added by hcdarkmage on Tue, 08 Mar 2022 19:49:26 +0200
libselinux conflicts with systemd-219-19.el7.x86_64 and remedies for deleting libselinux
libselinux is a very important dependency package in the Linux system. Many software rely on this package, such as OpenSSL, OpenSSL devel, systemd and so on. If this package is missing, it will cause disastrous consequences. For example, the basic commands such as ls, cp and mv cannot be used, and the yum command cannot be used normally. Howeve ...
Added by yuws on Tue, 08 Mar 2022 16:26:23 +0200
Linux disk storage management LVM logical volumes
Basic concepts of LVM logical volumes
Logically add different hard disks or partitions to a unified volume groupThe VG volume group is equivalent to a large logical hard diskLV logical volume, equivalent to partition, takes out a certain space from the volume group
The creation and management of logical volumes and hard disk partitions are si ...
Added by harkonenn on Tue, 08 Mar 2022 09:26:47 +0200