There are many friends who talk about RPM compilation and installation. RPM installation is a dumb installation. In fact, RPM is a very effective centralized deployment solution. Yum + RPM is a fast and convenient large-scale deployment solution.
1. grep introduction grep (globalsearchregularexpression (RE) andprintouttheline, full search for regular expressions and print out rows) is a powerful text search tool that can use regular expressions to search for text, and print the matched rows.
The crontab command is used in linux systems to set periodically executed commands. The crontab file contains a series of jobs and commands sent to the cron daemon. Each user can have their own crontab file. at the same time, the operating system
There are two machines a and B. now you need to add user1 of machine a to the user2 user trust list of Machine B, so that user user1 of machine a can directly ssh to user 2 of Machine B step: 1, enter Machine a/home/user1 /. run mkdir-p/home/user1 /.
1. process by memory in ascending order: ps-eo & quot; % C: % p: % z: % a & quot; | sort-k5-nr2. view which processes are currently available; view the files opened by the process: ps-A; lsof-pPID3. obtain the current IP address (learn the role of
A friend wants to log out every time he exits the shell. add the following command to the bash_logout File: date-dtoday + & quot; % Y-% m-% d % H: % M: % S & quot; & gt; /var/log/logout test: two windows are opened, one of which is to view the
Mktemptest. XXXXXX creates a temporary file in the current directory. X is a randomly generated string. after the command ends, the file name-ttest is returned. XXXXXX is created in the/tmp Directory. the others are the same as above. The result
Check whether lm exists in cpuinfo. If lm exists, 64-bit is supported. lm means longmode. the specific command is as follows: cat/proc/cpuinfo | grepflags check whether the output contains lm characters or cat/proc/cpuinfo | grepflags | greplm |
In linux, the tab key may be at most one. Using tabs when using commands such as ls and cd can reduce many keyboard input. for example, to enter a directory with a long directory name, you may just need to input the first few characters, then, use
Taskset is a CPU adjustment tool that can assign system tasks to the specified CPU this article takes nodejs as an example of the first step, query the nodejs process pgrepnode1927719283 step 2, lock the CPUtaskset-pc019277 (where 0 represents CPU0,
Dongxi has integrated some useful things and can be pasted in the nginx configuration file. the functions are complicated, including anti-Leech and anti-injection. location =/robots.txt {access_logoff; log_not_foundoff;} location =/favicon. ico
# How to partition a linux system in a production scenario? # Date: 2011-07-31 # Author: Old Boy # QQ: 31333741 MAIL: oldboy521@hotmail.com # QQ exchange group: 45039636 # blog: http://oldboy.blog.51cto.com # psite: http://oldboy.cc (coming soon) #
What is the lsof command? Lists information about files opened by processes. The opened file can be 1. common File, 2. directory 3. network File System File, 4. character device file 5. (function) shared library 6. pipe, named pipe 7. symbolic link 8
With your experience in Dos and Windows, you probably know that there are several types of files in the system, such as system files, read-only files, and hidden files. Use ls in Linux? L command to determine the file type, which can be determined
Adjust the usage of a program corresponding to the CPU: 1. use taskset to fully utilize the multi-core cpu and balance the cpu usage to each cpu # taskset-p and set an existing pid, instead of restarting a new task-c, you can specify multiple
1. enter grub2. md5crypt3 in any directory. it will prompt you to enter the password (menu password) to copy the password 4. edit/boot/grub/menu .. lst inserts a line of content on the title as follows: Password-md5 encrypted Password note: There is
Recently I installed CentOS6.0 and found that the ext4 file system was added to the 6.0 system. to learn about the features of the ext4 file system, I searched the internet. compared with the previous ext3, the ext2 function is much richer. the
Abstract: The first step to optimize website SEO is to make Spider crawlers come to your website frequently. the following Linux commands can clearly show you the crawling status of spider. The following is an analysis of the nginx server. The
A long time ago, an ftp server was installed with vsftpd, but the user data source was not modified. by default, users in the system were used. The ssh port is enabled without any restrictions. after a user logs on to the server, most of the content
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