A machine (SSH connection initiator, i.e. client):Add a test user AAA
The code is as follows:
[Root@a ~]# Useradd AAA
Su becomes AAA
The code is as follows:
[Root@a ~]# SU-AAA
[Aaa@a ~]$
Ssh-keygen Create an RSA key pair
The
Using RM-RF * When we want to delete tens of thousands of or hundreds of thousands of or even millions of of files in a Linux system is not very useful because it takes a long time to wait. In this case, we can use the Linux system command rsync to
One, what is the system average load (load average)?In Linux systems, the uptime, W, top commands will have the system average load average output, then what is the system average load?The system average load is defined as the average process tree
1.Linux Link Concept
There are two kinds of Linux links, one is called hard link (Hard link), the other is called Symbolic link (symbolic link). The ln command produces a hard link by default.
The specific use is: Ln–s source file Destination file.
1. Command format:
DF [Options] [file]
2. Command function:
Displays the available space for the specified disk file. If no file name is specified, the free space for all currently mounted file systems will be displayed. By default, disk space is
I bought an ECS, often toss, install some good fun software, tools. Configure the LNMP environment, run the website program, very interesting. Linux is often used, so it collects and collates some Linux server operation commands
1. Delete 0-byte
Ext3 or use 15 inode to find blocks of data, the first 12 are direct data blocks, directly to the data block stored data, followed by first-level indirect block, two-level indirect block, three-level indirect block, the following figure:
After two days of unremitting efforts, finally recovered a mistake to delete production server data. Record this accident process and solution, alert yourself, also suggest others mo make this mistake. Also hope that friends who encounter problems
Once the site to use the VPS, we need to do is operations, not only to ensure that the site can be stable operation, and the need to regularly back up the Web site files and databases, so as to avoid accidents can also use the data has been backed
Enter lsof under the terminal to display the system open files, because the lsof need to access core memory and various files, so you must run it as root to fully perform its function
LSOF-PNL +m-i4LSOF-PNL +m-i6Ls-i: 80
Add: Practical command
Content Catalog
Back to the past statisticsView CPU UsageView Average LoadView Memory usageView Page Exchange occurrencesInstallationDescription of SAR parameters
SAR to find the bottleneck of the system
SAR is the abbreviation for the system
I've been learning Linux lately. Build a LNMP environment. Everything is fine during the test. And then reboot Linux. Access to the Web site cannot be opened again. The final reason is that there are no rules to add port 80 to the firewall. The
This chapter outlines the Linux system. The primary service provided by the operating system is described first. The program that implements these services is then described with a considerable lack of detail. The purpose of this chapter is to
The main advantage of computer network is that it can realize the sharing of resources and information, and users can access information remotely. Linux provides a powerful set of network commands to serve users, which can help users log on to
The following article in this period of time to study the implementation of the kernel of Select/poll/epoll experience: Select,poll,epoll are multiplexing IO functions, simply in a thread, you can handle multiple file descriptors at the same time
Linux logical volume snapshots and the use of SSMTheoretical part: Logical Volume Management (LVM) provides a snapshot of any logical volume in order to get a partitioned backup in a consistent state. Because during the backup process, The
The shutdown command is as follows: 1, halt immediately shut down the Machine 2, Poweroff immediately shut down 3, Shutdown-h now immediately shutdown (root user) 4, shutdown-h 10 10 minutes later 5, init 0 (for root users) if the Shut Down command
Scp is short for secure copy. scp is a secure remote file copy command based on ssh login in linux.SyntaxScp [-1246 BCpqrv] [-c cipher] [-F ssh_config] [-I identity_file][-L limit] [-o ssh_option] [-P port] [-S program][[User @] host1:] file1 [...] [
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