Use logrotate to delete and compress logs

Using logrotate to delete and compress logs logrotate is a built-in scheduled execution tool in linux, started and configured by cron. You can use this tool to manage logs. For example, you can use the following configuration to manage tomcat logs

CentOSSVN client application

1. install TortoiseSVNyuminstall-ysubversion in CentOS II. SVN client Command 1. run the file checkout command to the local directory svncheckoutpath (path is the directory on the server), for example: svncheckoutsvn: // 192.168.1.1/pro/domain

Install and configure the telnet service in RHEL6

1. install the telnet service. 1. check whether the software package is installed. run the following command: suyumlistinstalled | grep-itelnet to check whether telnet-server is installed. If yes, go directly to 2. start the telnet service. 2. run

One linux command per day ls

Ls is another linux command that I think is most commonly used. The main function is to list the file/directory information under a directory. Ls lists the files/directories in the current directory, excluding files starting with. and sorted by file

Ubuntu11.10 install tftp + nfs + samba + wireshark

1. when installing tftp for embedded development, you can use the tftp (Simple File Transfer Protocol) transmission project to run on the target machine. (1) install the required software package

Memorandum of common linux Commands

Install the rz command: yuminstalllrzsz install vim: linuxyumvim delete: rm-rf directory name rm-f file copy:/bin/cpjdk-6u31-linux-x64.bin/home copy the file to the home directory. Www.2cto. comvi: insert... Install the rz command: yum install lrzsz

Debian installation jdk-6u31-linux-i586-rpm.bin summary

I installed it once and installed it for the second time. it took so long to record it ..... 1. first install alien2. modify jdk-6u31-linux-i586-rpm.bin permissions 3. the alien-ivckjdk-6u31-linux-i586-rpm.bin then reported the error: 1dpkg-deb:

How to set IP addresses in LINUX

Static method note: all operations use root user modify ip: edit File/etc/sysconfig/network-scripts/ifcfg-eth0DEVICEeth0 // device name, do not modify www.2cto. comBOOTPROTOstatic // do not modify BROADCAST10.10.22.255 //... Static method note: all

LinuxNFS configuration: automatically enable NFS upon startup and its principle

The NFS server has been configured for automatic start at NFS boot, but we need to restart the NFS service after the machine is restarted. To avoid this problem, we need to enable the NFS and portmap services to automatically start at startup, so

One linux command per day cat

The cat command outputs the file content to the console or another file. You can view the command parameters without paging cat -- help. CatfileName1fileName2 outputs the content in the fileName1 and fileName2 files to the console. Of course, you

How to solve the problem of question mark by pressing the return key in Linux

Environment: VirtualBox4.1 + RedHatLinux6 problem: Press the backspace key to display question marks: Problem analysis: Misuse of the reset command. Www.2cto.com solution: set environment variables (set in the text interface, which is similar to the

Use/dev/zero to create a virtual hard disk

Using/dev/zero to create a virtual hard disk/dev/zero is a special device in Linux. every time you read it, it outputs a byte (in the editor, all of them are 0 ), now let's create a 10 m data file and run the file command to view [root @ xx ~] #

Flash Player installation in Ubuntu10.04

Install and download flashplayerof Deb under chrome, which is for tar.gz forlinux. you can use either the official website or the skysky website. After decompression, there will be the libflashplayer. so file. The size of my version is 11.4 MB.

Head of a linux command every day

The headhead command of a linux command is used to display the first few lines of the file. the default value is 10 lines. Head -- help can be used to view command parameters. Headfile1 displays the first 10 rows of file1. Www.2cto. the

Solve the problem of network disconnection in ubuntu11.10

Solve the problem of network disconnection in ubuntu11.10 configure ADSL dial-up Internet access (use pppoeconf for network configuration, do not use dial-up on the GUI) 1. open the application menu, select attachment-terminal in sequence. 2. enter

Command for viewing CPU, memory, and hard disk information in Linux

In the Linux desktop version, it is really convenient to view these things and you can use them with graphical tools. However, there is no graphical interface to operate on Linux server or remote ssh connection. At this time, if we need to

Solve wine garbled characters in linuxmint

Solve the wine garbled problem in linuxmint because the font Association is incorrect. modify the key value of the registry when solving the problem, install wine in ubuntu8.04. if any garbled characters are displayed, you can modify the Registry

Command line for formatting USB flash drives in ubuntu

Command line for formatting a USB flash drive in ubuntu: The principle is to uninstall the USB flash drive and format it later. If the USB flash disk is mounted to/media/disk and unmounted: sudoumount/media/diskwww.2cto.com format: sudomkfs.

In Linux, services such as apachemysql cannot be started properly after the default port is modified.

In Linux, apachemysql and other services cannot be started after the default port is modified. solution: two webservers are installed on the server, and one is nginx on port 80, with no exception. Another port is Port 8001 bound to apache, but the

How to install ttuserver_adm64_10.04 on a USB flash disk

Steps for installing UbuntuServer_adm64_10.04 on a USB flash drive: 1. format the USB flash drive in Windows and prepare the corresponding iso file. 2. use Utral * to create a USB flash drive image. Www.2cto. com3. copy the iso file to the root

Total Pages: 2732 1 .... 1015 1016 1017 1018 1019 .... 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.