Linux

Exporting and importing Zimbra LDAP data

The reasons can vary from an emergency restore of user accounts, to changing system architecture. In this Administrator’s PowerTip we will discuss how to export(dump) LDAP data to disk, and re import it. Dumping LDAP Data to Disk Exporting the data will place all of your LDAP Data into a single, movable .LDIF file. su […]

Read More
Network

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
Linux

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
Network

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