"CentOS6 node.js 0.x 설치"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 3명의 중간 판 15개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;리눅스 node.js 설치
{{다른뜻|우분투 node.js 설치}}
;CentOS node.js 설치


==설치 확인==
==확인==
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep nodejs
[root@zetawiki ~]# rpm -qa | grep nodejs
[root@zetawiki ~]#
[root@zetawiki ~]# node -v
</source>
-bash: node: command not found
</syntaxhighlight>
 


==epel 저장소 추가==
==epel 저장소 추가==
11번째 줄: 14번째 줄:


==설치==
==설치==
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum install nodejs
[root@zetawiki ~]# yum install nodejs
... (생략)
... (생략)
===========================================================================================
======================================================================================================
  Package           Arch         Version                               Repository   Size
  Package               Arch             Version                                 Repository     Size
===========================================================================================
======================================================================================================
Installing:
Installing:
  nodejs             x86_64       0.10.25-1.el6                         epel       490 k
  nodejs               x86_64           0.10.36-3.el6                           epel           521 k
Installing for dependencies:
Installing for dependencies:
  c-ares19          x86_64        1.9.1-4.el6.3                         epel         73 k
  c-ares19             x86_64           1.9.1-5.el6.3                           epel           73 k
  http-parser       x86_64       2.0-4.20121128gitcd01361.el6           epel         22 k
  http-parser           x86_64           2.0-4.20121128gitcd01361.el6             epel           22 k
  libuv             x86_64       1:0.10.23-1.el6                       epel         54 k
  libuv                 x86_64           1:0.10.34-1.el6                         epel           57 k
  v8                 x86_64       1:3.14.5.10-4.el6                     epel       3.0 M
  v8                   x86_64           1:3.14.5.10-17.el6                       epel           3.0 M


Transaction Summary
Transaction Summary
===========================================================================================
======================================================================================================
Install      5 Package(s)
Install      5 Package(s)


Total download size: 3.6 M
Total download size: 3.7 M
Installed size: 12 M
Installed size: 12 M
Is this ok [y/N]: y
Is this ok [y/N]: y
</source>
</syntaxhighlight>
<source lang='cli'>
<syntaxhighlight lang='console'>
... (생략)
... (생략)
Installed:
Installed:
   nodejs.x86_64 0:0.10.25-1.el6                                                          
   nodejs.x86_64 0:0.10.36-3.el6                                                                      


Dependency Installed:
Dependency Installed:
   c-ares19.x86_64 0:1.9.1-4.el6.3     http-parser.x86_64 0:2.0-4.20121128gitcd01361.el6  
   c-ares19.x86_64 0:1.9.1-5.el6.3         http-parser.x86_64 0:2.0-4.20121128gitcd01361.el6        
   libuv.x86_64 1:0.10.23-1.el6       v8.x86_64 1:3.14.5.10-4.el6                        
   libuv.x86_64 1:0.10.34-1.el6             v8.x86_64 1:3.14.5.10-17.el6                            


Complete!
Complete!
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep nodejs
[root@zetawiki ~]# rpm -qa | grep nodejs
nodejs-0.10.25-1.el6.x86_64
nodejs-0.10.36-3.el6.x86_64
</source>
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# node -v
v0.10.36
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[/usr/bin/node]]
* [[CentOS7 node.js 6.x 설치]]
*[[node.js]]
* [[우분투 node.js 설치]]
* [[CentOS npm 설치]]
* [[/usr/bin/node]]
* [[node.js]]


==참고 자료==
==참고==
*https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
*https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager


[[분류: node.js]]
[[분류: node.js]]

2020년 11월 2일 (월) 02:54 기준 최신판

  다른 뜻에 대해서는 우분투 node.js 설치 문서를 참조하십시오.
CentOS node.js 설치

1 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep nodejs
[root@zetawiki ~]# node -v
-bash: node: command not found


2 epel 저장소 추가[ | ]

3 설치[ | ]

[root@zetawiki ~]# yum install nodejs
... (생략)
======================================================================================================
 Package               Arch             Version                                  Repository      Size
======================================================================================================
Installing:
 nodejs                x86_64           0.10.36-3.el6                            epel           521 k
Installing for dependencies:
 c-ares19              x86_64           1.9.1-5.el6.3                            epel            73 k
 http-parser           x86_64           2.0-4.20121128gitcd01361.el6             epel            22 k
 libuv                 x86_64           1:0.10.34-1.el6                          epel            57 k
 v8                    x86_64           1:3.14.5.10-17.el6                       epel           3.0 M

Transaction Summary
======================================================================================================
Install       5 Package(s)

Total download size: 3.7 M
Installed size: 12 M
Is this ok [y/N]: y
... (생략)
Installed:
  nodejs.x86_64 0:0.10.36-3.el6                                                                       

Dependency Installed:
  c-ares19.x86_64 0:1.9.1-5.el6.3          http-parser.x86_64 0:2.0-4.20121128gitcd01361.el6         
  libuv.x86_64 1:0.10.34-1.el6             v8.x86_64 1:3.14.5.10-17.el6                              

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep nodejs
nodejs-0.10.36-3.el6.x86_64
[root@zetawiki ~]# node -v
v0.10.36

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}