Using chkconfig to manage services
chkconfig --list rsync #shows status of rsync for current runlevel
chkconfig postfix off #switches off postfix autostart
chkconfig --level 35 rsyslog on #switches on syslog for levels 3 and 5
Setting up syslog
vi /etc/rsyslog.conf
# Server side:
$ModLoad imudp #UDP logging support
$UDPServerRun 514
$ModLoad imtcp #TCP logging support
$InputTCPServerRun 514
#Client side:
*.* @@myserver.net:514 # logs to myserver.net on port 514 via TCP
*.* @myserver.net:514 # logs to myserver.net on port 514 via UDP
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS