Nginx disable logs

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 10 frequently used commands

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

Parameter used frequently when installing Ubuntudpkg software

Ubuntudpkg install software often use parameter 1, dpkg -- infowine-thunder_0.5-5_all.deb (list package decompressed package name, detailed information) is as follows: newdebianpackage, version2.0.size8503002bytes: controlarchive... Ubuntu dpkg

Differences between Vi and Vim

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,

View port usage in Linux

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 (7) every day: mv command

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

Nginx log cutting

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 device and corresponding document name, hard disk partition and related knowledge

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 graphical interface command line

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

The user cannot log on to the linux platform.

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:

Shut down linux crontab at a specified time

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:

Linux command chmod755

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

Permanent setting of file handles and virtual memory in ubuntu

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.

Experiences of installing Ubuntu

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 system yum or apt or get method

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

Centos6.0 installation graphic tutorial

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

Change the root password of the MySQL database in CentOS

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

Install CentOS6.2 on a virtual machine

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

How to install software in CentOS

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

Tcpdump command instructions

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

Total Pages: 2732 1 .... 2036 2037 2038 2039 2040 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.