Ghost
Ghost
by DigitalOcean

VERSION latest

OS Ubuntu 18.04

NEW
Create Ghost Droplet

Description

Ghost is a fully open source, adaptable platform for building and running a modern blog or publication.

Software Included

PackageVersionLicense
GhostlatestMIT
Nginx1.14.0Custom
MySQL server5.7.23GPL 2 with modifications
Node.js8.10.0Custom

Getting started after deploy

You’ll need a registered domain name to finish completing the Ghost setup. We recommend setting up an A record from the domain (e.g., example.com) to the server’s IP address.

After the Ghost One-Click Droplet is created and the domain and DNS records are set up, you’ll need to log into the Ghost Droplet to complete its setup. From a terminal on your local computer, connect to the Droplet as root. Make sure to substitute the IP address of the Droplet.

ssh root@use_your_droplet_ip

As soon as you log in, the Droplet will automatically make sure it’s running the most recent version of Ghost, and will prompt you to press ENTER to finalize the setup.

Ensuring Ghost-CLI is up-to-date…
…

Ghost will prompt you for two details:

Your domain
Add an A Record -> your_droplet_ip & ensure DNS has fully propagated
Or alternatively enter http://your_droplet_ip
Your email address (only used for SSL)
Press enter when you’re ready to get started!

Follow the installation prompts to configure Ghost.

As soon as you’re done, make sure to configure the admin user using the administrative interface at http://use_your_droplet_ip/ghost (making sure to substitute the Droplet’s IP address in the URL). Until you configure the admin user, anyone who discovers the site can configure the administrative user, take control of the Ghost site, and potentially take control of the Droplet.

Once the installation and setup is fully complete, you can access the new Ghost site by visiting the Droplet IP address in your browser.

To upgrade or maintain the Ghost install in future, you’ll always have to become the ghost-mgr user in order to have the correct permissions:

sudo -i -u ghost-mgr

After that, all tasks can be completed with the Ghost-CLI tool. Run ghost help for an overview of available commands, or check out the Ghost-CLI docs for full details.

API Creation

In addition to creating a Droplet from the Ghost One-Click application via the control panel, you can also use the DigitalOcean API.

You can list all One-Click application images using the API. As an example, to create a 4GB Ghost Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


curl -X POST -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer '$TOKEN'' -d \
    '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"ghost-18-04"}' \
    "https://api.digitalocean.com/v2/droplets"
    

Support Details

Supported By:DigitalOceanDigitalOcean
Support URL:https://help.ghost.org/

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn