1. Ssh-keygen-t RSA2. SCP [email protected]:/root/.ssh/id_rsa.pub./id23. Cat Id2 >> Authtorized_keys4. Systemctl Restart sshd5. Switch to another machine, ssh [email protected]Repeat the above on another machine, the most critical of which is the 2,3
file path:/etc/sysctl.confCentos5 System[email protected] ~]# vi/etc/sysctl.confNet.ipv4.tcp_fin_timeout = 2(By default ,TCP remains in fin-wait-2 for socket connections that are disconnected at the end of the The time of the state. The other
The origin of the Linux systemLinux system is based on the birth of Unix, Linux is a set of unix-like operating system, is a Unix, it controls the entire system basic service core program, the name of Linux is named after Linus's Minix, he chose to
1. Date displayed:2. Display Calendar: Cal3, Calculator: BC (the default is to take an integer, if necessary to display the need to run Scale=number number for the exact number of decimal after several) Windows system; Calc can open the calculator4.
First, configure SSH password-free login Enter the/.SSH directory to execute key generation instructions ssh-keygen-t RSA (RSA is the default encryption format)Then there will be four hints, let you choose the key to save the path, fingerprint,
#topThe first line of the top command ": £º 3 min, 0.000.000.00 "The contents are displayed in turn"System Current time,The time that the system has been running so far,The number of users currently logged on to the system,System load (average
Linux genealogy
Key finishing, clues
Notes record
heavy Point: /boot 200M Span style= " line-height:1.75;color:rgb (255,0,0);">/20G /usr 20G swap 4g, Max 8G /data 500G or all
1. Create a folderGo to the/usr/folder, create a file, I am here the Java folder, copy the Jdk-6u45-linux-i586.bin to the/usr/java folder2. execute jdk1.8.0_74 under the/usr/java foldertar zxvf jdk-8u74-linux-x64.gz 3. Configure Environment
1.linuxRemote Connection tool:puTTy Xshell :Putty: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.htmlXshell: https://www.netsarang.com/download/down_xsh5.htmlConnect to Linux remotely using puttyNextNextConnect to Linux remotely using
One, what is shared memoryShared memory allows two unrelated processes to access the same logical memory. Shared memory is a very efficient way to share and pass data between two running processes. Memory that is shared between different processes
Linux multi-nic bindingsNIC Binding mode There are seven kinds (0~6) bond0, Bond1, Bond2, Bond3, Bond4, Bond5, Bond6There are three kinds of commonmode=0: Balanced load mode with automatic redundancy, but requires "Switch" support and settings. mode=
1, Linux system has many commands, regardless of tomcat,nginx,docker and other applications deployed to the Linux server. Regardless of the start, stop, view log or kill process to the corresponding directory or through the pipe symbol splicing
1.Touchusage: -Change file timestamps, changing the timestamp of the filesformat:touch [OPTION] ... FILE ...Common options:-A: Only modify the access timestamp of the file;-C,--no-create: Do not create any files;Note: If you do not specify the-C
1.6 IP configuration,The first thing to do is to use:ifconfig and plus related parameters such as:ifconfig-a, to view, your own computer network configuration.Again it is necessary to know where the default IP configuration files
Sersync synchronizes data in real time and sersync data in real time1.1 first milestone: Install sersync software 1.1.1 upload the software to the server and decompress it
1. Upload the software to the server rz-E
To facilitate the management of
Common Linux commands,
Common commands
Ls display file or directory
-L list file DETAILS l (list)
-A: List all files and directories in the current directory, including hidden a (all)
Mkdir create directory
-P: Creates a directory. If no parent
Linux crontab and linuxcrontab
Write a little bit every day. One day, the salted fish will become more salty.
The cron service is a linux scheduled execution tool that can run jobs without manual intervention. The frequency can be divided
Minute
10.21 crond scheduled task exercises, 10.21 crond
1. the following tasks must be enabled to play crond:
[Root @ wen ~] # Chkconfig -- list crond
Crond 0: off 1: off 2: on 3: on 4: on 5: on 6: off
[Root @ wen ~] # Ps-ef | grep crond | grep-v
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