ãEC2ãnpmãã¤ã³ã¹ãã¼ã«ãã
ããã©ã«ãã®repoè¨å®ã§ã¯npmããªãã
epelããå
¥ããã®ãä¸çªç°¡åããã
$ rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ yum install npm --enabelrepo=epel
ããã§ç¡äºã¯ããã¯ãã
Chefã§æ¸ãå ´åã¯ä»¥ä¸ã
bash 'add_repo_epel' do code <<-EOC rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm EOC creates '/etc/yum.repos.d/epel.repo' end package 'npm' do action :install options '--enablerepo=epel' end
gitããcloneãã¦ãã¦makeããæ¹æ³ã®æ¹ãè¯ãã®ããªâ¦â¦ã
ããåãããªãã®ã§æ¥½ãªæ¹ã§ãã¾ãããã¨æãã