Last update at :2024-06-16,Edit by888u
Originally today, Snail was thinking about a one-click installation Ghost blog script that I found online some time ago. Unfortunately, the author of the source installation package deleted it, resulting in the inability to obtain the file, and then tried to repair some parts of the script without success. Therefore, there is no way to publish it in this article. I will share it later if the repair is completed. So, sometimes when you see something good, you have to bring it locally in time, otherwise you won’t find it until you need it.
Due to the need to use nodejs and npm during the repair process, if the direct yum installation method is used, the version is too low and seems to be incompatible with the latest Ghost program. However, it seems to be relatively large to compile directly from the official wget source. It is also official to use it directly here. The new yum installation method. Write it down here first so you don’t forget it later.
First, choose the appropriate version to install
# 4.x version curl –silent –location https://rpm.nodesource.com/setup_4.x | bash –
# 5.x version curl –silent –location https://rpm.nodesource.com/setup_5.x | bash –
Because the default yum installation is version 0.1.x, which is too low, here we can directly choose the newer 4.X and 5.X versions.
Second, quick installation
yum install -y nodejs
At this time, if we execute yum installation again, it will be the specified version.
Third, check nodejs and npm versions
Here we can see node v5.12.0, and the npm version is v3.8.6.
Recommended site searches: .net space, registration query, asp host space, Wanwang domain name registration official website, free cloud server, US host ranking, website registration number, Henan server free php space application, free domain name registration,
发表评论