Install: libevent-2.0.13-stable.tar.gz memcached-1.4.7.tar.gz 2. first install libevent: # tar zxvf libevent-2.0.13-stable.tar.gz # cd libevent-2.0.13-stable #. /configure-prefix =/usr # make install 3. test whether the libevent is successfully
I. Preparations: Check the nginx installation information version (this depends on the actual installation location. The following assumes that nginx is installed under/usr/local/nginx)[Root] #/usr/local/nginx/sbin/nginx-VView configure arguments
Vi common command wq save quit q! Exit esc without saving: return to command mode INSERT command a insert text after the cursor A add text at the end of the line I insert text before the cursor I insert text at the beginning of the line o Insert new
Query who logged on to the system [root @ lyy ~] # Who root tty1 root pts/0 (192.168.197.1) the first column is used to log on to the user. The second column is the terminal name. The third column is used to query the last logon time of each user.
1. vi Editor Shortcut Key memo [Ctrl] + [ud] Move up/down half page n shift right n characters H/M/L move to the top/center/bottom line u [Ctrl] + r restore and redo. (point) Repeat the previous action: e! Restore the file to the original state
Many users generally choose Windows + Ubuntu dual-system. After a long time, the boot menu will become increasingly bloated as the Ubuntu kernel continues to upgrade. The following describes how to delete unnecessary kernels (earlier versions) from
In Ubuntu, the su command for switching to the root permission is switched between users. It can be switched from a common user to a root user, or from a root user to a common user, when a common user switches to the root user, the authentication
In Linux environment variables, PS1 is an important environment variable: PS (Prompt Sign): Refers to a command Prompt. For example, on a ora 12 terminal: [liutao @ liutao ~] $. When setting the PS1 environment variable, we need to use some preset
The chmod (change mode) function of a linux Command every day is to change the file or directory permissions. Chmod -- help can be used to view specific parameters. Www.2cto.com 1. Permission 1. linux has general and special permissions. General
The sort command of a linux Command per day is used to sort files or standard input content in behavior units. Sort -- help can be used to view command parameters. The sort [Option] [file] www.2cto.com option has the following options:-B ignores
The implementation of the Linux vim all-choice function has also been found to see if there are any quick methods to select all, but many of them are repeated and incorrect on the Internet, such as: 1, $ y. What is this? If you want to write it, you
In vim in Ubuntu, The ctags configuration method ctags can create an index of the source code tree, allowing programmers to quickly locate functions, variables, macro definitions, and other locations during programming to view the prototype. run the
Linux System Service 1 ---- rSyslog Log Service 1 log 1 log is a plain text file used by the system to record some information related to the system runtime. 2 logs are used to save the running status of related programs, error information. To
The unix and dos formats in vim were converted a long time ago. The old-fashioned telex typewriter used two characters to create a new line. One character moves the slide Frame back to the first place (called carriage return, ), and the other
Dynamic Adjustment of linux partition size-lvm Summary: LVM is short for Logical Volume Manager (Logical Volume management). It is a mechanism for managing disk partitions in Linux. It is mainly used to help us solve the problem of partition
Common Vim configurations (~ /. Vimrc) "This must be first, beacuse it changes other options as a side effect. set nocompatible "show line numbersset number" display "-- INSERT --" when entering insert modeset showmode "incremental searchset
Disable IPV6 in centos 6.2In Linux, IPv6 is supported by default, but enabling IPv6 will affect the network performance of some application servers that are not well supported by IPv6, after all, the current network switching device is not IPv6. How
Bash shortcut keys run in Bash shell. Note the following shortcut keys to greatly improve the efficiency of your command line operations. Edit command Ctrl + a: Move to the beginning of the command line Ctrl + e: Move to the end of the command line
Identity role domain (type) identity role domain James male in male restroom small red female in female restroom enable selinux setup to modify the configuration file # vim/etc/selinux/configSELINUX = enforcingSELINUXTYPE = targeted to ensure normal
Sed-Delete one or more lines from a fileSyntax: C code sed '{[/] | | [/]} d' sed' {[/] [, ] [/] D' /... /= delimitersn = line numberstring = string found in lineregex = regular expression corresponding to the searched patternaddr = address of
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