There are many shortcut keys under CentOS, and the level of operation is higher when you master it.CTRL series:1.ctrl+c or ctrl+\ keyboard interrupts the request and decisively kills the current task.2.ctrl+z interrupts the current process, does not
Basic knowledge development process of Linux1.1 Computer server components1.1.1 The composition of the computer1) CPU2) Hard Drive3) Memory4) Power supply5) RAID CardCore responsibilities of 1.1.2 operation and maintenance1) Website data cannot be
Shell Programming Summary: The role of the shell history shell is to interpret the user's commands, the user enters a command, the shell interprets the execution of one, this is called Interactive (interactive), and the shell has a way of executing
(1) Download Linux system imageCent OS 7.2 64-bit system Image:Http://mirrors.163.com/centos/7.3.1611/isos/x86_64/CentOS-7-x86_64-DVD-1611.iso(2) Download Vmare Workstation10.0 virtual machinehttp://www.xiazaiba.com/html/24456.html the VMware key is:
Post ( BIOS)
MBR boot (disc, disk)
GRUB Menu (select kernel, usually only one kernel)
Load kernel
Run the init process and selectthe RunLevel ( the first running program for Linux)
Read The/etc/inittab configuration file
Execute
It is found that the currently installed g++ does not have the option-std=c++11 enabled, and the new standard for c++11 and the list initialization in it cannot be used. Search after the solution: type: Alias g++= "g++-std=c++11", but this is
Linux Shadow file hack programParsing the contents of a password string in a shadow file
The ID is 1 o'clock and is encrypted with MD5;
id is 5 o'clock and SHA256 is used for encryption;
id
This warning is caused by the initialization order,
The warning code will appear!
Class Cinit
{
Public
Cinit (std::string str, int a): Str_ (str), A_ (a)
{ }
Private
int A_;
Std::string str_;
};
Scenario 1: If the current disk has capacity to expandUnder Root, the "fdisk-l" Maximum partition is/dev/sda3, and the newly created latest partition is/DEV/SDA4Enter "FDISK/DEV/SDA""N" adds a new partition"P" creates a primary partition"Enter"
1. Please describe in detail the start-up process of the CentOS system (detailed to what each process system does)1) power-on self-test, BIOS boot-boot stage;In this process to implement the initialization of hardware and find boot media;Load the
1. InstallationThe installation and startup methods of the CentOS 7 Nginx are as follows # yum Install nginx# firewall-cmd--permanent--zone=public--add-service=http# firewall-cmd--permanent--zone =public--add-service=https# firewall-cmd--reload#
Linux user base, linux UserUnderstand users and groups in Linux
Practice:
View user information
View user password information
View group information
View logged-on users
Practice:
User addition, deletion, and
Shell printf command and shellprintf command
Another Shell output command is printf. By default, printf does not automatically add line breaks like echo. We can manually add \ n.
#! /Bin/bashprintf "%-10 s %-8 s %-4s \ n" name gender weight kg
Shell test command and shelltest commandThe test command in Shell is used to check whether a condition is true. It can be used to test values, characters, and files.
Num1 = 100num2 = 100if test $ [num1]-eq $ [num2] then echo 'two numbers are equal!
Shell function,The following example defines a function and calls it:
#! /Bin/bashdemoFun () {echo "this is my first shell function! "} Echo" ----- function execution started ----- "demoFunecho" ----- function execution completed -----"Output result:
Linux File SystemFile System
Format
After using the fdisk command to create a partition, it cannot be used directly. You must format it first.
In Linux, there are two formatting Methods: mke2fs and mkfs.
Practice: format the three
Nginx-related php for LNMP compilation and installation-graphic explanation,Nginx-related php for LNMP compilation and installation-graphic explanation 1. Preface
I have already introduced the compilation and Installation Process of nginx, php, and
Man statd (rpc. statd Chinese manual), statdrpc. statd
Rpc. the statd program mainly implements NFS lock-related content, such as common file locks (NLM, NSM), file delegation, and lease. However, note that, it can be combined with sm-policy to
Shell variable, shell variable value assignment
First shell script
#!/bin/bashecho "Hello World !"
#! Is an agreed tag, which tells the system what interpreter is required to execute this script, that is, which Shell is used
Save the above Code as
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