Linux User, user group Rights Management detailed
Linux User Management Three important documents detailed:
Linux login requires user name, password. The/etc/passwd file holds the user name. When you log in to Linux, Linux looks
About this small operation, tangled for a long time, just beginning is two steps away:ssh-keygen-t RSA three times enter to generate a key pairssh-copy-id-i/root/.ssh/id_rsa.pub 1.1.1.1 callback public key to the server that requires SSHLater found
/ETC/PASSWD file StructureThe structure of this file is this: Each line represents an account, and a few lines represent a few accounts in your system! However, it is important to note that the multi-account inside of the system is the normal
ifconfig------View IP Address
mkdir command. MKDIR is the acronym for Make directory: Create directory Ls-f | grep '/$ 'Using the Linux Pipeline command, grep finds '/$ ' with/to the end, which is also the directoryThe grep full name is global
PWD: View your current path(shell) bash is equivalent to the console, enter after the command based on the string to find the command after execution.There should be a default path to find the corresponding command, specified by the environment
1.lvs Load ModeStatic: Based on algorithm only(1) RR Polling(2) WRR Weighted Polling(3) The SH source address hash, which binds a user's access session to a fixed server in a KV structure, can be considered as one of the load balancing
There are two common commands for partitioning logs under Linux
Dd
Split ( recommended )
1.DD:The function is to copy a file with a block of the specified size and make the specified conversion at the same time as the
Set up a static network as follows[Email protected] network-scripts]# pwdGo under this path/etc/sysconfig/network-scripts[Roo[email protected] network-scripts]# cat Ifcfg-ens33[Email protected] network-scripts]# VI
Pcre is a regular expression function library written in C, and Nginx rewrite requires regular expression support, so we need to install Pcre first.First, install the PcreLatest address in:
How to set up a command when Linux starts up = =For example: The command to be executed is CVSLOCKD============ the first way: based on the runlevel configuration ========================Step one: Create a self-starter
Hexdump: View the contents of a file, such as some strings contained in a binary file, typically used to debug the drive1. Debug keyboard Driver explanationAfter we insmod the keyboard driver, we found that the keyboard driver was placed in the
1. View the current disk situation of the machine[[email protected] ~]# DFFilesystem 1k-blocks used Available use% mounted on/DEV/MAPPER/VG_ORALCE10G-LOGVOL03 9591312 4765404 4338692 53%/Tmpfs 883132 883060 1%/DEV/SHM/DEV/SDA1 198337 29991 158106 16%
Computer basic knowledge modern computer hardware structureComputer composition refers to the logical implementation of the system structure, including the data flow and control flow in the machine, the composition and logic design. Mainly divided
First, the service side1. Install the Openssh-server service on Linux and confirm that 22 listening ports are open1) Installing Openssh-server:apt-get install Openssh-server2) Check the Linxu listening TCP interface and confirm that 22 listening
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
CPU modelCat/proc/cpuinfo | grep name | Cut-f2-d: | Uniq-cNumber of CPUs: number of CPUs on the actual server slot, physical IDCat/proc/cpuinfo | grep "Physical ID" | Sort | Uniq | Wc-lCPU Cores: The number of cores of the CPU, which can be viewed
Linux entry notes: 8. Linux File SystemI. File System
The operating system manages files and data through the file system. A disk or partition must be created before it can be used by the operating system. The process of creating a file system is
CentOS installation uses vnc for Remote Desktop login, centosvnc
The following describes how to install vncserver in CentOS 7 and log on with vnc-viewer (with root permission ):
1. Run the command yum install tigervnc-server to install vncserver;
2.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service