As for the installation of Ghost light blog program, there are still many online tutorials, 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 we really want to write logs for websites, we still use normal CMS programs. VPS today is not very expensive. Don't worry about saving resources, but waste time on ourselves.
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.
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.
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
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.
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.
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.