Linux

Use ssh on multiple servers simultaneous

If you have many servers to manage and want to perform the same tasks on each of the machine every day, then you should look at the package named clusterssh. Install the clusterssh package apt-get install clusterssh Perform the same command on the three servers server1 server2 and server3 cssh server1 server2 server3 This opens […]

Read More
Linux

Using GNU screen’s multiuser feature

Sometimes it’s useful to let someone see what you are doing in a console sessison. GNU screen is the tool for the job and lets a remote user follow on-screen what you are doing, great feature when you try to explain something over the phone. To share your session you must start screen on the […]

Read More
Misc

Debian Linux in – Gentoo Linux out

As I write this post my last Gentoo Linux server is about to be converted to be a Debian Etch server. This is a sad decision I’ve made since I’ve used Gentoo Linux running web, mail and databases since version 1.0RC1 december 2000 both in stable and unstable versions. This is a result of less […]

Read More
Linux

Getting iptables to survive a reboot

As far as I know Debian doesn’t have any defined way to save your iptables rules. I’ve done it this way: First I’ve made my iptables rules and made sure they work. Second is to save those rules to a configuration file iptables-save > /root/scripts/iptables.save I always try to save my custom scripts and required […]

Read More
Security

Allow NFS through iptables on a RedHat system

This post describes how you can configure your RedHat Enterprise WS 4 NFS system behind a iptables firewall to be available for clients outside the firewall on a permanent basis. Symptom NFS relies on portmap to assign the ports on which it will listen. One side effect of this is that the ports are randomly […]

Read More