1) Delete local time and set time zone to ShanghaiRm-rf/etc/localtimeLn-s/usr/share/zoneinfo/asia/shanghai/etc/localtime2) Set Timing timing synchronizationA. Yum-y install ntpdate NTP #安装ntpB. Setting a scheduled synchronization schedule taskXX * *
1. Use the Rpm-qa|grep vsftpd command to check if the installation is already installed, if FTP is not installed, using the Yum install-y vsftpd.2. Start:/ETC/INIT.D/VSFTPD startBoot:chkconfig--level vsftpd on3. Set FTP
Method One:Find directory-name "*.ABC" | Xargs RMcommand is a bit dangerous, you can do the first half to see if you want to delete the file, and then the entire executionMethod Two:Find. -name ' *.exe '-type f-print-exec rm-rf {} \;(1) "."
Monitoring hardware has been properly identified and monitoredThe first is the CPU type line number and the main frequencyCan view Cpuinfo files directlyCat/proc/cpuinfoBecause of the more so the filter processing[[email protected] ~]#
The RM command, used in Linux to delete files or directories, is a common command that deletes one or more files or directories in a directory, and it can delete all files and subdirectories under a directory. For linked files, only the links are
The RM command, used in Linux to delete files or directories, is a common command that deletes one or more files or directories in a directory, and it can delete all files and subdirectories under a directory. For linked files, only the links are
After mounting the new hard drive, enter the FDISK-L command to see the current disk information.650) this.width=650; "src=" http://img1.51cto.com/attachment/200811/200811221227366545284.jpg "border=" 0 "style=" border:0px; "/>You can see a second
1, the Replication/etc/skel directory is/home/tuser1, requires/home/tuser1 and its internal files belong to the group and other users do not have any access rights.[[email protected] ~]# cp-a/etc/skel//home/tuser1[[email protected] ~]# chmod-r
Basic command:LS Displays files and directories in the current directoryLs-l Listing File Details l-listLS-A lists all files and directories in the current directory, including Hidden A-allmkdir Creating a Directory-P Create directory, if no parent
Recently, due to the company's needs, need to be successful in the two-time QT development, but on-line information is very small, it is also basically other versions of the Linux build. The successful bidder's own information is also very good, and
1. Cd:change Directory switch the current catalog to XXAfter the CD without any parameters, switch home directoryCD ~ Switch directly to home directoryCD-cut back and forth between the previous directory and the current directory2. Ls:list lists all
1. SZ + fileThe files on the server can be uploaded to the local650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/83/CE/wKioL1d84MDQYBVEAAE8vuziczQ570.png-wh_500x0-wm_3 -wmp_4-s_2947760682.png "title=" 1.png "alt="
One , download and install the lnmp One-click installation package:#tar-ZXVF lnmp1.2-full.tar.gz#cd Lnmp1.2-full#./install.sh LNMPInstallation Lnmp execution:wget-c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && CD
PrefaceThe previous time in using the program to deal with the larger data, found that the original memory of their computer is not enough and often go to die, so think of the use of swap partition to expand the way memory. Now make a brief summary:
StepsCheck CacheFree-mReleasing the cacheCat/proc/sys/vm/drop-cahes0First, the value of/proc/sys/vm/drop_caches, which defaults to 0ReferenceSyncPerform the sync command manually (description: Sync command runs the Sync subroutine. If you must stop
The 10th chapter: the Debugging technology of embedded LinuxFor complex Linux drivers and libraries such as HAL, you need to debug them using a variety of methods. For example, setting breakpoints, stepping through code, outputting debugging
1) PS"Main Options"
-a displays information about all processes in the system
-e display information for all processes
-F Displays all information made
-l display process information in long format
-r displays only running processes
-u
1./ETC/BASHRC and/etc/profile differencesHttp://www.linuxeye.com/Linux/bashrc-profile.html2. Why does Nginx have a much higher performance than Apache?Http://www.linuxeye.com/Linux/2883.html3. How to choose a file system: EXT4, Btrfs, and
1. View the PID of the running process via PS or TOP commandPS -aux| grep php-fpm# or Top2. After getting the PID of the process and then using the command Ls-l/proc/${pid}, this command can list the start location of the
1. Remote SSH login on the CentOS server and do the followingNote: The mount operation clears the data, please make sure that the Mount disk has no data or is not using 1, list all disksCommand: Ll/dev/disk/by-path (Note: ll is the lowercase letter
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