Install Nodejs build Ghost Personal Blog

Source: Internet
Author: User

Take a look at today's process of tossing Nodejs under Linux and learning from each other:


(Do not know why the source code installation, call NPM will always appear to find Npmlog errors, and then replaced with a binary to engage in, assuming that the bull cow know why.) I hope you can leave a message, thank you.


First step: Download the Nodejs binary library

wget http://nodejs.org/dist/v0.10.32/node-v0.10.32-linux-x64.tar.gz

Step two: Download Ghost Open Source code:

wget Https://ghost.org/zip/ghost-0.5.2.zip


Unzip the Nodejs and Ghost folders separately


Part III: Installation of NODEJS required frameworks and libraries:

./bin/npm-g Install--production


Fourth: Add JS Config file to node.

1:CD jump to the Ghost folder, otherwise there will be no Packet.json file errors found

2:vim change Config.js file set the address you want to listen to and port

3: Then use the absolute path call Nodet to join the configuration JS file:

.. /nodejs/bin/node Config.js


Fifth: Start the Nodejs service:

.. /NODEJS/BIN/NPM restart


Next you'll be able to type in the browser you just set up a listening URL and port in Config.js.


Install Nodejs build Ghost Personal Blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.