A process is the process by which a program entity runs, an independent unit of resource allocation and scheduling, or an execution activity of a program on a processing machine. Distinguish between processes and programs1.0 program is a set of
The composition of the disk:Tracks: TrackSectors: Sector (512 bytes)Head: HeadCylinder: CylinderMbr/msdos partition mode1--4 primary partition, or 0--3 primary partition plus an extended partition (n logical partitions)Maximum supported disks with a
Lslist List Directory Contents command "Options" "parameters" 1) LS displays the contents of the current directory 2) LS directory name ls/home Specify the contents of the home 3) LS option directory name commonly used options:-L (It is the LO ng
System of the computer:Hardware (Hardware) software (software)Hardware system: Host: CPU (OP alu and controller CU), internal memory (ROM RAM) external device: keyboard, mouse, monitor, hard disk, floppy disk, CD, tape ...Application software:
File Lookup:Locate:Non-real-time, fuzzy matching, lookup is based on the system-wide file database# UpdateDB (manually generated file database) Fast SpeedFind:RealtimeAccurateSupport for many search criteriaTraverse all files in the specified
Build directory: mkdirmkdir-p [directory Name]-P Recursive creationCommand English original: Make directoriesdirectory where you switch: CDCD [catalogue]CD ~ Enter the current user's home directoryCdCD-Go to last directoryCd.. Go to the top level
Redis cluster construction, redis Cluster
1. What is Redis?
Redis is an open-source high-performance key-value database developed in C language. It provides multiple key-value data types to meet the storage requirements in different scenarios. The
Linux Command (sort)
Sort commandThe sort command is very useful in linux. It sorts files and fired standard output for sorting. The sort command can get input from either a specific file or stdin.
SyntaxSort (option) (parameter)
Option-B: Ignore
Linux record-process-related learning
View process commands
Ps
-Aux commonly used combination commands, and Shall | grep queries related process information
-L only view processes related to you
In details, STAT indicates the status of the
Common CentOS system performance analysis and methods
▲Vmstat -- virtual memory statistics
Vmstat (VirtualMeomoryStatistics, virtual memory statistics) is a common tool used in Linux to monitor the overall situation of the operating system's virtual
Install epel source in centos
EPEL is a software source of yum. It contains software that is not available in many basic sources. After EPEL is installed, the yum software source is extended.
Environment: centos6.5
Installation steps:
Install
Modify the NIC name in CentOS7
The traditional naming methods for Nic devices in Linux are eth0, eth1, and eth2. CentOS7 provides different naming rules, which are allocated by default based on the firmware, topology, and location information. The
Common Linux commands are always correct.
The basic commands are described in six sections, which are commonly used commands in some companies:
Installation and logon commands:
Login, shutdown, halt, reboot, install, mount, umount, chsh, exit, and
CentOS7 NAT mode fixed IP settings
Modify the configuration file of each virtual machine and set a fixed IP Address
Cd/etc/sysconfig/network-scripts
Modify configuration content viifcfg-eno16777736Initial Configuration:To:BOOTPROTO = staticIPV6
Change the default ssh port in CentOS
If you want to change the port and break through the port whitelist, but it does not work, record the process.1. modify the configuration file
/Etc/ssh/sshd_config
#Port 22
Uncomment this line and add a new port
Install docker on centos7
After learning from the Internet, docker is installed under centos7, and the knowledge and steps are organized for backup.1. Check Dependencies
Docker requires a 64-bit system. The kernel version must be later than
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