How to Create a Blogging Website with Ghost on Ubuntu 16.04

Ghost is a free and open source blogging platform, designed to simplify the process of online publishing for individual bloggers as well as online publications. It is written in JavaScript and uses Node.js as its runtime environment. Ghost uses Markdown syntax in the editor, so you can see how your blog will look like on a live site while you are writing the blog. Ghost is perfect platform for bloggers as it is very clean and lightweight.

In this guide, we will install and configure Ghost on your ubuntu 16.04 Alibaba Cloud Elastic Compute Service (ECS) using Node.js.

Update the System

We recommend you to upgrade all the available packages before installing any new package. To do so, execute the following command.

sudo apt-get update

Then please install Nginx, MariaDB Database, please click to see the details.

Install Node.js

As you know Ghost is based on node.js so, you will need to download and install node.js from its repository. Execute the following command to download node.js.

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

Once you have downloaded the node.js package, install it using the following command.

sudo apt-get install nodejs

After you have successfully installed all the packages above, you can follow the instruction to install Ghost.

Related Blog Posts

By Sajid Qureshi, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud’s incentive program to encourage the sharing of technical knowledge and best practices within the cloud community.

Ghost is a free and open source blogging platform, designed to simplify the process of online publishing for individual bloggers as well as online publications. It is written in JavaScript and uses Node.js as its runtime environment. Ghost uses Markdown syntax in the editor, so you can see how your blog will look like on a live site while you are writing the blog. Ghost is perfect platform for bloggers as it is very clean and lightweight.

By Alex Mungai Muchiri, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud’s incentive program to encourage the sharing of technical knowledge and best practices within the cloud community.

MongoDB is designed to scale and offers superior performance compared to conventional relational databases. Specifically, the NoSQL model on which Mongo is based solves some very important challenges associated with SQL schemas.

Related Market Products

There are some products with node.js built by partners can be quickly launched on Alibaba Cloud servers.

Websoft9 Ghost is a pre-configured, ready to run image for running Ghost on Alibaba Cloud.Ghost is a fully open source, hackable platform for building and running a modern online publication.

Component composition

Ghost1.8.5,Ghost_CLI 1.1
Node.js v6.11.3,Nginx 1.10.3,MySQL 5.7

Websoft9 Ghost is a pre-configured, ready to run image for running Ghost on Alibaba Cloud.

Component composition

Ghost1.8.5,Ghost_CLI 1.1
Node.js v6.11.3,Nginx 1.10.3,MySQL 5.7

Related Documentation

There are some documentation may be useful to you.

To use Node.js in Function Compute, you must define a Node.js function as a handler. Current Node.js runtime environments support either common handlers or handlers with an HTTP trigger. With the HTTP trigger, HTTP requests can be processed more efficiently. Except for the handlers with an HTTP trigger, all other Node.js-compiled function handlers are the same. For more information about Node.js runtime environments, see Node.js runtime environments.

This page mainly introduces how to deploy the API for SMS Go China with Node.js.

Related Products

There are some products which can help you to optimize your experience on Node.js.

Alibaba Cloud Function Compute is an event-driven and fully-managed compute service. With Function Compute, you can quickly build any type of applications or services without considering management or O&M. You can complete a set of backend services for processing multimedia data even in several days.

A messaging service that covers the globe, Alibaba SMS provides convenient, efficient, and intelligent communication capabilities that help businesses quickly contact their customers.

Related Courses

We also have some courses to help you excel in the tools.

How to deploy an image process service on Alibaba Cloud without even using a server (server-less architecture)? Through this Clouder lesson, you will learn how to conveniently do it with Alibaba Cloud Function Compute.

This is a demo to show you how to deplopy Alibaba Cloud Short Message Service.

Reference:

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.