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
A 32-bit xp Virtual Machine cannot afford to hurt. Linux's memory usage has also advanced over the past few years. if gnome and kde are to be used, & hellip; if two virtual machine systems are to be used, the memory will exceed 2 GB and the virtual
# & Gt; find. -typef-execgrep & amp; #39; mingtian & amp; #39;-l {}\; grep-l: indicates the name of the file that displays the matching content! The above link file type after the find parameter-type,-name & amp; #39 ;*. c & amp; #39; connection
When the disk resources allocated to the virtual machine are insufficient, you need to add a new virtual disk. The following is the mounting procedure, which has been verified: 1. When the instance is shut down, add a disk as needed. 2. View disk #
The 64-bit system directly mounted the vmdk file for a long time and tried various methods, such as losetup, mount, kpartx, dd does not matter whether it is used or the vmware-mount in the 64-bit version of the vmware-server officially provided, it
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
How to add gateway in linux: how to add gateway temporarily routeadddefaultgwip delete routedeldefaultwww.2cto.com permanent add method modify/etc/rc. local add command in File: routeadddefaultgwip restarts Nic or machine takes effect author
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
When installing software in ubuntu using commands of the software repository under ubuntu, the links in the software repository should be preferred. Because all the repositories are stable versions. Enter www.2cto.com $: apt-cachesearchxxxx in the
Java code ------------- grep: multi-file search text ----------------- grep & amp; #39; 123 & amp; #39; * search for all files in the current directory that contain 123 grep & amp; #39; 123 & amp; #39; aaa. log to find the string 123ww in a
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
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
The dudu command of a linux command per day is used to summarize the disk usage of each & lt; file & gt; and the total usage of the Directory. By default, the current directory can be associated with a specific file or directory. Www.2cto. comdu
In linux, the head command is used to view the content of the first few lines of a specific file. the specific format is as follows: head & lt; filename & gt ;: you can use the head command to view the first few lines of content in a specific file.
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
In the main directory, there is a folder named & quot; AptanaStudio3 & quot; 1) the cd command can use \ escape space $ cd/home/czp/Aptana \ Studio \ 32) assume that there is an executable file in the directory and you can run the following command:/
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