RHEL6集中式日志服务搭建

  • A+
所属分类:运维教程

RHEL6的日志收集服务较RHEL5做了些许改变,我们今天就来讲解一下,如何在RHEL6系统中搭建集中式日志服务。

我们先配置服务端:配置文件是/etc/rsyslog.conf。

RHEL6集中式日志服务搭建

后面有中文标注的参数,请将其前面的注释去掉:

RHEL6集中式日志服务搭建

重启服务:

RHEL6集中式日志服务搭建

将地址指向服务器:

RHEL6集中式日志服务搭建

客户端重启后,即可查看服务端日志文件/var/log/messages。

这里需要注意一下,为了确保试验成功,建议大家提前将防火墙关闭,并且修改客户端主机名(需要修改/etc/sysconfig/network后重启)

  • 问答中心
  • 微信小程序扫一扫
  • weinxin
  • 微信公众
  • 微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:35   其中:访客  35   博主  0

    • avatar Immobilienbewertung

      I’m not that much of a internet reader to be honest but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back down the road. Many thanks

      • avatar grolyrtolemcs

        I think other website proprietors should take this website as an model, very clean and magnificent user genial style and design, as well as the content. You are an expert in this topic!

        • avatar discount car rental

          Can I simply say what a relief to find someone who truly is aware of what theyre speaking about on the internet. You positively know the way to deliver a difficulty to gentle and make it important. Extra people must learn this and perceive this aspect of the story. I cant imagine youre no more standard since you definitely have the gift.

          • avatar cbd oil that works 2020

            We are a group of volunteers and opening a new scheme in our community.
            Your website provided us with useful information to work
            on. You have done a formidable process and our entire group shall be
            thankful to you.

            • avatar use this link

              We’re a group of volunteers and starting a new scheme in our community. Your web site provided us with valuable info to work on. You have done a formidable job and our whole community will be grateful to you.