Linux under the schema log server

Source: Internet
Author: User
Tags log syslog linux

One: Principle:

Logging is important to the security of the system, which records a variety of things that occur on a daily basis, which users can use to check the cause of the error or to look for traces left by the attacker. The main function of the log is auditing and monitoring. It also allows real-time monitoring of system status, monitoring and tracking of intruders. Logs are also one of the areas where users should be aware.

Do not underestimate the important role of log files in network security, because log files can detail the various events that occur on a daily basis in the system. The user can check the log file for the cause of the error or trace the attacker when attacked and hacked. The two more important functions of the log are: auditing and monitoring. The log of the configured Linux is very powerful. For Linux systems, all log files are under/var/log. If you have more than one server log to manage, you need a schema log server to facilitate the management of multiple server logs.

Two: Case one: Use Windows as a log server, Linux as an application server. (This example uses a DHCP server as a log description and Windows Server 2003 as a test machine to obtain a DHCP address.) Description: Use third party software Kiwi syslog7.2 on Windows

1: First install the third party software Kiwi syslog7.2 on the Windows host

2:[root@lyt ~]# vim/etc/syslog.conf #编辑Linux主机/etc/syslog.conf file, as shown in figure:

3:[root@lyt ~]# Mkdir/mnt/cdrom #创建挂载点

[Root@lyt ~]# mount/dev/cdrom/mnt/cdrom/#将光盘挂载至/mnt/cdrom

[Root@lyt ~]# cd/mnt/cdrom/server/#切换至该目录, installing a DHCP server

4:[root@lyt server]# vim/etc/dhcpd.conf #编辑dhcp服务器脚本

Then press ENTER to configure dhcpd.conf, as shown in the figure:

Related Article

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.