1,InstallLibevent
If you want to use http for download, you need to install this component.
2,InstallFastdfs
3,ConfigurationFastdfs
4,InstallNginx
Problem 4.1: a 404 error occurred when accessing the original resource URL after nginx is installed
# Quick login online server script> Background environment: Previously, it was a very unpleasant issue to log on to the faulty machine and view the fault. The password is very high. To prohibit root login, you can only copy and paste the password
Just like private cars and public buses:
Private cars do not need money. Public Transportation requires money.
Private cars should be opened if they want to open, while windows is a closed software, which requires the driver's consent to sit
The
Course connection: Common commands in LinuxDate and Time Command date display date and Time Format control: + % Y (year) % m (month) % d (day) modification time: date-s "hour: minute: second "hwclock (clock) display hardware clock time cal view
In Linux/Unix, only the daemon can continue to run without the terminal. When a common process closes the terminal, it exits because it receives the SIGHUP signal (suspension signal. After the terminal exits, the background program started by the
The pipeline command operator is: "|", which can only process the correct output information transmitted through the previous command, that is, the standard output information. For stdandardError information is not directly processed. Then, pass it
The Linux kernel has been compiled three times. Every time you compile the Linux kernel, you need to go to the Internet to find the compilation steps. I feel that all the information on the Internet is messy, and not all of them are suitable for
1. The date command is mainly used to display and modify the system time.
2. The hwclock command is used to view and set the hardware time and synchronize the hardware time and system time.
# Display hardware time hwclock # set hardware time hwclock-
In a recent project, the partner requested to remove spaces in html and did not want to change the code. Therefore, Baidu used apache and the nginx module to remove spaces and tabs in html. Below is a record:
I. nginx
Nginx can implement this
The following lists important partitions in Linux and their functions./Bin: Bin is short for binary;/Boot: Stores some core files used to start Linux;/Root: Root (super administrator) user home directory;/Sbin: S is the Super User, which stores the
4 Ways to Free Up Disk Space on Linux http://www.howtogeek.com/185173/4-ways-to-free-up-disk-space-on-linux/
Recently, I 've been bored with all sorts of things. I saw this article about how-to geek, but I have been paying attention to this issue
Sysctl net. ipv4.conf. default. rp_filter = sysctl net. ipv4.conf. all. rp_filter = sysctl net. ipv4.ip _ forward = sysctl net. ipv6.conf. all. forwarding =
Or directly append it to/etc/sysctl. conf.
If a device is not hosted, the network is
Use root to log on to Ubuntu
By default, users are not allowed to log on as root in Ubuntu. You can find the following methods on the Internet:
1. First set the root password, use the existing Administrator Account to log on to Ubuntu, execute the
In linux, the serial port debugging tools mainly include minicom and kermit. For installation and use of minicom, see the following blog: http://www.cnblogs.com/tanghuimin0713/p/3562218.html to introduce the installation and use of kermit:1. Install1
1) First, right-click the partition on the computer -- manage -- disk management ()
The size of the disk allocated to Ubuntu should be preferably (20 GB or above) not too small. Please note that ubuntu and windows file systems are completely
Linux hardware information # uname-a # view kernel/operating system/cpu information # head-n 1/etc/issue # view OS version # cat/proc/cpuinfo # view cpu Information # hostname # View computer name # lspci-TV # list all pci devices # lsusb-TV # list
Recently, a centos host is used on the campus network, and a proxy is required to connect to the network. If it is a windows host, set it in the Internet option, however, in the linux system where any configuration file needs to be changed, I am
If the created project contains multiple files (especially when the size of the compiled image exceeds 4 K), you must adjust the file sequence in the link order column, it mainly refers to the sequence of the first few files. For details, see the TQ2
Tiny6410 brush Guide describes how to use USB to download uboot, kernel, filesystem to the nand flash of the Development Board, and the dnw tool for downloading USB files. Unfortunately, this tutorial provides the usage of the dnw tool in windows.
Ubuntu & VMware Virtual Machine Installation
VMwareUse the latest version:VMware Workstation 10.0.1.41495;
UbuntuUse the latest version:Ubuntu-12.04.4-desktop-amd64.iso;
Note:32-bit Ubuntu error reporting. We recommend that you use a 64-bit
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