Linux

Redhat documentation in one place

http://www.redhat.com/docs/manuals/enterprise/ is a documentation page I always return to when I manage Redhat Enterprise Linux systems. Redhat has put a lot of effort in their documentation and even allow you to download them as PDF documents. The documentation below is for RHEL5.2 Deployment Guide May 21, 2008 PDF Installation Guide May 21, 2008 PDF Virtualization […]

Read More
Linux

Disable IPv6 on Redhat RHEL4

First you remove this line from /etc/modprobe.conf if this line exists. alias net-pf-10 ipv6 Add the following line to /etc/modprobe.conf alias net-pf-10 off Reboot the system. IPv6 is now disabled. To re-enable IPv6, remove the alias net-pf-10 off line from /etc/modprobe.conf and reboot the machine. I’ve also made a post about how to disable IPv6 […]

Read More
Network

Listen to network traffic using tcpdump

Please note that you have to be the root user to use this command because it puts the network card in promiscuous mode. # tcpdump -i eth0 -A -s 0 udp port 1514 and host 192.168.0.1 The example above command listens on port 1514 which is the port ossec-hids uses on its secure communication between […]

Read More
Photo etc

Enable query caching in mysql

Query caching is a way to increase the performance of mysql by caching database queries. It’s quite easy to do and only requires to edit one file, in Debian it’s called /etc/mysql/my.cnf Add the following lines in the mysqld section [mysqld] query-cache-type = 1 query-cache-size = 10M restart the mysql daemon # /etc/init.d/mysql restart Verify […]

Read More