Ghost Running In BitNami Virtual Machine With VirtualBox
BitNami has provided a VMWare virtual machine running Ubuntu that has Ghost installed. If you want a quick disposable way to check out Ghost or want a development environment that can easily be rolled back to a known state, this virtual machine will be a good solution for you. You can find the link to download the virtual machine here. Once the virtual machine is downloaded you will need to unzip it.
- Open up the VirtualBox application and click the "New" button. Name the virtual machine "Ghost" and select Linux for the Type and Ubuntu 64-bit for the version.
- On the next page select at least 512 MB of RAM.
- On the hard drive selection page choose "Use existing virtual hard drive file" and select the .vmdk file from the directory that you expanded earlier.
- Click create and then open the Settings.
- In the settings click on the Network tab and then change the Attached to option to Bridged Adapter. With Bridged Adapter your virtual machine will have an IP address in the same subnet as your local network.
- Now you can close out of the settings and click start.
Additional information that will be hepful
Once Ubuntu has finished the login in screen it will provide you with the IP address of the virtual machine and the username and password to log in with. The Ubuntu operating system username is:
bitnami and the password is:
bitnami. The Ghost username is:
email@example.com and the password is:
To easily copy files and start and stop Ghost, ssh into your new virtual machine. The BitNami virtual machine by default comes with ssh turned off but you can easily enable it with the two following commands:
sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf sudo start ssh
And now you can ssh into the virtual machine with this command ssh bitnami@[IP address of virtual machine]
Location of Ghost, node, and npm
- Ghost directory is located at
- node is located at
- npm is located at
- forever is located at
BitNami has included a script at
/opt/bitnami/apps/ghost/scripts/ctl.sh that can control Ghost. The script can be called like this: sudo /opt/bitnami/apps/ghost/scripts/ctl.sh start
The options you have with this script are:
sudo /opt/bitnami/apps/ghost/scripts/ctl.sh (start | stop | status)