Original address: http://blog.csdn.net/qq_23598037/article/details/79505398
optimization of Nginx
1. gzip compression Optimization
2. The expires cache is still
3. Network IO Event model optimization
4. hide the software name and
first , the introduction of monitoring the Linux system memory usage, the use of "free" is the most direct. View the machine's memory usage information "/proc/meminfo"
two. Analysis of 1. "Free" Let's look at one of the following outputs:
Free–m
Http://blog.chinaunix.net/uid-1757778-id-2865816.html
You often need to kill multiple processes in your work, and if these processes have common characteristics, you can kill them with a single command. For example, to clear all remote
question:
When the PIP version is too low, a "command" Python setup.py egg_info "failed with error code 1 in/tmp/pip-build-r1lvmo/ipython/" appears when the PIP command is executed This issue reminds you to upgrade the new PIP with the "Pip Install-
This paper takes CentOS system as an example to explain. Reboot command: reboot: Reboot shutdown-r now: Reboot immediately (root user) Shutdown-r 10:10-minute automatic reboot (root user) Shutdown-r 20:35: In time 20 : 35 time Reboot (root user use)
1. Description of the problem
VMware Workstation Unrecoverable Error: (VMX)
Exception 0xc0000006 (disk error while paging) has occurred.
Problem Reason:
Slightly
Solution:
Remove or modify the virtual machine directory to expand to a. vmss file,
First, DNS resolution process
To resolve the www.baidu.com domain name for example. When the system needs to invoke the data of the www.baidu.com host, send an instruction to query the domain name of the www.baidu.com.
(1) The system has a hosts
Introduction to Linux Web Site configuration features
Many people can use different ports and different web directories.
Visit the website such as: HTTP://HOST:PORT/A/B/C/D/C will redirect to index.php.
Use: $_server["Redirect_url"], you can get "/a/
Using the source insight to build a Linux kernel code engineering concrete steps are as follows:
(a) Open source Insight, click the "Project" button, pop-up drop-down menu.
(ii) Click the "New Item" button, pop-up the "New Project" dialog box,
Under Linux, the Start, stop, and restart of a services are usually controlled by scripts in the/ETC/INIT.D directory. However, when you start or change the run level, you are searching for scripts in/ETC/RCX.D. where x is the number at run level.
It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.
Tree
function Description:Lists the contents of the directory in a tree chart.Syntax:Tree
Usage: ${str%word} #最大限度的获取word左边的子串 ${str%%word} # Minimum gets the substring ${str#word} to the left of Word #最大限度的获取word右边的子串 ${str# #word} #最小限度的获取word右边的子串 ${#str} #获取字符串长度
Example:
file= "Abc.def.ghi"
#最大限度获取. * substring on the left
>
the tutorials on the web are mixed, and they are really problematic, and I'm here to upgrade my exclusive approach. This method does not require the installation of the Setuptools PIP because it compiles well and the Yum can be used normally.
Yum
Today in their own Ubuntu10.04 system installed a macbuntu, a variety of features are simulated very lifelike, installation is very simple, is to run an installation script, installation script will automatically install Compiz Extras, Global Menu,
View Linux System Configuration
To view memory:Top, free-m, Cat/proc/meminfo Vmstat
View CPU InformationCat/proc/cpuinfoDisplay current hardware informationsudo lshwGet CPU serial number or motherboard serial number#CPU IDsudo dmidecode-t 4 |
Partitions under Mount win under the Linux partition
1. FAT32 Partition automatic Mount
$SU # switch to root user
#mkdir/mnt/c #在/mnt to create a directory to mount the C disk.
#gedit/ect/fstab & #编辑磁盘挂载配置文件.
In the Open Text editor, add the
Http://blog.chinaunix.net/uid-26000296-id-3986914.html
Linux (Redhat as a template) to add a boot from the script there are two ways, first to simple;First, add in the/etc/rc.localIf you don't want to stick the script, or create a link or something,
Introduction to Linux File system directory structure
For Linux, its tree structure is different from Windows, Windows can have multiple partitions, each partition has a root, but Linux has only one root, all other files, directories or hard disk
Summary of permissions: for ordinary files:r:read 可读,表示具有读取、阅读文件内容的权限w:write可写,表示具有新增、修改文件内容的权限(是否可以删除看上级目录的权限)1) 如果没有r,那么vim会提示无法编辑(可强制编辑,echo可以重定向编辑或追加)2) 如果没有r,那么执行他也会提示权限不足3) 删除文件(修改文件名等)的权限是受父目录的权限限制的,和目录本身权限无关x:execute 执行权限,For the
The first step: the entire configuration process of the network card is:Execute Setup command-->network configuration--> Device configuration-->eth0 (temporarily select DHCP)--Configuration complete Click "OK"--"save" -->save&quit-->quit, so you
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