Monday , December 10 2018
Trang chủ / Linux / How to install Node.js on CentOS (Linux)

How to install Node.js on CentOS (Linux)

Ở bài này mình hướng dẫn các bạn cách cài đặt Node.js trên CentOS 5, các phiên bản khác các bạn cũng làm tương tự.

Yêu cầu bạn cài Ruby, Gem trước: https://ngothang.com/2012/09/12/how-to-install-ruby-1-9-3-rubygems-1-8-7-rails-3-2-1-with-libyaml-on-centos-5/

Cách làm như sau:

Nếu chưa có openssl thì bạn phải cài openssl (đã được cài khi cài đặt ruby ở trên)

1
# yum install openssl-devel

Các bạn vào đây để tải một phiên bản về để tiến hành cài đặt, nếu lỗi thì tải bản khác nhé, trong đây có rất nhiều phiên bản.

1
2
3
4
5
6
7
# cd /usr/local/src
# wget http://nodejs.org/dist/node-v0.6.9.tar.gz
# tar zxvf node-v0.6.9.tar.gz
# cd node-v0.6.9
# ./configure
# make
# make install

Vậy là đã tiến hành cài đặt xong Node.js, chúc các bạn thành công!

About admin

Check Also

Hướng dẫn backup full user trong VPS DirectAdmin

Với dịch vụ vps bạn có thể chủ động việc backup dữ liệu của các …

25 Bình luận

  1. kenstrong92 on April 20, 2010 After reading the cmenmots I think the recovery partition on my computer is maybe corrupt, but I can access system recovery partition pressing f10 on computer brand splash screen, there I can do a destructive recovery, other types of recovery etc. so maybe its not? But if it got corrupt and I was not able to access it and perform a recovery from it I would be doomed because i didnt finish first set of cds! I would lose all my data so thats why i need a 2nd set! I am not computer savvy at all!

    • If you are a beginner in the IT world, when you get any errors installing something, you can feel free to post in here or in forums, everyone will help you out.

  2. I just want to mention I am very new to blogging and site-building and truly loved this web site. Very likely I’m going to bookmark your blog . You surely have incredible stories. Many thanks for sharing your webpage.

  3. Good – I should definitely pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related information ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your client to communicate. Nice task.

    • Currently it seems like BlogEngine is the top blogging
      platform available right now. (from what I’ve read) Is that what you’re using on your blog?

  4. What i do not realize is in reality how you are no longer really a lot much more neatly-appreciated than you could be appropriate now. That you are so intelligent. You understand therefore considerably in relation to this matter, created me personally believe it from a great deal of varied angles. Its like ladies and males don’t seem to be fascinated except it?s something to accomplish with Lady gaga! Your personal stuffs superb. At all times deal with it up!

  5. I’m impressed, I must say. Really rarely do I encounter a weblog that’s both educative and entertaining, and let me tell you, you’ve got hit the nail on the head. Your idea is outstanding; the difficulty is something that not sufficient individuals are speaking intelligently about. I’m very happy that I stumbled throughout this in my seek for one thing referring to this.

  6. It’s appropriate time to make some plans for the long run and it’s time to be happy. I have learn this publish and if I could I wish to suggest you some interesting issues or tips. Maybe you could write next articles referring to this article. I want to read more things approximately it!

  7. Hey there, You have done a great job. I will definitely digg it and personally suggest to my friends.
    I am confident they will be benefited from this web site.

  8. When someone writes an piece of writing he/she retains the thought of a user
    in his/her mind that how a user can be aware
    of it. Therefore that’s why this post is great. Thanks!
    christian wedding invitation wording

    • Hello there! Do you use Twitter? I’d like to follow you if that would be ok. I’m definitely enjoying your blog
      and look forward to new posts.

  9. I blog quite often and I seriously appreciate your information.
    The article has truly peaked my interest. I’m going to take a note of your blog and keep checking for new details about once a week. I opted in for your Feed as well.

  10. Your means of telling the whole thing in this piece of writing is actually pleasant, all be able to effortlessly understand it,
    Thanks a lot.

  11. bookmarked!!, I love your web site!

  1. Pingback: Wartrol Warts Remover

  2. Pingback: Buy Phen375

  3. Pingback: Revitol Reviews

  4. Pingback: Buy Natox

  5. Pingback: customer testimonials

  6. Pingback: free printable paper tower coupons

  7. Pingback: our profile

  8. Pingback: Perry Aguiar

  9. Pingback: Chat for Free

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Đăng Ký Nhận Tin Qua Email

Nhận thông tin bổ ích về WordPress, Hosting, Thủ thuật website, Download miễn phí....và các phần quà hấp dẫn qua email.

* là bắt buộc