Scenario: Linux hosts A and B, login to B via SSH, password-free login steps--------------------Step1:Execute a one- line command in a to generate the key file: Ssh-keygen-t RSA, and then continue to enter, eventually generating id_rsa.pub files in
Reprinted from: http://www.bubuko.com/infodetail-1870309.html1. Check the information to understand these terms:/dev/hda,/dev/hdb,/DEV/SDA,/dev/sdb, what is the difference between them?A: Hda generally refers to the IDE interface of the hard disk,
1, with Poweroff will be virtual machine.2. Add 4 1G HDD to the Linux virtual machine. Lsblk can be viewed after booting. Fdisk-l can also.3, open the Linux virtual machine, 4 1G of hard disk to do LVM logical volume management.The steps are as
User introduction in 1.LinuxThe user is the identity of the system consumerThe user is stored in the system as a number of channeling characters + several system configuration filesUser information involves the system configuration file:/ETC/PASSWD
Linux boot-up process analysisthe boot process refers to the entire process from powering on the computer until Linux displays the user login screen. Analyzing the Linux boot process is also a great way to get an insight into the workings of the
# Linux 3.16 version Oom choose which process to kill----# # # Background I have 2 scheduled tasks, a task A is 00:00 run, another B is 04:00 run. Under normal circumstances a will run at 2, but one day because of the time spent on a step too long,
Setting the emulation and rollback buffersFont appearance settingsLog File SettingsWatermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">Sshclient implementation and Linux shared
After the CentOS installation, some modules are turned on by default. However, some modules are not required by us. IPV6, for example, is not yet popular in China.How do I close IPV6?The methods described below can also be used when closing other
The $ grep ' test ' d* shows all the lines in the file that begin with D that contain test. The $ grep ' test ' AA bb cc Displays the line in the aa,bb,cc file that matches the test. The $ grep ' [a-z]\{5\} ' AA displays all lines that contain a
main functions:1, which IP and time (exactly to the second) can be recorded and which user, and which commands2, the maximum log record is increased to 4,096 to paste the following code directly into the/etc/Profile behind it. #history Modifyexport
Linux in the Nginx server startup script, put this script into the/etc/init.d/directory, to start and close, and with the Chkconfig command to add Nginx to Chkconfig management, set up boot from boot.The detailed script is as
If the operating system history of an American blockbuster, that must be the smell of the Three Kingdoms smoke. In the end of the world a group of Westerners, although no Western cowboy Bohemian, also achieved a period of time to make posterity
I. Permissions for the directory(1) The directory file access rights are divided into three groups, respectively, the owner, the user, and others. There are 3 permission bits for each permission group, read, write, and execute, respectively. Note:
Logon-related profiles: /etc/profile Scope: Effective for all users : A. Defining the user variable B. Defining the LOGNAME variable c. Defining mail changes Volume D. Define the PATH variable E. Define the hostname variable F. Define the
The Linux who command is used to display which users are on the system, and the information displayed includes the user ID, the terminal used, which side to connect to, the on-line time, the slack time, the CPU usage, the action, and so on.Usage
First, the operating system os:operating System, a general purpose software program. Second, OS classificationServer Os:rhel,centos,windows Server,aixDesktop Os:windows 10,windows 7,mac Os,fedoraMobile device Os:android,ios,yunosIII. development of
Please copy the/etc/init.d/iptables to the/root/directory and rename it to Test.txt:Cp/etc/init.d/iptables Test.txtMV Iptables Test.txt
Open Test.txt with vim and set line number:Vim Test.txt: Set Number
Move down, up, left, and right 5
for variable in list;Loop bodyDoneHow to generate a list;{1..100}SEQ [Start number] [step] end value;#!/bin/bashlines= ' cat/etc/passwd |wc-l 'For i in ' seq 1 $lines ';DoUser= ' cut-d:-f1/etc/passwd | head-$i | Tail-1 'echo "Hello: $user"DoneOutput
View I/O:1, TopUs:is meaning of "user CPU time"Sy:is meaning of "system CPU Time"Ni:is meaning of "nice CPU time"Id:is Meaning of "idle"Wa:is meaning of "iowait"Hi:is meaning of "hardware IRQ"Si:is meaning of "software IRQ"St:is meaning of "steal
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