PHP: openssl_pkey_new()

Note to self: When generating a new private key using openssl_pkey_new(), and specifying the private_key_bits parameter as a variable. Be sure to cast the variable to an integer! e.g. $keysize = "2048"; $privateKey = openssl_pkey_new(array( 'private_key_bits' => $keysize, // ---> This won't…

Setup External SMTP Server to Send Nagios Notifcation Alerts (CentOS)

By default Nagios uses localhost to send email notification alerts to designated admins. You can of course setup DNS records to white list your Nagios IP/Hostname in order to prevent notifications being marked as spam. But it's a lot easier to setup up Nagios to use an external SMTP…

Installing a RapidSSL certificate on Zimbra 8.0

Since I couldn't find a straight forward tutorial for installing a RapidSSL (or any other) Commerical Certificate on Zimbra 8.0, I decided to write one for reference if not anything else. RapidSSL Commercial Certificates offer a cost effective way to add a commercial cert to your Zimbra server. The…

Installing Percona XtraDB Cluster (Beta) on CentOS 6.2 (EC2)

Percona recently released the beta version of their MySQL cluster offering. Percona XtraDB Cluster (Beta). Features: Synchronous replication Multi-master replication support Parallel replication Automatic node provisioning I've been using Percona XtraDB Server as a replacement for regular old plain MySQL deployments more and more recently. And I have to say…

Updated: Installing Zimbra 7.0 (ZCS) on an EC2 instance

Zimbra can be installed on an Amazon AWS EC2 instance. However there are a few hoops you'll have to jump through to get it functioning properly. Namely, resizing an AMI image and configuring DNS correctly. Setup your Amazon AWS Account If you don't already have an Amazon Web Services account…

BBM, Twitter, Social Media, and the London riots.

The last few days has seen London experience some of the worst rioting, looting, and violence I've seen in my (short) lifetime. The majorty of which seems to have been perpetrated by a specific age group. Youths. Ranging from those as young as 10, to those in their late 20s…