How To Install Ghost on MediaTemple

  1. Head over to the MediaTemple VPS signup page and during checkout select CentOS.
  2. In the email MediaTemple sends you, note the Primary Domain that was assigned to you and click on the link to create your account password
  3. Login to your account
  4. Click on the Admin button in the Your Domains section

    Install Ghost MediaTemple

  5. Click on the SSH Access link

    Install Ghost MediaTemple

  6. Create a password for SSH access to your VPS
  7. SSH into your server with the following command:
    ssh root@[primary domain]
  8. Change to the super user
  9. Update the server
    sudo yum update  
    yum groupinstall "Development Tools"
  10. Install Node.js
    curl -sL | bash -
    yum install -y nodejs
  11. Install Ghost
    mkdir -p /var/www/
    cd /var/www/  
    curl -L -O  
    unzip -d ghost [Name-of-Ghost-zip].zip      
    cd ghost
    sudo npm install --production

    (If you get npm command not found, do sudo /usr/local/bin/npm install)

  12. Configure Ghost
    cp config.example.js config.js
    sudo vi config.js

    In the 'Production' section change

    host: '',


    host: '',

    save and quit

  13. Create Ghost User
    useradd ghost
    chown -R ghost:ghost /var/www/ghost/
  14. Switch to Ghost User
    su - ghost
    cd /var/www/ghost/
  15. Start Ghost
    npm start --production

    Browse to http://domain_name_they_provided:2368

Proxy from Port 80 and Keep Ghost Running

There you have it, Node.js is installed, Ghost files are located in /var/www/ghost, and Ghost has been started. You can keep Ghost the way it is if you do not mind adding :2368 to the end of your url, but we would highly recommend you check out the following two articles to help get your Ghost blog fully ready:

  • How to Proxy Port 80 to 2368 for Ghost with Nginx
  • Keep Ghost Running with PM2
  • Next Steps:

    Learn Ghost from the Ground Up

    Head to "Ghost for Beginners" to learn everything you need to know about learning and customizing Ghost

    Find the Perfect Ghost Theme

    Go to our Ghost themes section of this site to browse all of your Ghost theme options in one place.