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
Install Expect,rhel and CentOS System CD-ROM.Yum-y Install expectCreate a host IP list file host.txtCat >> Host.txt Execute Ssh-keygen followed by a carriage return until the end.Ssh-keygenCreates a new auto-create trust relationship script, where
Before just installing the JDK on Windows, the company now needs to install the Java environment on Linux, which summarizes the installation process1. Download JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlI
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,
One, file or directory permissions chmodrw-r--r--。——— ——— ——— ——Owner-owned group others are subject to selinux restrictionsR readable =4 w writable =2 x executable =1chmod + number + file name modification permissionsAll sub-files and
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
1. Directory structure------------------------------/root directory~ Current User Home Directory. Current directory.. Top level Directory[Email protected]/]#--------------------------------Chestnuts:[[email protected] ~]$ #刚进入用户终端Terminal, Saber on
Have always thought that their own Linux also said the past, in fact, has not kept up with the ever-changing application needs.There are no ready-made documents to look at, too many mistakes. However, after years of accumulation, it is possible to
One, single-user mode
Power-on press e into emergency mode, and then move the cursor to linux16 to find the RO, the RO will be replaced by RW init=/sysroot/bin/sh, after the completion of the ctrl+x.650) this.width=650; "src="
The PS command in Linux is the abbreviation for process status. The PS command is used to list those processes that are currently running on the system.The PS command lists the current snapshots of those processes, which are those that are executing
One, PATH environment variablePATH environment variableWith which, you can see the path to a command, including its alias, which is actually located in the directory of the current environment.echo $PATH View current command RM =/usr/bin/rmExample:
NSF was established on Linux, mapped (shared) with disk on Windows, but it was very slow to open and needed to wait after the file was modified.Workaround:Under Windows client, run CMD as Administrator, enter the netsh int tcp set g a=d see OK.650)
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
Centos7 yum install Lnmp and Lamp, centos7lnmp
First configure the firewall
CentOS 7.0 uses firewall as the firewall by default.
1. Disable firewall:
Systemctl stop firewalld. service # stop firewall systemctl disable firewalld. service # disable
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