Computer room A CentOS system server, because this server system installed a long time, and the root password update several times, back to the computer room on-site maintenance, login password forgotten, sad urge ah ~No way, only the boot into
everything in Linux is file, so files are important, file properties and how to change properties. to view the properties of a file:The owner of the file is divided into owners, owning groups, and others.after logging in as root , you can use ls-al
Close selinux– Use the Getenforce command to check the SELinux status, and if the result is not "Disabled", use the Setenforce 0 command to temporarily turn off SELinux.To permanently turn off SELinux, modify the/etc/selinux/config configuration
After partitioning and formatting the disk, we are still unable to use it immediately, one step further: MountUnder Windows OS the user cannot see this process because it is mounted automatically, and under Linux it is necessary for us to manually
User Information file: etc/passwdUser Shadow File: Etc/shadowUser group information file: Etc/groupUser group Shadow file: Etc/gshadowThe home directory for root is: etc/rootHome directory for normal users: etc/home/user name/User's mailbox:
return value of program outputStandard output return value: 0Standard error Output return value: 1-255echo $? To get the return value/dev/null: Device data (data black hole)Can output useless information to/dev/null such as Ls/var &>/dev/nullSet-c:
1. The subsystems included in the kernel are:Four subsystems such as process management system, memory management system, I/O management system and file management system.An executable file in a 2.Linux system is rooted and setid, and when an
When we use the Linux system, we must have used some shared files, such as Ftp,mount and so on, then I will focus on the use of Mount:There is now a test environment where you need to deploy Mount Server (10.10.10.27). You first need to turn on the
1. Each disk partition is treated as a separate device.2. Each storage device has its own local file system.3. Enter the mount command itself to display a list of file systems currently mounted on the system.4.which1.-t vfstype Specifies the type of
Recently always in the group to see a lot of classmates ask, there is no password exchange between Linux how to get Ah, Baidu's look at me dizzy and so on, so I write how in two Linux servers to achieve no password exchange visits, that is, let them
Restart command:1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 restart at 20:35 time (root user use)If you set the restart through the shutdown command, you can
Three ways to view the number of threads in Linux 1, top-h Manual said:-h:threads Toggle plus this option to start a top,top line to display a thread. Otherwise, it displays a process one line. 2, PS XH Manual said: H Show threads as if they were
Linux operating system and common commands 1. Common commands in linux
Windows:
Dll: dynamic link library, dynamic link library
Linux:
. So: shared object, shared object
Operating System:
Kernel:
1. Process Management
2. kernel Management
Library:
Linux disk management, linux Disk
From: http://www.apelearn.com/bbs/forum.php? Mod = viewthread & tid = 7621 & extra = page % 3D1% 26 filter % 3 Dtypeid % 26 typeid % 3D36
1. view the disk or directory capacityDf view the usage of each disk
Yum LAN software source construction and yum LAN Construction
From: http://www.linuxidc.com/Linux/2013-07/87315.htm
1. Set up an Apache server or an ftp serverYum installation or binary package installation
2. Prepare the RPM package to download the
Difference between su and sudo commands, and between susudo commands
From: http://www.apelearn.com/bbs/thread-7467-1-1.html
I. Use the su command to temporarily switch user identities1. Conditions and power of suThe su command is a tool for
How to install Tomcat and install Tomcat
Tomcat requires JDK support. Therefore, install JDK before installing Tomcat.
1. First download the JDK corresponding to your machine on the JDK official website. Note the number of machine digits. in Linux,
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