How does Linux automatically delete archived log files? Linux automatic removal of archived log files tutorial

1. Log deletion policy Automatically deletes archive logs and backup files 7 days ago. 2. Scheduling plan 0 0 * * * nohup sh/db2backup/script/auto_rm_logs.sh & 3. Log Deletion script

How to compress and optimize JPG and PNG images under Linux

Jpegotim compression jpg pictureInstall JpegotimIf you have a epel yum source, use the following command The code is as follows: # yum Install Jpegoptim Compress picture Commands The code is as follows: #

Successful SVN server tutorial under Linux

svn

The steps are as follows: 1:yum install-y Subversion2:svnserve–version3: [Root@singledb ~]# MKDIR/U02/SVN[Root@singledb ~]# svnadmin create/u02/svn/repos2–davesvn for version library name 4: Configure these 3 files, all to configure! After you

Linux Coreseek installation and use of the detailed method

General site need search function, if it is Php+mysql site, recommend the choice of Coreseek, if the Java site is recommended to use Lucene,coreseek is a very good Chinese full-text search/search software, support high-speed indexing, have a strong

Tutorial on postfix configuration installation in Linux

Install Postfix The code is as follows Copy Code Yum install postfix System-switch-mail Set Postfix The code is as follows Copy Code Vi/etc/postfix/main.cfMyhostname = ha.xxx.kh.edu.

Linux Modify User Password method introduction

If you are logged in as root, modify the root password. Just enter The code is as follows Copy Code passwdwill appear:New Password:Retype new Password: Press the prompt to confirm the password.If you want to

Linux system AddUser (useradd) Add user-related commands

1, adduser add users. Root permission is required to perform OH. 1. Role The Useradd command is used to establish user accounts and create a user's starting directory, which is superuser. 2. Format Useradd [-D home] [-s Shell] [-c comment] [-m

Linux system under VI Common command finishing

VI is divided into three modes, namely "General mode", "edit mode" and "Command line command mode". L General mode: VI processing files, the first entry to the file is a general mode. In this mode, you can use the "up or down" key to move the

Cache usage Check script under Linux system

The performance impact of the Linux cache Pagecache is critical, but how well we use it in the actual system, especially with regard to the utilization of each device. From the following figure we can see very clearly: We know that IO request is

Linux under Apache support Chinese path or file configuration

ftp

Download a module The code is as follows Copy Code wget ftp://ftp.aconus.com/fc5/mod_encoding/mod_encoding-2.2.0-1.i386.tar.gzTar zxf mod_encoding-2.2.0-1.i386.tar.gzRPM-IVH mod_encoding-2.2.0-1.i386.rpm

Linux Network configuration graphics and text detailed

After installing Linux, it is necessary to do some simple configuration to normal use, such as network, firewall, security settings and so on, but also need to install some required software. Only after this series of configuration can be considered

View Apache Current connection number command in Linux

View the number of httpd processes (that is, the number of concurrent requests that Apache can handle in prefork mode): Linux command: The code is as follows Copy Code Ps-ef | grep httpd | Wc-l Return results

Linux Install mysql5.5 binary package steps detailed

Today to tell you how to install the MySQL binary package, so as to avoid in their own test environment to compile the installation, waste a lot of time, well, to see the tutorial.System: CentOS 5.xRequired Packages:

Linux uses the. htaccess binding domain name to subdirectories

First have to bind the domain name binding, the site you need to resolve to the designated IP address, followed by the Web site management panel, binding domain name for the site, and finally edit the configuration. htaccess files, it's OK..

Linux Configuration rdate Time Server method

When configuring multiple servers, it is often necessary to keep the time between each server synchronized, if the server has extranet environment, can be directly with the external time server update time, you can use the rdate command update time:

The Linux tar cannot be packaged. hidden files such as htaccess

Before packing the folder, always ignore the. htaccess file, which is very uncomfortable for the whole station backup!! Packages all files in the current directory (not including. htaccess and other hidden files) into xxx.tar.gz The

Total Pages: 5467 1 .... 4473 4474 4475 4476 4477 .... 5467 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.