I’ve recently been experimenting with using a seedbox; I built one using CentOS 6.5 and Deluge. The original guide I followed used a repo that only had Deluge 1.3.5 and later through some googling I found a repo for installing 1.3.6.
First add the repo for Deluge 1.3.6:
1 |
vi /etc/yum.repos.d/freshway.repo |
Add the following lines:
1 2 3 4 5 |
[freshway] name=Freshway.biz baseurl=http://vps.us.freshway.biz/CentOS-6-Production-x86_64/RPMS.freshway/ enabled=1 gpgcheck=0 |
I also needed the repo for the geoip package which is required for deluge; my CentOS install at home needed it but a CentOS cloud server I tried didn’t:
1 |
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm |
Now we can install geoip and deluge:
1 2 |
yum install geoip -y yum install deluge -y |
Create a user to run deluge:
1 |
useradd seedbox |
Set deluge daemon and webui to start automatically:
1 |
vi /etc/rc.local |
Add the following lines:
1 2 |
su seedbox -c "deluged" su seedbox -c "deluge-web --fork" |
Now deluge will automatically start and run under seedbox user. Don’t forget to add rules to iptables for port 8112 which is the default port for the deluge webui.