Skip to content

Instantly share code, notes, and snippets.

@duggan
Last active March 3, 2019 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save duggan/5226732 to your computer and use it in GitHub Desktop.
Save duggan/5226732 to your computer and use it in GitHub Desktop.
Setup script for Archive Warrior Yahoo Messages SpotInstance AMI
#!/bin/bash
set -o nounset
set -o errexit
# Install dependencies
apt-get update
apt-get install -y build-essential lua5.1 liblua5.1-0-dev python python-setuptools python-dev git-core openssl libssl-dev python-pip rsync gcc make git supervisor
pip install seesaw
git clone https://github.com/ArchiveTeam/yahoomessages-grab
cd yahoomessages-grab
./get-wget-lua.sh
git clone git://gist.github.com/5226491.git setup-config && cd setup-config
mv install.sh /etc/init.d/warrior && chmod +x /etc/init.d/warrior
update-rc.d warrior defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment