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
1.Displays the current time, the display mode isHh:mm:ss, and save to fileTime.txtfile. 650) this.width=650; "title=" screenshot from 2017-10-20 14-03-40.png "src=" https://s1.51cto.com/oss/201710/24/ B6db83ecaffee4983fcafeabbf40c60f.png-wh_500x0-wm_
First, special Authority Set_uidSet_uid can temporarily give other users the identity of the command ownerFor example, passwd permissions resr-xr-x.Set Set_uid to a file if the file is a binary executable filesuch as Ls,cat. It doesn't make sense to
Installation of Linux-jdk+tomcatFirst, the installation of the JDK1. Use the command Uname–a to view the system's version to determine the number of bits, and then go to the JDK website to download the corresponding number of installation programs,
Remotely restrict an IP and a segment of an IP address to allow or deny access to a Linux server via/etc/hosts.allow and/etc/hosts.deny two configuration filesServices such as SSH, FTP, Telnet, where/etc/hosts.allow indicates that the
Without root, add a normal user, manage
with sudo authorization Change the default remote SSH service port and prevent the root user from logging on remotely
Timing automatically updates server time ntpdate
Configure the Yum
Java-jar Xxx.jar
Java-jar Xxx.jar & Difference: The foreground starts CTRL + C will close the program, background boot CTRL + C will not close the programJava-jar Xxx.jar > Catalina.out Catalina.out point the standard output to the
Modifying the CentOS system Yum source replacement1. First backup system comes with Yum source configuration file /etc/yum.repos.d/centos-base.repoMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup2. Enter the folder where
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
First, execute the lsmod command to see the NIC interface type e1000Take a look at/etc/udev/rules.c/70-persistent-net.rules this file and change name= "eth0" to "eth1"Then execute the command to unload the NIC driver Modprobe-r e1000, at this time
View Month CalView year cal+2017Calculator View BCMan-f View the description file related to the man command =whatisThe MAN-K keyword Man's description is listed =aproposNano Text EditorWho user online statusNetstat-aSynchronizing data to Hard disk
How Linux compresses the retention source files: gzip–c filename > filename.gz linux How to extract reserved source files: gunzip–c filename.gz > FileName gunzip usage 1. Action gun The function of the zip command is to unzip the file and use
Initialization processThe Getty program is opened according to the character terminal, and is associated with the tty0 on the character terminal.Getty Open the Login processLogin will read the user information and query the login shellLogin
Linux top command and linuxtop command
# Top
The first line of the top command"
top - 19:56:47 up 39 min, 3 users, load average: 0.00, 0.00, 0.00”
The displayed content is
"Current System Time,
The time when the system has run so far,
Number of
30 shell programming questions and explanations for qualified linux O & M personnel--02
Enterprise interview question 2:Use the for loop to create 10 html files in batch in the/oldboy directory with 10 random lowercase letters and a fixed string
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
Vmwarevirtual machine installation CentOS-6.5 tutorial, vmwarecentos-6.5
Linux is one of the most common server systems for enterprises, CentOS is free, so there are a lot of enterprises to use, today to share with you how to install CentOS-6.5 in
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