Advertisement
flycat

rsyslog buffer

Feb 8th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. hdparm -z /dev/sdb
  2. pvresize /dev/sdb
  3. lvcreate v1 -n rsyslog -l+100%free
  4. mkfs.xfs /dev/v1/rsyslog
  5. mount /dev/v1/rsyslog /var/lib/rsyslog
  6. tail -1 /etc/mtab >>/etc/fstab
  7.  
  8. rpm -e --nodeps rsyslog; yum -y install rsyslog7
  9. mv /etc/rsyslog.conf.rpmsave /etc/rsyslog.conf
  10. /etc/init.d/rsyslog start
  11.  
  12. # CheatSheet
  13. http://fibrevillage.com/sysadmin/221-rsyslog-rules-examples-on-linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement