April 4, 2014

Moved to Ghost

A couple days ago I moved my blog from Wordpress to Ghost. I found the the easiest way to get a full stack Ghost blog running is to use the Rackspace Ghost Deployment. The current version of the deployment comes with a full stack consisting of Ubuntu Server 12.04 LTS, Ghost 0.4, node.js 0.10.21, MySQL 5.5 and nginx 1.4.4 acting as the web server passing requests back to node.js.

I run off of a 1GB Performance Cloud Server. I don't use the included MySQL setup, instead I use a Cloud Database with 512MB RAM - 2GB storage as the backend database and Mailgun to send emails. To use an external database and your own SMTP settings just make the following changes to /var/www/vhosts/yourdomain.com/ghost/config.js.

database: {
   client: 'mysql',
   connection: {
       host: 'da0f24b528ca412fab262e0be497f8f462f7da1a.rackspaceclouddb.com',
       user: 'username',
       password: 'password',
       database: 'database',
       charset: 'utf8'
   debug: false

mail: {
   transport: 'SMTP',
   options: {
   service: 'Mailgun',
       auth: {
           user: 'postmaster@yourdomain.com',
           pass: 'password'

I like monitoring, logging and graphing things. With Cloud Monitoring this makes all of that easy. I have a Cloud Monitoring check setup for my site and it automatically graphs this data (1 hr, 8hr, 24hr, week and month views) from the Rackspace control panel or the beta (awesome) service named Cloud Intelligence. The following is my monitoring data provided by Cloud Monitoring and Cloud Intelligence after I switched to Ghost. Notice the improvement. :)

Graph 1 Graph 2 Graph 3

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus