CentOSにHubotをインストールしてみる
VirtualBoxにCentOSをとりあえずインストール
の続き
CentOSにHubotをインストールしてみる。
$ su -
epel
epelのリポジトリを追加する。
# rpm -ivh http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
# vi /etc/yum.repos.d/epel.repo enable=1 ↓ enable=0
Node.js
Node.jsをインストールする。
# yum -y install nodejs npm --enablerepo=epel
Redis
Redisをインストールして、
# yum -y install redis --enablerepo=epel
起動する。ついでに自動起動の設定もする。
# service redis start # chkconfig redis on
coffee-scriptとhubot
coffee-scriptとhubotをインストールする。
# npm install -g coffee-script hubot
インストールできた。
# hubot -v
2.8.1
# exit