Install Nginx in Linux and Nginx in Linux
Nginx Installation
Module-dependent Nginx depends on the following three packages
1. the gzip module requires the zlib library (download: http://www.zlib.net /)
2. The rewrite module requires the pcre
Linux clears disk space and linux clears disk space
My environment:
Computer Model: Thinkpad x240
Operating System: Ubuntu14.04
Kernel version: 3.20.- 46-generic
The command for viewing the remaining space on this disk is df-h.
'
/Dev/sda1
Linux limits user behavior and linux limits Behavior
The number of people on the server is large recently, and resources are insufficient. It is highlighted that the hard disk space is often insufficient because the user does not clean up the disk
Study Linux notes (6) -- process operations, linux --Process scheduling and management:
A process is the basic organizational unit of program resources in the operating system, including program resources, data memory, address space, and other
CentOS6.6 common users use the sudo command to borrow root User Permissions
I. Description
A common user uses the tar-xzvf ns2.35.tar.gz command to decompress the file. The system prompts that the file cannot be found and the directory cannot be
Linux shell string truncation and splicing
Linux string truncation is very useful. There are eight methods.
Assume that the variable var =
1 # intercept, delete the characters on the left, and retain the characters on the right.
Echo $ {var
Set the SecureCRT session buffer size
When SecureCRT is used, the default number of rows to be rolled back is 500. You can adjust the configuration as follows:
1. Enable option-> session Option
2. Configure the buffer in scrollback. The maximum
Use 'slay 'to kill all processes of a user.
Slay is a command line tool written by Chris Ausbrooks to kill all running processes of a specified user. Slay is useful for system administrators to find out users who should not run processes.
Slay has
FreeRadius installation process record
Note: Please do not try it before reading it!Install with apt-get
Enter the following command:
sudo apt-get install freeradius
When apt-get is installed, there is no radiusd program. However, in man freeradius,
Centos6 is upgraded to 2.7 By default using python2.6
This article describes how to upgrade CentOS6.3 from Python 2.6 to 2.7.6.
Because the old version of Python in CentOS has been deeply dependent, You Cannot uninstall the original Python and can
Nic added to centos
I have done a silly job. I want to add a new online card to the Server, but it has never been possible,
Therefore, it is natural that CentOS 6 has additional requirements,
Therefore, I checked the materials for the past two
Detailed explanation of CentOS Start and Stop servicesService Introduction
Linux system services are system tasks that are automatically loaded when Linux is started and automatically stopped when Linux exits. During Linux Startup, we can see a lot
CentOS User Account Management
1. User Management
/Etc/passwd user name configuration file/Etc/shadow User Password Configuration File
(1) structure of/etc/passwd:
Username: password: uid: gid: commit: user home path: shell
Note:
Uid and gid are
Use nmcli to configure the NIC aggregation link in CentOS 7The CentOS7 series greatly changes the configuration of multiple NICs. The following are the configuration notes based on the actviebackup properties of the RECL-7.0 series.[Root @ server0 ~]
Three search commands in linux
There are many commands in linux to view the file path. Here we will summarize them a little.
1. find command
The find command should be the most familiar SEARCH Command and the most powerful search command in linux.
Linux Command Learning Article 0-Origin
Yesterday, when I used curl to send a simple HTTP request for testing, I found that every time I used it, I checked others' examples on the network to remember how to use it. This is too inefficient, although
Shell in Linux
One Variable
Echo $ a: output variable a. If it does not exist, a variable a is created.
Unset a: Cancel variable
1.1 environment variables:
Env: View descriptions of environment variables and common variables
HOME: Your main
High IO wait tracking in CentOSThe first sign of a high IO wait problem is the average system load. The Calculation of Server Load balancer is based on the CPU utilization, that is, the number of processes that use or wait for the CPU. Of course, on
Install Linux on the vmwarevm, change the Chinese system, and update the yum installation input method.
When I used VMware Workstation11 today, I encountered a "problem". After selecting the system disk (I used the iso image centos6.5), VMware will
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