By Kelvin Galabuzi
Ghost is a popular, free, open-source blogging platform used to create and publish content to users worldwide. The platform is written in Node.js and is well-known for being a fast Content Management System (CMS), which is a key attraction for many businesses developing web content.
The following steps describe how to connect to a Simple Application Server instance on the Alibaba Cloud platform:
Note: This article assumes that you already have a running Simple Application Service instance with a domain name associated with it.
The following steps describe how to install Ghost to the Simple Application Server on Alibaba Cloud.
adduser ghostuser
usermod -aG sudo ghostuser
su – ghostuser
-Step 4: Update the packages on your system running the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nginx
-Step 6: Open up the firewall to allow NGINX:
sudo ufw allow 'Nginx Full'
sudo apt-get install mysql-server
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'ghostpass22';
Quit
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash
sudo apt-get install -y nodejs
sudo npm install ghost-cli@latest -g
sudo mkdir -p /var/www/buzzyshirts
sudo chown ghostuser:ghostuser /var/www/buzzyshirts
sudo chmod 775 /var/www/buzzyshirts/
ghost install
Step 14: Insert the following parameters:
The Three Pillars of Alibaba Cloud’s Well-Architectured Framework
564 posts | 54 followers
FollowAlibaba Clouder - May 5, 2019
Alibaba Clouder - May 6, 2019
Alibaba Clouder - December 19, 2018
Alibaba Clouder - May 6, 2019
Alibaba Clouder - August 13, 2020
Alibaba Clouder - August 28, 2020
564 posts | 54 followers
FollowAn all-in-one solution for deploying applications, building websites and blogs, and running web programs, starting from $3.50/month.
Learn MoreHigh-performance virtual machines with data transfer plan, starting from $2.50 per month
Learn MoreAn easy to use service that provides real-time monitoring of servers to ensure high availability
Learn MoreFully managed and less trouble database services
Learn MoreMore Posts by Alibaba Cloud Community