Skip to content

Instantly share code, notes, and snippets.

@xwu
Created June 19, 2009 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xwu/132743 to your computer and use it in GitHub Desktop.
Save xwu/132743 to your computer and use it in GitHub Desktop.
Download and configure Trait-o-matic core
cd
wget http://github.com/xwu/trait-o-matic/tarball/master -O trait.tar.gz
rm -Rf xwu-trait-o-matic-*
tar -zxvf trait.tar.gz
sudo rm -Rf /usr/share/trait
sudo cp -R xwu-trait-o-matic-*/core /usr/share/trait
cd /usr/share/trait
sudo python setup.py build_ext --inplace
sudo cp trait.sh /etc/init.d
cd /etc/init.d
sudo chmod 755 trait.sh
sudo update-rc.d trait.sh start 20 2 3 4 5 . stop 80 0 1 6 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment