Linux VPS host one-click batch installation of Ghost blog website script

888u

Last update at :2024-07-03,Edit by888u

Nowadays, it is quite easy for us to set up a website. By purchasing a domain name, buying a cheap virtual host or VPS server, you can basically have your own website in minutes. Especially when it comes to website programs, we don’t need to write them ourselves. There are open source and free CMSs all over the Internet, and you can always find your favorite theme templates and apply them.

Although some people in certain circles think that light blogging programs such as Ghost have various advantages, for us ordinary users, they are not actually used very much. Firstly, it is a bit troublesome to set up. Secondly, The functions are relatively simple and not suitable for fussing. However, there are also many people who use it. For example, some of our VPS hosts with small memory can use Ghost to set up simple personal websites because it is lightweight and takes up less resources.

Snail has also toyed with the Ghost light blog program several times in previous blog posts. After installation, its background and use are relatively simple, suitable for some document logs, and it takes up relatively few resources. In this article, I have undoubtedly seen netizens share the one-click installation Ghost script in GITHUB, and its feature is that it can be repeatedly installed multiple times on one server, which is suitable for some small site groups.

Snail has previously shared related articles about Ghost:

1. One-click installation of Ghost light blog program for deployment based on Ubuntu and CentOS environments

2. One-click installation of Ghost Chinese blog in VPS environment: LightTPD+SQLite+Node.js

Here Snail will take a look at the features of the following one-click script and the installation process. Maybe there is also a suitable friend who likes to use it.

First, preparations for script installation

The deployment of this script requires a separate Linux VPS or server. After all, we are doing it, so we don’t have to use the VPS of the project/website that is already in use, which will be broken if we turn around. Currently this script is suitable for installation in Ubuntu 16.04, 14.04, 12.04, and Debian 8 environment releases.

The one-click package will install Nginx as needed, as well as the web application firewall ModSecurity or Naxsi.

Second, install the Ghost blog one-click package

1. Update system

apt-get update && apt-get dist-upgrade

It is best to restart the system after updating to ensure integrity.

2. Select installation

A – Select ModSecurity

wget https://git.io/ghost-nginx-modsecurity -O ghost-nginx-modsecurity.shsudo bash ghost-nginx-modsecurity.sh ghost.laobuluo.com

B – Select Naxsi

wget https://git.io/ghost-nginx-naxsi -O ghost-nginx-naxsi.shsudo bash ghost-nginx-naxsi.sh ghost.laobuluo.com

Here we only need to select one of them, and then install it with one click. In particular, we need to replace the red URL part above with our own URL.

According to the prompt, we enter y and press Enter to install it automatically. Then we wait for the installation to be successful.

Seeing such an interface means that the current first Ghost blog has been installed.

3. Repeated installation of multiple domain names

sudo bash ghost-nginx-modsecurity.sh www.laozuo.org

We can repeatedly install up to 10 Ghost blog program websites on the same server. We only need to repeat the above installation steps and change the domain name to another.

Third, Ghost blog setting parameters

After the Ghost blog is automatically installed, we need to set up an account.

http://our domain name/ghost/

Such a directory enters the Ghost background setting interface.

Here we need to create an administrator account for ourselves.

Set the Ghost administrator's email, username, password, and blog homepage title. Then we can enter the backend homepage.

In this way, we can publish logs, and a simple personal log blog is completed.

To summarize, this Ghost Blog one-click installation program is relatively simple. It can install the Ghost Blog program relatively automatically, and can install 10 sites by default. If you like to use Ghost light blog and have trouble installing it manually, you can use this automatic installation method.

Recommended site searches: US domain name registration, host discount code, domain name registration number query, website IP address query, Hong Kong cn2 server, vps host, Chinese domain name, foreign vps server rental, domain name registration information query, overseas virtual host space,

Linux VPS host one-click batch installation of Ghost blog website script

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码