Not to mention nonsense. First, add fastcgi_intercept_errorson to http {} or sevice {} in the nginx configuration file; then modify error_page404/Error404/404.html; the following location/404.html {root/var/www/web;} can be...
Let's get
1. install vsftpd: run yuminstallvsftpd in shell to install vsftpd. 2. modify vsftpd configuration: find vsftpd under/etc/vsftpd. conf file, modify the default configuration, including the listening address and port, whether to enable tcp, psav mode,
. Tar unpack: tarxvfFileName.tar package: tarcvfFileName.tar DirName (note: tar is packed, not compressed !) & Mdash;
. TarUnpack: tar xvf FileName.tarPackage: tar cvf FileName.tar DirName(Note: tar is packed, not compressed !)---------------.
Sometimes, we pay special attention to program performance, especially the underlying software, such as drivers and OS. In order to better optimize the program performance, we must find the performance bottleneck and use the steel on the blade to
Cron is a scheduled execution tool in Linux. it can run jobs without manual intervention. Since Cron is a built-in service in Linux, but it does not automatically get up, you can use the following methods to start and close this service:/sbin/serv...
Q1. what is system call? Why should we introduce system calls? A: 1) The operating system provides A set of interfaces for interaction between user-mode processes and hardware devices (such as CPUs, disks, and printers, these interfaces make the
I. Linux partition concept I will first introduce the partition concept in linux, but it hurts me from the beginning. In Linux, it is stipulated that each hard disk device can have a maximum of four primary partitions (including extended partitions).
Cp-copy file or directory-r recursive copy directory, and copy all files under the Directory to the target location-d copy to keep the file link-f overwrite existing files, do not give a prompt-I copy prompt, and ask when copying we can be the same..
In the backup. sh File: BACKUP & quot;/home/gfdpsdev/backup/dps_backup & quot; TIME $ (date + % F) BACKUP_PATH/home/gfdpsdev/backup/dps_backup/$ TIMEif [! -P $ BACKUP_PATH] thenmkdir
In the backup. sh file, write the following:
BACKUP =
Duplicate rows are often deleted during text processing. the following three methods are the first: sort + uniq. Note that uniq alone is not acceptable. Sort-ntest.txt | uniq second, with sort + awk command, note that awk alone is also not good, the
It's a year before the new year. I haven't shared it with you for a long time, and my work is too busy. Anyone using linux will know the find command. The following describes how to use the find command in linux. Here is a quick search tool locate...
1. check all users in Linux. there are no convenient commands like netuser and netlocalgroup in windows to manage users. the Xwindows interface is not mentioned. (1) in the terminal. you only need to view the/etc/passwd file. (2) Check the third
Note: This document uses FreeBSD8.2 and 7.4 as the template. The introduction of BSD is not mentioned, and there are a lot of Chinese materials. In fact, the BSD system has appeared very early. it should be earlier than Linux. if it is not a problem
When using linux, you often need to enter a password. when the password is long, it is a nightmare to use a long and weird password, especially after setting denyhost, if the login fails several times in a row, the system will refuse to log on again
Every time you install the linux operating system, you need to download jdk, install jdk, and set environment variables. this time, you have to write a script to complete viewplain #! /Bin/bashchmodu + xjdk-6u29-linux-i586.bininstallPath/usr/javaif [
When echo needs to change the color, use the parameter-eformat: echo-e & quot; \ 033 [background color; Font color m string \ 033 [0 m & quot; for example, echo-e & quot; \ 033 [41; 36msomethinghere \ 033 [0 m & quot; where 41 represents the
You can use the man command or command -- help to understand its specific parameters and Operation steps. here we will briefly summarize the meanings of common commands: mcopy copy MS-DOS file mdel delete MS-DOS file mdeltree delete MS-DOS file and
In Linux, many operations are performed on the anti-linked list, including/linux/list. h is a key file. below we record several important linked list operation macros: list_for_each_entry (pos, head, member). function: cyclically traverse the member
It has not been successful for a long time. I checked it online, but it turned out that the permission was not enough. Log on as the root user. Enter the su and password on the terminal before installing the software. From regecode Cainiao's master
The encoding format is different, and garbled characters often occur when fedora opens text files in windows. Solution terminal: enter the command $ gsettingssetorg. gnome. gedit. preferences. encodingsauto-detected & quot; [& amp; #39; UTF-8 & amp;
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