Here to do a simple nginx load, installation nginx here is not much to say, we assume that the scenario has been installed on the Nginx:1) Query the Upstrea load Balancer module in Nginx is installed by default. Enter the Nginx source directorycan
Linux is to control the file deletion by the number of link, the file will be deleted only if there is no link in the file. In general, there are 2 link counters for each file: I_count and I_nlink. I_count the meaning of the current file is the
Directory
LS: List directory
CD: Switch directory (cd ~ means back to the directory that is the root directory, CD. Indicates up-level)
PWD: Displays the current directory
mkdir: Create a new directory
RmDir: Delete an empty
Linux Optimizations:1, the establishment of ordinary accounts, the use of ordinary users landing.2, to deal with SELinux.3, the processing firewall.4. Streamline start-up service. Keep Sshd,network,crond,rsyslog,sysstat.5, the Linux minimum security
In CentOS want to see the release information, entered the LSB_RELEASE-A command but error, by entering the following command to installYum Install Redhat-lsb-yThen continue to view the release information[Email protected] ~]# Lsb_release-alsb
There is a service in the Linux system that is used to perform periodic tasks, which is the Crond service. command to execute this serviceis the crontab order. and the task scheduling under Linux is divided into two categories: System task
1. Adding a new hard disk to a Linux serverA fdisk/dev/sdb or a pvcreate/dev/sdb.MNP1T82WQTwo mkfs.ext3/dev/sdb1 or mkfs-t ext3/dev/sdb1 or mkfs-j/dev/sdb1Three MKDIR/NEWFSMount/dev/sdb1/newfsAdd swap1. Hard disk (primary partition, with logical
Hello everyone!My name is Li Shan, from Hunan Xinhua. You may think I'm a girl when I hear that name. Please do not be deceived by my name, in fact, I am a man. Today I made up my mind to report an old boy. Linux operations classes.I've actually
Hello everyone!My name is Li Shan, from Hunan Xinhua. You may think I'm a girl when I hear that name. Please do not be deceived by my name, in fact, I am a man. Today I made up my mind to report an old boy. Linux operations classes.I've actually
1: Command Introduction:Touch is used to create files or to modify the timestamp of files and directories, including access time and change time.2: Command format:touch [Options] File3: Command parameters:-A or--time=atime or--time=access
The main content of this chapter is the debugging technology of embedded Linux. For complex Linux drivers and libraries such as HAL, you need to debug them using a variety of methods. First, print kernel debug information:PRINTK The function is
General partitioning Scheme:/remaining hard drive sizeSwap 1.5 times times/boot 100m-200mDB and storage: There's a lot of important data/data/remaining hard disk size, put data/50-200gSwap 100M/boot 100MPortal Big website:/50-200gSwap 1.5 times
Linux Mint 17 LibreOffice Application Software
By default, some application software is installed in Linux Mint for your convenience. This section describes the default Office software installed in Mint: LibreOffice.
LibreOffice is developed from
How to install Visual studio Code in Ubuntu 14.04
The previous article briefly introduced how to create and run the hello world Program on Ubuntu 14.04.
This article describes how to install Visual studio Code in Ubuntu 14.04.
We recommend using
Usage of make in Linux
In the Linux environment, it is easier to use the GNU make tool to build a project of your own. The compilation of the entire project requires only one command to complete the compilation, connection, and final execution.
Django Management Interface
Enable the management interface for the newly added books Application
1. Modify the project/setting. py file
(A) Add 'django. contrib. admin' to the INSTALLED_APPS configuration of setting (which is already available by
LAMP environment Deployment Guide
1. install apache
1) install httpd:
Yum install httpd
2) Start the httpd service
Service httpd start
2. Install mysql
1) install mysql
Yum install mysql-server
2) Modify mysql encoding to utf8
Vi/etc/my. cnf
Add the
Compile and install LNMP in CentOS 6.8
Build Environment: CentOS 6.8, nginx 1.9.14, mysql 5.6.23, php 5.6.17
I. Purpose: LNMP has become a mainstream web Server construction solution. The company's ECstore and Discuz plan is used to replace Zabbix
Compile and install Apache2.4 and PHP7 in Ubuntu 16.04
Compile and install Apache2.4 and PHP7 in Ubuntu 16.04, and install the PDOmysql extension.
1. Compile and install apache2.4.20
1 Step 1:./configure -- prefix =/usr/local/httpd -- enable-so
2
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