This is incomplete. Don't follow these directions.
-
Install rtorrent
root@omv:~# apt-get install rtorrent -y
-
Install PHP7 and other ruTorrent dependencies
root@omv:
# echo "deb http://packages.dotdeb.org jessie all" >>/etc/apt/sources.list.d/dotdeb-org.list root@omv:# echo "deb-src http://packages.dotdeb.org jessie all" >>/etc/apt/sources.list.d/dotdeb-org.list root@omv:# wget --output-document=/tmp/dotdeb.gpg https://www.dotdeb.org/dotdeb.gpg root@omv:# sudo apt-key add /tmp/dotdeb.gpg root@omv:# apt-get update root@omv:# apt-get install php7.0-geoip php7.0-cli php7.0-json php7.0-curl php7.0-cgi php7.0-mbstring unrar-free unzip mediainfo curl
#. Download ruTorrent and drop it in the appropriate directory
root@omv:~# apt-get install git
root@omv:~# pushd /var/www/
root@omv:/var/www# git clone https://github.com/Novik/ruTorrent.git
root@omv:/var/www# cd ruTorrent
root@omv:/var/www/ruTorrent# git checkout tags/v3.8
root@omv:/var/www/ruTorrent# popd
root@omv:~# chown -R www-data:www-data /var/www/ruTorrent
#. Secure login using a username and password
root@omv:~# apt-get install apache2-utils
root@omv:~# htpasswd -c /var/www/ruTorrent/.htpasswd rutorrent
root@omv:~# chown www-data:www-data /var/www/ruTorrent/.htpasswd
#. Configure nginx to use ruTorrent on a non-default port
pushd /etc/nginx/
Adapted from Tech and Me's and Juan Chong's tutorials. Also https://shiji.info/blog/2016/en/99.