CenterOS6.0安装kestrel消息队列服务器

cd /home

step 1: 安装sbt
wget http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar
mv sbt-launch.jar /usr/local/bin/
echo 'java -Xmx512M -jar `dirname $0`/sbt-launch.jar "$@"' >> /usr/local/bin/sbt
chmod 777 /usr/local/bin/sbt


step 2: 安装scala
wget http://www.scala-lang.org/downloads/distrib/files/scala-2.9.2.rpm
如果上面的地址失效,那么请从下面的地址下载:
wget http://www.scala-lang.org/files/archive/scala-2.9.2.rpm
rpm -ivh --force scala-2.9.2.rpm


step 3: 安装daemon
wget http://libslack.org/daemon/download/daemon-0.6.4.tar.gz
tar -zxvf daemon-0.6.4.tar.gz
cd daemon-0.6.4
./configure
make && make install


step 4: 安装kestrel
wget http://robey.github.com/kestrel/download/kestrel-2.2.0.zip
unzip kestrel-2.2.0.zip
mv kestrel-2.2.0 /usr/local/kestrel
mkdir /usr/local/kestrel/current
cp /usr/local/kestrel/*.jar /usr/local/kestrel/current


启动
nohup java -jar /usr/local/kestrel/kestrel_2.9.1-2.2.0.jar &


连接服务器:
telnet 127.0.0.1 22133
telnet 127.0.0.1 2222

你可能感兴趣的:(kestrel)