49
48

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS6にNode.js環境を構築

Posted at

サーバーサイドJavaScriptエンジンの本命、Node.jsの環境構築手順

EPELリポジトリを追加
sudo rpm -ivh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
nodejsとnpmをインストール
sudo yum -y install nodejs npm --enablerepo=epel
バージョン確認
$ node -v
v0.10.32
$ npm -v
1.3.6
HelloWorld
$ vi hello.js
hello.js
console.log("hello world");
hello.jsの実行
$ node hello.js
hello world
49
48
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
49
48

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?