A few days ago, when I looked at some documents, I saw a representation of the operation of a character, that is, the formal notation, look at the encyclopedia of the formal representation of the outline has the following paragraph of the
Sentence notation: Find corresponds to the directory -mtime + days-name "file name"-exec rm-rf {} \;Example 1: Place all 10 days before the/usr/local/backups directory with "." The file deletionFind/usr/local/backups -mtime +10-name "* *"-exec RM-RF
1. Create a new kernel folder to store kernel files[Email protected] ~]$ mkdir kernel2. Enter the kernel, upload the compression and unzip the compressed file[[Email protected] ~] $CD kernel[Email protected] kernel]$ TAR-XJF linux-3.0.tar.bz23.
The more command has three uses:1.more filename2.command | More3.more This example is used when using./more_1 execution can also copy more_1 to/bin file, equivalent to adding a new commandmore_1.c#include #include #include #define LINE_LENGTH 512#
To learn how to build Hadoop with three identical Linux virtual machines using VMware, hadoopvmware
Introduction:VMware can run two or more Windows, DOS, and LINUX systems simultaneously on a local laptop. VMWare uses a completely different concept
Use the linux Command in cygwin environment, cygwinlinux
I am not very familiar with linux commands. However, you usually need to use some linux commands. Therefore, you can back up your frequently used commands here.
Rm-rf *: Force delete all
Standard Pipe (popen), standard pipe popen
NAME popen, pclose - pipe stream to or from a processSYNOPSIS #include FILE *popen(const char *command, const char *type); int pclose(FILE *stream);DESCRIPTION The popen()
View gcc version commands in the current system in CentOS1. gcc-v (Display the programs invoked by the compiler)
[Root @ localhost/] # gcc-vReading specs from/usr/i386-glibc-2.1-linux/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specsGcc version egcs-
CentOS environment variable settings~ /. Bash_profile &&~ /. Bashrc
"/Etc/profile ","~ /. Bash_profile "and other configuration files will be automatically executed.
The execution process is as follows:
When logging on to Linux, first start
CentOS adds sudo permissions to usersWhen sudo is used, the system prompts "xxx is not in the sudoers file. this incident will be reported. XXX is your user name, that is, your user name does not have permission to use sudo. You just need to modify
Python Thread Programming-synchronous queue
We often use two threads in the producer/consumer relationship to process data in a shared buffer. For example, a producer thread accepts user data into a shared buffer and waits for a consumer thread to
Python Regular ExpressionMetacharacters 1. Match metacharacters:
. It matches any character except the line feed character. In alternate mode (re. DOTALL), it can even match the line feed.^ Match the beginning of a row. Unless the MULTILINE flag is
One linux Command every day
2014-08-
Redirection symbol greater than sign: redirects a command execution result (standard output, or error output, which is originally printed on the screen) to other output devices (files, open file operators, or a
Create a local yum source on redhatlinux51. Mount the optical drive
[Root @ rh5rac1 ~] # Mkdir-p/mnt/cdrom
[Root @ rh5rac1 ~] # Mount/dev/cdrom/mnt/cdrom2. Copy the content of the redhat disc to the local hard disk.
Because the directory for
Lnmp 404 Configuration1. Enable 404 page response1. Enter the nginx configuration directory
cd /usr/local/nginx/conf
2. Modify the nginx. conf file
vi nginx.conf
3. Add a string
Fastcgi_connect_timeout 300; fastcgi_send_timeout 300;
Disable IP address access for Nginx in CentOS
We will encounter a lot of malicious IP attacks when using it. In this case, we need to use Nginx to prohibit IP Access. Next, let's take a look at the default Nginx VM accessed by the user via IP
Nginx implements load balancing in this way
Generally, multi-server load splitting is used to solve server load problems. Common solutions include:
The website portal is connected to the server load through sub-stations (such as the sky software
Description of Nginx Configuration Structure Division
Http://developer.51cto.com/art/201003/190953.htm Nginx configuration requires some skills, we will find these in the constant use and maintenance, next I will introduce you to the Nginx
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