Using Nginx as a Web server may be terrible if logs are not processed properly ~ Nginx can be modified. conf finds access_log: access_log/dev/null; error_log/dev/null; in this way, they are all thrown into the system black hole, and they do not need
Print the 10 most commonly used commands. Bash tracks the commands that you have previously entered and stores them in files ~ /. Bash_history. Www.2cto. comJava code #! /Bin/bash # File name: top10_commands.sh # Purpose: list the 10 most commonly
Several differences between Vi and Vim 1. multi-level undo we know that in vi, pressing u can only undo the last command, while in vim, undo it unlimitedly. 2. ease of use vi can only run in unix, while vim can run on not only unix, windows, mac,
Run the following command to check port usage in Linux: lsof-I: & lt; port number & gt; for example: www.2cto. comLinux code [root @ SonarServer1user0] # lsof-I: 80COMMANDPIDUSERFDTYPEDEVICES...
In Linux, use the account used to start the service to
One linux command every day (7): mv command link: One linux command every day (1): ls command http://www.2cto.com/os/201210/163049.html ; One linux command every day (2): cd command http://www.2cto.com/os/201210/163050.html One linux command every
The log file of nginx does not have the rotate function. If you do not process it, the log file will become larger and larger. Fortunately, we can write an nginx log cutting script to automatically cut the log file. The first step is to rename the
Linux devices and their corresponding document names, hard disk partitions, and related knowledge (1) in Linux systems, each device is treated as a file. First of all, emphasize that in Linux systems, almost all hardware device files are in the/dev
Linux startup graphic interface command line linux command line startx startup graphic interface whoami view current username ls list all files and directories under the current directory www.2cto.com start command line right-click in graphic
If the system is migrated to the linux platform, the user cannot log on to the solution. Description: The system is migrated from the Windows platform to the linux platform. after importing the database, click log on without any response. Cause:
Linux crontab: Shutdown name: crontab permission: all users use: www.2cto. comcrontab [-uuser] filecrontab [-uuser] {-l |-r |-e} Description: crontab is used for usage...
When linux crontab is used, the shutdown name is set to crontab. permission:
The linux command chmod755 indicates that chmod is the command for setting file permissions in Linux. the following number indicates the permissions of different users or user groups. Generally, there are three numbers: the first number indicates
Set the number of file handles and virtual memory in ubuntu permanently. Java code 1. open/etc/security/limits. conf, which contains detailed comments. find the following settings (insert if not) * softnofile51200 * hardnofile51200www. 2cto. com2.
Because of the experimental requirements, we need to install the linux system on the thinkpadx220 small version. ubuntu is preferred for ease of use. However, the installation was difficult: x220 itself had no optical drive, and the network speed of
Linux can be roughly divided into two categories: RedHat branch redhat, centos, mandrake, mandriva, and domestic red x. 1. Common installation package format rpm packages, the command for installing the rpm package is "rpm-parameters". Package
LinuxCentOS6.0 is the latest server system in the CentOS family. The following is a detailed installation tutorial. Tool/raw material: a LinuxCentOS6.0 CD or an ISO image file. Step/Method: 1. select "Installorupgradeanexistingsystem" on the CD boot
Step 1: log on to mysql with an account [root @ CentOs5 ~] # Mysql-uroot Step 2: change the user database mysqlusemysqlReadingtableinformationforcompletionoftableandcolumnnamesYoucanturnoffthisfeaturetogetaquickers
Step 1: log on with an
I. CentOS introduction CentOS is one of the Linux releases. it is secure, stable, and efficient. it is one of my favorite releases of Linux. CentOS is compiled based on the open source code of RedHatEnterpriseLinux, which is essentially different
In the CentOS system, software installation programs are complicated, but there are two most common types: 1) the source code of the software, you need to compile it yourself. This software installation package is typically a gzipcompressed
Today, the network is cut off and a large number of UDP packets are sent out. the tcpdump command is used in the hometown introduction. the tcpdump command is first installed in apt-getinstalltcpdump (Debian of the Gateway system, then use the
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