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

    bch.png

    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.

    bch2.png

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

    bch-ghost-welcome.png


    ghost-admin2.png

     

    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 http://bitnami.com/stack/ghost

    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/bitnami-ghost-VERSION-linux-installer.run
    

    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/bitnami-ghost-VERSION-linux-installer.app/Contents/MacOS/installbuilder.sh
    

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

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

    ghostinstaller01.png

    ghostinstaller02.png

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

    ghost-credentials.png

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

    ghostinstaller04.png

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

    ghostinstaller05.png

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

    ghostinstaller06.png

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

    ghost-welcome.png

    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.

    ghost-admin.png

    That's all, happy blogging!

    How to start/stop the servers?

    Graphical tool

    The Stacks include a graphical tool to manage the servers easily. You can find the "manager-windows.exe", "manager-osx" or "manager-linux" tool in your installation directory. Using this tool, you can Start, Stop or Restart the servers and check the log files. You can click on the icon to start it.

    manager-servers.png

     

    manager-osx.png

     

     

     

     

     

     

     

     

     


    win_platform.png

    On Windows: You can also start the Manager tool from shortcuts: Start -> Program Files -> BitNami Stack -> Manager tool

    Command line tool

    If you prefer, you can use the "ctlscript.sh" utility from the command line. This script is in the installation directory.

    linux_platform.png

    On Virtual Machines and Cloud images:

    $ sudo /opt/bitnami/ctlscript.sh start

    A native installer on Linux:

    $ cd ~/application-version
    $ ./ctlscript.sh start
    

    mac_platform.png

     

    On OS X: You can start the Manager tool from the installation directory or you can use the "ctlscript.sh" utility from a Terminal.

    host:~ user$ cd /Applications/application-version
    host:~ user$ ./ctlscript.sh start

    How to configure Ghost domain name?

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

        production: {
            url: 'example.com',
     
    For Virtual Machines and Cloud images, BitNami ships the "/opt/bitnami/apps/ghost/bnconfig" tool to change it automatically (f.e. ec2-xx-yy-zz.amazonaws.com 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 example.com
     
    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 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/ctl.sh" 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 http://example.com/ghost/debug and you can download a JSON file with your blog data.

    ghost-export.png

    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 http://bitnami.com/stack/ghost 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 http://example.com/ghost/debug. 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.

    To switch to your newly added theme:

     1. Restart Ghost. 

    $ sudo /opt/bitnami/ctlscript.sh 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
    53605 view(s), 34 edit(s) and 15274 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments

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