Bitnami Ghost

    How to deploy Ghost in Bitnami Cloud Hosting

    Bitnami Cloud Hosting makes it easy to run Ghost on your own secure server in the cloud. Bitnami Cloud Hosting is powered by Amazon and it simplifies the process of deploying applications on AWS using your own Amazon account, so you are not locked into using our service. To launch Ghost in the cloud with Bitnami Cloud Hosting:

    1. Log into Bitnami Cloud Hosting


    2. To create a server with Ghost, click on the 'Add New Application' button and select Ghost (and any other application you would like to run on this server) from the menu. Note that you can also select your domain in the 'domain name' field and give your server a name in the 'name' field. To configure the application domain and email, click on the 'Application Options' button and complete the required fields. You can also add an additional components to your server in the 'development options' section. In the 'server' section, you can select the server specifications. The cloud section allows you to select whether you want a static IP address (which you will need if you are using your own domain), server location and other attributes. On the right, you will see the estimated cost of running your server.


    3. Configure your e-mail and password and start using Ghost! The admin panel is available at "/ghost".




    You can also add more applications in the same server, you can choose from 50 popular open source applications, including SugarCRM, Alfresco, Drupal, WordPress, Redmine, JasperServer, Joomla! and many more. Applications are available for everything from customer relationship management (CRM) to content management systems (CMS) to bug tracking software.

    In addition to that, Bitnami Cloud Hosting allows you to:

    - Schedule weekly, daily or even hourly automatic backups. Backups are complete, incremental snapshots of your server. To automatically delete older backups, select the 'standard' backup policy in the 'scheduled backups' section, which can be found on the 'scheduled tasks' page.

    - Restore a complete, ready-to-run copy of your server, with all of your data and customizations, in one click. Just select the backup you want to restore from the backups section and click the 'restore' button.

    - Clone your machine with the click of a button. Just click the 'clone' button to clone and existing machine.

    - Bitnami Cloud Hosting automatically monitors your servers, providing you with visibility into your CPU, memory and disk usage, as well as letting you know that your services are running properly. Click on the monitoring tab to view monitoring data.


    You can also now launch a free cloud demo server with the Bitnami Cloud Launchpad by clicking the launch button below.




    How to install Ghost with Bitnami

    Ghost is a platform dedicated to one thing: Publishing. It's beautifully designed, completely customizable and completely Open Source. Ghost allows you to write and publish your own blog, giving you the tools to make it easy and even fun to do.

    Bitnami Ghost stack simplifies the installation of Ghost and its required dependencies. You can download the installers for Linux, OS X or Windows at

    Installing Ghost

    Once you have downloaded the installer (the filename will be similar to bitnami-ghost-VERSION-installer), double click on the icon to launch the installer. Note: If you are using Linux you will have to give executable permissions to the file first, using this command:

    chmod +x /path/to/bitnami-ghost-VERSION-linux-installer.bin

    To run the installer as the root user on Linux, you will need to execute it using sudo (for example if you are running Ubuntu) :

    sudo /path/to/

    or become root first with the following command, and then execute the installer:

    su -l 

    You can also run the Stack as root user on OS X from a Terminal:

    $ sudo /path/to/

    If you are using Windows, run the executable installer (.EXE file).

    Once the installation process starts, it will look like the following:



    You can enter the location where the Bitnami Ghost stack will be installed.


    Here you can customize the administrator user, password and email.


    In this step, you are able to configure the IP or host name from where your blog will be avaible.


    You can also specify the SMTP configuration. This step is optional.


    That's all! Your Ghost application will be launched into your browser.


    You can access the Ghost admin panel at http://localhost:8080/ghost for OS X or Linux or http://localhost/ghost on Windows. The user mail and password is the same that you specified during the installation.


    That's all, happy blogging!

    How to start/stop the servers?

    Cloud Server

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The script is located at /opt/bitnami/ Call it without any arguments to restart all services:

    $ sudo /opt/bitnami/ start

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ sudo /opt/bitnami/ restart mysql

    Virtual Machine

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The script is located at /opt/bitnami/ Call it without any arguments to restart all services:

    $ sudo /opt/bitnami/ start

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ sudo /opt/bitnami/ restart mysql

    Native Installer

    You can use either the graphical manager tool or the command-line tool to start and stop the servers.

    Graphical Tool

    Bitnami stacks include a graphical tool to manage the servers easily (native installers only). Using this tool, you can start, stop and restart the servers and check the log files.












    On Windows:

    • Double-click the "manager-windows.exe" file in your installation directory.  
    • You can also start the Manager tool using the Start Menu path Start -> Program Files -> Bitnami Stack -> Manager.

    On Linux and Mac OS X:

    • Double-click the "manager-osx" or "manager-linux-*" tool in your installation directory. 
    Command-line Tool

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The control script is only available for Linux and Mac OS X native installers. The script is located in your installation directory and named Call it without any arguments to restart all services.

    On Linux:
    If your installation directory is /home/USER/wordpress-4.0.1-0, call the control script with the ‘start’ argument to start all servers. For example:

    $ cd /home/USER/wordpress-4.0.1-0
    $ ./ start

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ cd /home/USER/wordpress-4.0.1-0
    $ ./ restart mysql

    On Mac OS X:
    If your installation directory is /Applications/wordpress-4.0.1-0, call the control script with the ‘start’ argument to start all servers. For example:

    $ cd /Applications/wordpress-4.0.1-0
    $ ./ start

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ cd /Applications/wordpress-4.0.1-0
    $ ./ restart mysql

    Tabs end

    How to configure Ghost domain name?

    Ghost requires to specify the domain name in the "config.js" file. For example:

        production: {
            url: '',
    For Virtual Machines and Cloud images, Bitnami ships the "/opt/bitnami/apps/ghost/bnconfig" tool to change it automatically (f.e. or 192.168.1.xx.yy). You can set your own domain name in this file manually or to change it automatically with this configuration tool:
    $ sudo /opt/bitnami/apps/ghost/bnconfig --machine_hostname
    Then rename or remove this tool to not change it again at boot time.
    $ sudo mv /opt/bitnami/apps/ghost/bnconfig /opt/bitnami/apps/ghost/bnconfig.back

    How to configure email settings

    We will configure Ghost to send emails using Mandrill SMTP service and port 2525. This configuration should be similar for other SMTP services such as Gmail.

    You can configure the email settings in the "installdir/apps/ghost/htdocs/config.js" file adding the code below in your environment section between "url" and "database" fields, e.g. "production". Please note that installdir stands for /opt/bitnami in Cloud Images and Virtual Machines.

    mail: {
        from: 'your_Mandrill_SMTP_username',
        transport: 'SMTP',
        host: '', 
        options: {
            service: 'Mandrill', 
            port: 2525, 
            auth: { 
                user: 'your_Mandrill_SMTP_username',
                pass: 'any_enabled_Mandrill_API_key' 

    After that, restart services for changes to take effect:

    sudo /opt/bitnami/ restart

    How to configure the Ghost mode from "production" to "development"?

    Bitnami Chost is configured to use the  "production" mode by default. This is nessary to configure the email settings.

    If you are developing a theme or you are editing files, it is possible you prefer to use the development mode.

    linux_platform.png On Linux: Edit the "installdir/apps/ghost/scripts/" and replace the references to "NODE_ENV=production" with "NODE_ENV=development". Then restart the Ghost server.


    win_platform.png On Windows:  Edit the "installdir/apps/ghost/scripts/service_ghost.js" file and replace the following variable in the file "process.env.NODE_ENV = 'production';" with ""process.env.NODE_ENV = 'development';". Then restart the Ghost server from the Manager Tool.

    How to upgrade Ghost?

    It is strongly recommended that you create a backup before starting the update process. If you have important data, it is advisable that you create and try to restore a backup to ensure that everything works properly.

    There are two different ways to upgrade your application.

    1. Upgrade the application itself following the official upgrade guide
    2. Migrate your data to a new stack or instance. We recommend this approach so you can also upgrade not only the application itself, but also main components like Apache, Node.js o others.

    The following approach also works if you want to migrate your current Ghost installation to a different machine or to the cloud.

    How to export Ghost data

    Go to your current installation at and you can download a JSON file with your blog data.


    It is also necessary to create a backup of the images, plugins and themes. These files are in the "/opt/bitnami/apps/ghost/htdocs/content" folder. If you are using the Native Installer, the installation directory could be different to "/opt/bitnami".

    How to import Ghost data

    If you already have an previous version of Ghost, you can download the latest version from You can install it using a new Native Installer, Virtual Machine or deploy a new instance in Amazon EC2 or Azure cloud.

    Once you have the new Ghost running, copy the "images", "plugins" and "themes" into the same folder in the new installation. If you are using a remote machine it is necessary to copy the folders using "scp" command or a sFTP program:

    $ cp -r images /opt/bitnami/apps/ghost/htdocs/content
    $ cp -r plugins /opt/bitnami/apps/ghost/htdocs/content
    $ cp -r themes /opt/bitnami/apps/ghost/htdocs/content

    Then change the permissions:

    $ cd /opt/bitnami/apps/ghost/htdocs/content
    $ sudo chown -R bitnami:daemon themes
    $ sudo chown -R bitnami:daemon plugins
    $ sudo chown -R bitnami:daemon images

    Now import the Ghost data from your previous installation at Note that the user credentials are the same that you have in your previous installation.

    Tip: If you started a new instance in the cloud, you can stop the previous one and assign the same IP address to the new instance. Thus is not necessary to change your DNS settings.

    How to install a theme?

    Ghost themes live in "/opt/bitnami/apps/ghost/htdocs/content/themes" folder. Download your theme and uncompress it in this folder alongside Casper default theme.

    If you are running a Bitnami server in the cloud, a virtual machine or you installed Bitnami Ghost Stack as root user, you will need to configure the permissions appropriately:

    $ cd /opt/bitnami/apps/ghost/htdocs/content
    $ sudo chown -R bitnami:daemon themes

    To switch to your newly added theme:

     1. Restart Ghost. 

    $ sudo /opt/bitnami/ restart ghost

     2. Login to your Ghost admin, and navigate to "ghost/settings/general"

     3. Select your Theme name and click "save"

    Tag page (Edit tags)
    • No tags
    Page statistics
    100047 view(s), 39 edit(s) and 16548 character(s)


    You must login to post a comment.

    Attach file


    FileSizeDateAttached by 
    Ghost welcome
    58.2 kB09:38, 14 Oct 2013AdminActions
    58.11 kB09:29, 14 Oct 2013AdminActions
    BitNami Cloud Hosting
    173.4 kB08:41, 14 Oct 2013AdminActions
    BitNami Cloud Hosting Ghost
    152.86 kB09:28, 14 Oct 2013AdminActions
    Ghost admin panel
    80.79 kB09:35, 14 Oct 2013AdminActions
    Ghost admin panel
    80.79 kB09:36, 14 Oct 2013AdminActions
    Ghost credentials
    23.36 kB11:17, 1 Oct 2013AdminActions
    Ghost export data
    35.11 kB10:42, 22 Oct 2013AdminActions
    Ghost welcome page
    50.83 kB11:20, 1 Oct 2013AdminActions
    BitNami Ghost Installer - welcome page
    25.29 kB15:29, 30 Sep 2013VictorActions
    BitNami Ghost Installer - select path
    16.9 kB15:34, 30 Sep 2013VictorActions
    BitNami Ghost Installer - default user credentials
    21.26 kB15:29, 30 Sep 2013VictorActions
    BitNami Ghost Installer - domain for the blog
    14.96 kB15:30, 30 Sep 2013VictorActions
    BitNami Ghost Installer - configuring smtp (optional)
    19.11 kB15:30, 30 Sep 2013VictorActions
    BitNami Ghost Installer - done
    28.92 kB15:30, 30 Sep 2013VictorActions
    Ghost installed with BitNami
    29.75 kB15:30, 30 Sep 2013VictorActions