In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Environment:
1. System: Centos 6.4,
2. Role description
Server: 172.28.26.188
Client: 172.28.26.189
II. Deployment:
1. Server:
Yum-y install rsyslog
Vi / etc/sysconfig/rsyslog
SYSLOGD_OPTIONS= "- c 2-r 514-x-m 240" KLOGD_OPTIONS= "- x"
Restart the service
/ etc/init.d/rsyslog restart
2. Client:
Echo "*. * @ 172.28.26.188 514" > / etc/rsyslog.conf
Restart the service:
/ etc/init.d/rsyslog restartvi / etc/bashrc adds the following: export PROMPT_COMMAND=' {msg=$ (history 1 | {read x y; echo $y;}); logger "[euid=$ (whoami)]": $(whoami): [`pwd`] "$msg";} 'source / etc/bashrc
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 264
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.