Using an external SMTP server with GitLab

GitLab 7 (Omnibus) Edit the /etc/gitlab/gitlab.rb file to match your SMTP servers settings and credentials. e.g.: gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.server" gitlab_rails['smtp_port'] = 456 gitlab_rails['smtp_user_name'] = "smtp user" gitlab_rails['smtp_password'] = "smtp password" gitlab_…

Installing GitLab 6.6 (6.x) on CentOS 6.5 with Percona Server 5.6

GitLab [http://gitlab.org/] CE (Community Edition) is essentially a self-hosted opensource clone of the online Git code repository service GitHub [https://github.com/]. The main installation guide [https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md] for GitLab was written for installation on Ubuntu/Debian operating systems.…

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 work 'private_…

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…