1
1

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.

Amazon Linux に Sixpack をインストール

Posted at

Sixpack の環境構築の覚え書き
[seatgeek/sixpack · GitHub] https://github.com/seatgeek/sixpack

環境:
AMI ID:amzn-ami-hvm-2014.09.1.x86_64-ebs (ami-4985b048)

1 Redis のインストール

以下を参考にさせてもらいました。
[CentOSへのRedisインストールメモ - Qiita] http://qiita.com/n0bisuke/items/2448010c0dfaf8a20167

RedisEnv.
# wget http://download.redis.io/releases/redis-2.8.17.tar.gz
# tar xzf redis-2.8.17.tar.gz
# cd redis-2.8.17/
# make
# make install

2 Python 2.7 のインストール
デフォルトでPython2.6がインストールされているのでアンインストールしてPython2.7をインストール。合せて eazy_install、pip も入れる。以下を参考にさせてもらいました。

[Amazon Linux のPython をアップデートしてbotoをインストールします。 | ナレコムAWSレシピ] http://recipe.kc-cloud.jp/archives/4296

pythonEnv.
# yum -y remove python
# yum -y install python2.7
# ln -s /usr/bin/python2.7 /usr/bin/python
# cp /usr/bin/yum /usr/bin/_yum_old
# sed -i s/python/python26/g /usr/bin/yum
eazy_install&pip
# curl -o /usr/local/src/ez_setup.py  https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# d /usr/local/src/
# python ez_setup.py
# easy_install-2.7 pip

3 Sixpack のインストール

これはサイトに出ているまんま。デフォルトの設定ファイルでも起動はする。

Sixpack
# pip install sixpack

4 起動

Run
# redis-server &
# sixpack &
# sixpack-web &

起動確認以下をブラウザで。
http://localhost:5001 <- sixpack-web
http://localhost:5000 <- sixpack

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?