Install Nodejs everyone 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 with the source code installation, call NPM will always appear to find Npmlog errors, and then replaced with a binary system to engage, if 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 separately in the Nodejs and ghost directories


Part III: Install the NODEJS required frameworks and libraries:

./bin/npm-g Install--production


Fourth: Add JS Config file to node.

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

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

3: Then use the absolute path to invoke Nodet add config js file:

.. /nodejs/bin/node Config.js


Fifth: Start the Nodejs service:

.. /NODEJS/BIN/NPM restart


Next you can enter in the browser you just set the listening URL and port in the Config.js


Install Nodejs everyone 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.