apt-get autoremove --purge mysql* -y
echo "deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu jaunty main" >> /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu jaunty main" >> /etc/apt/sources.list
apt-get install python-software-properties --force-yes -y
add-apt-repository ppa:deluge-team/ppa
apt-get update -y
apt-get install vsftpd screen deluged deluge-web -y
wget -O /etc/init.d/deluge-daemon http://www.2dan.cc/download/deluge-daemon
wget -O /etc/default/deluge-daemon http://www.2dan.cc/download/deluge-daemon2
sudo chmod 755 /etc/init.d/deluge-daemon
sudo update-rc.d deluge-daemon defaults
sudo /etc/init.d/deluge-daemon start