config for my own VPS doing torrents
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cookbooks
.gitignore
README.md
Rakefile
chef.json
solo.rb

README.md

chef-torrents

Collection of Chef cookbooks for setting up a torrenting VPS.

Requires Ubuntu Hardy (8.04).

Sets up Apache2, rtorrent, collectd, and some base utils.

Setting up the base system

sudo -s

echo '
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://ppa.launchpad.net/ubuntu-ruby/ubuntu hardy main
' > /etc/apt/sources.list

aptitude update
aptitude install screen wget language-pack-en
wget http://holmwood.id.au/~lindsay/wakanai/config/screenrc -O .screenrc

Installing Chef

aptitude install ruby ruby1.8-dev libopenssl-ruby1.8 build-essential wget

aptitude install rubygems
gem sources -a http://gems.opscode.com
gem install chef ohai

Running Chef

rake build
sudo chef-solo -c solo.rb -j chef.json