This guide should help you deploy Zimbra ZCS 7.1.3_GA on an Ubuntu 10.04 instance with Amazon EC2. Prerequisites 1) Ensure you have set up Amazon EC2 CLI scripts … Download tools from here http://aws.amazon.com/developertools/351 Generate certificates in the security credentials section of AWS control panel Set up environment variables in your .bash_profile (using your key paths, […]
I’ve been looking at the new SnomONE PBX tonight, and have set up a test installation on a virtual machine. I couldn’t see any instructions in their manual for installing on Linux, so I thought I’d blog about the steps I took as it might help someone else! 1. Install Centos 5.5 x86_64 system. 2. […]
I was experiencing an error during an installation of Trixbox 220.127.116.11 whereby it would lock up with a blue screen after the keyboard language selection / probing video card steps. Initially I thought it was a faulty CD, but after burning 3 copies with 2 computers, I would get the same problem every time. This […]
These instructions apply to Webmin version 1.450 Create a folder where you wish to store your sites files. You can do this in the Others > File Manager section. We typically use something like: /sites/domainname.com/http/ Setup the vhost. Click on Servers > Apache Web Server in the left hand menu. Click the “create virtual host” […]
It’s a pain if you ever forget your MySQL root password. Fortunately it’s a fairly straightforward process to reset it, here’s how: pkill -9 mysqld; echo "UPDATE mysql.user SET Password=PASSWORD(‘MyNewPass’) WHERE User=’root’; FLUSH PRIVILEGES;" > /tmp/reset-pass.sql mysqld_safe –init-file=/tmp/reset-pass.sql & sleep 10 pkill -9 mysqld; A bash script to reset the mysql root password To make […]
To test the spam score for an e-mail without sending it, install a copy of Spam Assassin then run: [root@mail ~]# spamc -c < testemail.txt -1.0/5.0 Where testemail.txt is the raw message source.
In order to run a mysqldump from one host to another over SSH you can run: mysqldump dbname | ssh firstname.lastname@example.org “mysql -D dbname” This will pipe the output of mysqldump directly to the ssh connection which is running MySQL at the other end and receiving the mysqldump from standard input.
When applying for a secure certificate you will need to generate a certificate signing request (CSR). If you are renewing an existing certificate you might want to keep your existing private key, if it’s a new certificate then you will probably need to create a new private key. If you have previously registered a secure […]
If you get a permission denied error when trying to redirect the output of a sudo command then the reason for this is normally because the superuser permissions only apply to the first part of the statement, e.g. the echo command. They do not carry through to the bash redirection. paul@backups:~$ sudo echo ‘test’ >> […]
My bit torrent client of choice is rtorrent, which runs from the command line. I have been using it without problems for months, but today it stopped working and gave an error instead: rtorrent: Error in option file: ~/.rtorrent.rc:4: Not a value It seems that the rtorrent developers have made some changes to the way […]