Focus on cloud service provider activities
Notes on website operation and maintenance

One click installation of Ghost light blog program to realize deployment based on Ubuntu and CentOS environment

about Ghost There are still many online tutorials for the installation of light blog programs, but it is basically difficult to find a complete tutorial. If you are not very familiar with the Linux environment, it may be difficult to install it. Last week, Lao Zuo struggled with CentOS based systems, and then installed Nginx/MySQL/Node.js step by step.

PS: If we are struggling, we can play Ghost If the normal CMS program is still used to write logs for websites, VPS is not very expensive today. Don't worry about saving resources, but waste time on yourself.

In this article, Lao Zuo shares a method that can quickly deploy Ghost light blog based on Ubuntu and CentOS environment with one click command. It only takes two steps. Isn't it attractive to you?

First, install Ghost in one click package

wget https://soft.laozuo.org/ghost/installghost_ubuntu_centos.sh
sh installghost_ubuntu_centos.sh

Log in to SSH, and then drop the above script for execution.

 One click package installation Ghost

After losing the script, all we can do is wait and see the interface above.

Second, Ghost binds domain names

In fact, after the first step of installation, we can enter the IP address in the browser to see the deployed GHOST blog.

 Ghost binding domain name

We only need to modify the domain name to be bound in the configuration file, provided that our domain name resolves to the current VPS IP address, and then modify it in the following path file.

/var/www/ghost/config.js

 One click installation of Ghost light blog program to realize deployment based on Ubuntu and CentOS environment

After the modification is saved, we can use the domain name we bound in the browser to open it. After installation, for the first time, we need to log in to http://website/ghost, log in to the website background, and set the blog information and password for the first time.

 Deploy ghost blog account and password for the first time

Set the information, login mailbox and password of our blog, and click to complete the deployment. Then we can write our own articles in the background.

 Ghost blog writing

In conclusion, we can quickly deploy Ghost light blogging programs through one click script installation, which is much easier than step deployment. PS: It's really idle to make this website. It's better to use normal procedures.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » One click installation of Ghost light blog program to realize deployment based on Ubuntu and CentOS environment


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge