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
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
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
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
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
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
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:
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
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
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
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
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 ~] #
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.
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 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
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 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 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, 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
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
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