1. #PATH = $PATH:/opt/lamp/mysql/binwith this method, only the current session is valid, meaning that the PATH setting is invalidated whenever the system is logged out or logged off2. #vi/etc/profileadd path= $PATH in place:/etc/apache/bin (Note: =
Build the kernel(1): First: Verify that the Linux source program has established two symbolic connections in the/usr/include directory:# Cd/usr/include# ls-l ASM Linuxlrwxrwxrwx 1 root root 4 17:27 asm-/usr/src/linux/include/asmlrwxrwxrwx 1 root
sudo: What commands a user can perform with another user's identity through which hostssudo COMMAND-L: Lists all sudo class commands that the current user can use-K: Disable authentication information, i.e. authentication required for each
1. Physical structure of the diskDisc: The disk is made up of a stack of disk facesHead (Heads): Each head corresponds to a disk face, which is responsible for reading and writing data on the disk surface.Track: Each disc is divided into concentric
Some commands related to process operations: PS-A, ps-e view all Processes ps-ef| grep + process Name View related process Information Ps-ef|more view process related information kill + process PID
Execute PHP script file in Linux: PHP + file
/proc/sys/vm/swappiness #结果显示该值默认为60.whichSwappiness=0, it means maximizing the use of physical memory before using swap space,SWAPPINESS=100, the active use of the swap partition, and the memory of the data in a timely manner into the swap
VI cusor:0:to the beginning of the$: To the end of the current lineG:to the last of the fileGg:to the beginning of the fileDelete:Dd:delete the current lineDg:from the current line to the end of the fileD20g:from the current line tot the 20th line
Shutdown several commands:Shutdown-r now # Reboot the system immediatelyShutdown-r +3 # Three minutes after rebooting the systemShutdown-h now # Close the machine right awayShutdown-c # Undo Shutdown operationShutdown-k now # sends an ' immediate
"Copyright Notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet, the article only for learning Exchange, do not use for commercial purposes"Grasp the Linux kernel design Idea (a): System callGrasp the design
First, IntroductionThe Rpmbuild command is used to create binary packages and source code packages for the software.Second, the option Reference: http://blog.sina.com.cn/s/blog_4ba5b45e0102e5r2.html http://
(i) hierarchical structure of the file system:In Linux, there are two kinds of files, one kind of ordinary file, the other is special file, ordinary files usually exist in various directories, and specialDirectories are generally stored in/dev.(ii)
1. Turn off the machineView online users who; View network online status netstat-a; view Background executor Ps-auxShutdown shutdown-h Now, Init 0Halt, Poweroff hardware shutdownRestart reboot, init 62. PermissionsCHGRP [-r] User group name file or
/bin binary executable commands the/dev device special File/etc System Management and configuration file/etc/rc.d startup profile and script the base point of the home directory of the/s user, such as the user's home directory is/home/user, can be
In implementing a file system that can elastically adjust capacityFdisk/dev/hda partitionPartprobe Update partitionPvscan Check for PV presence or notPvcreate/dev/hda5 Creating PVVgcreate vbirdvg/dev/hda{6,7,8} Create VGVgscanPvscanVgextend
After the Java code is converted to UTF-8 encoding, the Eclipse compilation runs fine, but when you compile with maven, an illegal character 65278 error is thrown.The reason is that after the conversion of the file header with BOM information, and
Get ready(1) Create the JDK folder in/usr/local/usr/local/jdk
(2) The JDK package MV to the/USR/LOCAL/JDK directory
(3) Performing TAR-XZF jdk1.8.0_51.tar.gz
2. Execute the command:(1) If non-root user: sudo vi ~/.bashrc(2) Add at least:
PSCP enables you to transfer files between Windows and Linux. The following details describe how to use:A brief description of PSCP:PSCP (PuTTY Secure Copy client) is a PuTTY-provided file transfer tool that securely transfers files between two
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