Megamon Tech Blog

IT issues resolved

Browsing Posts in Uncategorized

The scripts featured in the community section of zimbra’s website are quite elaborate. Personally – I like things simple: #!/bin/sh mailhost=”atmx02″; date ssh $mailhost “service zimbra stop” rsync -av -e ssh $mailhost:/opt/zimbra /data/backup ssh $mailhost “service zimbra start” date

master /etc/my.cnf configuration: server-id=1 relay-log = /var/lib/mysql/mysql-relay-bin relay-log-index = /var/lib/mysql/mysql-relay-bin.index log-error = /var/lib/mysql/mysql.err master-info-file = /var/lib/mysql/mysql-master.info relay-log-info-file = /var/lib/mysql/mysql-relay-log.info log-bin = /var/lib/mysql/mysql-bin slave /etc/my.cnf configuration: server-id=2 relay-log = /var/lib/mysql/mysql-relay-bin relay-log-index = /var/lib/mysql/mysql-relay-bin.index restart mysql on the master: service mysqld restart stop mysql on the slave: service mysqld stop on the master grant privileges to the [...]

I recently had a requirement for wireless access to function from approx 100 metres away inside a cement house. The the laptop’s wireless cards were not making the distance without significant packet loss. I needed to deploy my WRT as a WPA wireless client and have PC’s attached to the WRT via the local switchport. [...]