Linux sends logs to the log server

In the previous article we introduced the Rsyslog configuration file. In the current environment, whether it is to store the log for a longer period of time or to analyze the convenience of the log, we usually send logs to the log server or log

Linux 15th day: (August 29) Linux Advanced File System Management

Linux 15th day: (August 29) Linux Advanced File System ManagementChapter ContentSet File system quotasSetting up and managing soft raid devicesConfiguring logical VolumesSetting LVM SnapshotsBtrfs File SystemConfiguring the quota

Linux Interview common problems

1, Shell implementation find the current directory and subdirectories in the name of the file containing kingFind./| grep King2, tcpdump grasping the package parameter-nne respectively represents what meaning-nn: Displayed directly with IP and port

Linux Common commands

JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html1. Installing the RPM softwareRPM-IVH--prefix=/usr/local /home/pas/xxx.rpm2. Copy and paste: yy, p3. Delete: DD4. Find/back? Forward, n continue to

Linux filters out logs between time periods

Such as: Filter out the secure log from August 30 22 o'clock to August 31 8 o'clockLog format:03:00:01 localhost crond[21772]: pam_limits (crond:session): Unknown limit type ' proc ' to 03:01:01 localhost cron D[21775]: Pam_limits (crond:session):

Linux Fifth Week job

1. Display the default shell of root, fedora or User1 user on the current system;Egrep "^ (Root|user1|fedora)"/etc/passwd|cut-d:-f72. Find the line with a set of parentheses after a word in the/etc/rc.d/init.d/functions file, such as: Hello ();650)

Removal and recovery of Linux unexpected rpm

background : When we first learned Linux, there were always all kinds of unexpected actions, what should we do when something happened? This article describes how to return to normal when the RPM is deleted by mistake.RPM command in Linux is very

Linux Operations Learning-13th day-yum front end tools and source code compilation installation

Yum Front End Tool1. Yum2. Source code compile and install HTTPSecond, the operation:1, enter a number of values into the array, using the bubbling algorithm to sort ascending or descending order2, after removing the kernel package, can not start,

Linux 14th Day: (August 25) exercises and assignments

Linux 14th Day: (August 25) exercises and assignments1, create a 2G file system, block size of 2048byte, reserved 1% free space, file system ext4, Volume label test, require this section automatically mount to the/testdir directory after boot, and

Partitioning of disks under Linux

Disk Type: SCSITo view the partition status of all disks:# fdisk-lTo view the partition status of a specified disk:# fdisk-l/DEV/SDATo partition a disk:If the disk is less than 2TB, use the fdisk commandIf the disk is greater than or equal to 2TB,

Linux Practical problems

When configuring Apache, execute the./configure--prefix=/application/apache2.2.17 to compile Apache, after make install completes, need user's access path more simple , need to give/ application/apache2.2.17 directory to do a soft

Complete network configuration after installing Linux on a virtual machine

Configure the network after installing the Linux system on the virtual machine1. First, add the virtual network card to the local networkEdit > virtual Network Editor650) this.width=650; "Src="

RHCs detailed description of high-availability clusters under Linux

RHCs detailed description of high-availability clusters under Linux1.rhcs:redhat Cluster Suite, Red Hat cluster SuiteRHCs Essentials Package: Cman Rgmanager system-cluster-config2.RHCS Cluster Deployment Basic Prerequisites:2.1. Time synchronization,

Linux Add environment variable

View all environment variables: envView an environment variable: Echo $XXX: XXX is what you want to seeYou can also view environment variables with exportTo add an environment variable:1 direct with export command: Only valid for the current shell,

Linux System timer task settings

, use the AT command to set a one time scheduled task2. Use crontab to set up periodic scheduled tasks1) cd/home directory, use VI test.py to create the file, the content is as follows:#!/usr/bin/python#coding =utf-8Import timeF=open (' F.txt ', ' W

Play Linux on the job

Create a user and get root privilegesHttp://www.cnblogs.com/wangkongming/p/3639425.htmlFor reference on the blog, my specific implementation is as follows: Use Xshell to connect to the server (fill in the server address in the Red Hook, the

First, the Linux boot process detailed

Start the first step --load the BIOSWhen you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains

Linux commands Learn note 1

1.Linux Command Learning2.Mkdir /data- Create folder in / under Create folder data3.CD - directory switch columns such as CD/4.Touch /data/1.txt- Create a file in the current directory5.VI /data/1.txt-Editor edit current file i- enter edit mode

Linux find out which rpm package a command belongs to

background : There are many commands under Linux, but after the new installation system, especially the minimal installation, some of the commands we find are not there at all, and we do not know that the command belongs to the RPM package. How do I

Why do computer workers have a little compilation knowledge ?, Computer compilation knowledge

Why do computer workers have a little compilation knowledge ?, Computer compilation knowledge   In the winter of 2009, the final examination results of the undergraduate computer compilation principles course were published. Although they achieved

Total Pages: 5467 1 .... 5342 5343 5344 5345 5346 .... 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.