Test OS:ubunt server 12.04 LTS 64bits
The most important documents are in the officical homepage.
1. We download the source code,then compile and install deluge (search 'Download release tarballs' )
- wget http://download.deluge-torrent.org/source/deluge-1.3.11.tar.gz
- tar xzvf deluge-1.3.11.tar.gz
Copy the Code- sudo apt-get update
- sudo apt-get install python python-twisted python-twisted-web python-openssl python-simplejson python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako
Copy the Code- cd deluge-1.3.11.tar.gz
- python setup.py clean -a
- python setup.py build
- sudo python setup.py install
- sudo python setup.py install_data
Copy the Code
2.Add the initial script
http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu
First,
- sudo vi /etc/default/deluge-daemon
Copy the Code- # Configuration for /etc/init.d/deluge-daemon
- # The init.d script will only run if this variable non-empty.
- DELUGED_USER="add the user name" # !!!CHANGE THIS!!!!
- # Should we run at startup?
- RUN_AT_STARTUP="YES"
Copy the Code Attention!! Guys need to add the user name of the DELUGED_USER parameter .
Then,
- sudo vi /etc/init.d/deluge-daemon
Copy the Code Attention!! The path pf the official script parameter DAEMON1 and DAEMON2 may need to be fix the location /usr/bin/ to /usr/local/bin/
You can search the comment "may need to be changed"
Then, change the premission of the initial script and restart the script.
- sudo chmod 755 /etc/init.d/deluge-daemon
- sudo update-rc.d deluge-daemon defaults
- sudo invoke-rc.d deluge-daemon start
Copy the Code
Guest, hidden content will be shown only to users with 7777 points and above
4.People can run the deluge by webui and the default password is deluge.
http://dev.deluge-torrent.org/wiki/Faq#Howtostartthevarioususer-interfaces
Pay attention!! Remember to change the password when you first login the deluge-webui.
|