Re: Run uTorrent on Linux
Installing μTorrent under Wine
If you do not have Wine, you can install, very easily. Adding deposit facility & Wine. It begins with the filing Wine add to the list of deposits (adapt for your distribution)
Code:
http://wine.budgetdedicated.com/apt/387EE263.gpg wget-q-O-|
sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy. list-O / etc / apt / sources.list.d / winehq.list
sudo apt-get update
Then, as usual, it installs as simply the world via deposits
Code:
sudo apt-get install libfreetype6 wine
Download and install μTorrent
Upload the software from the official site
Code:
wget http://download.utorrent.com/beta/utorrent-1.8-alpha-7928.upx.exe
Then run the installation:
For those who have no graphical environment
If you do not have access to an X server, the last statement should be a problem. You can get around the problem thanks to the export display: We need xauth (for Export display) screen (Terminal Multiplexer) and xvfb (Fake X server):
Code:
sudo apt-get install xauth screen xvfb
Connect us from an existing X server, the remote server:
Code:
ssh-X server utorrent @
Creating Directories
Create the directory tree you want:
Code:
mkdir name of the directory where you want to install the program
Installing the Web interface
The web interface allows you to control μTorrent Torrents files remotely from anywhere. This can be really really useful.
We move into the directory of μTorrent
Code:
cd ~ / .wine / drive_c / windows / profiles /usr/ Application \ Data / uTorrent /
Then upload the web interface:
Code:
wget http://www.utorrent.cz/dwn/webui.zip
At this stage, we can start to configure μTorrent:
Code:
wine ~ / .wine / drive_c / Program Files / uTorrent / utorrent.exe
For those who have no X server:
Or even for others, if you do not want μtorrent on your screen. We create our fake X server with the ID 1:
Detach the console (CTRL + A + D) Then we start on the wrong μTorrent X server:
Code:
= export DISPLAY: 1 wine ~ / .wine / drive_c / Program Files / uTorrent / utorrent.exe
If everything works, you can view the administration interface from
Code:
http://localhost/gui/*
Re: Run uTorrent on Linux
To go a step further: Apache configuration & ModProxy
Access control is provided automatically rather unreliable, and it is impossible to turn the handle at the same time Apache on the same port. To begin, Apache's install (if not already), and mod_proxy:
Code:
sudo apt-get install apache2
Then activate the mod proxy:
We will now configure the proxy module to limit access to the administration interface. We would like to proxy between http://127.0.0.1:40000/gui and http://0.0.0.0/gui, the first being the μTorrent server, listening on alternate port 40000.
Changes proxy.conf
Add a Vhost
Code:
ProxyPass / gui http://127.0.0.1:/gui proxy / gui http://127.0.0.1:40000/
The web interface utorrent is listening on port 40000 (alternative port)
In this configuration, it must limit the access of al web interface ip 127.0.0.1 al Utorrent to force a pass through apache2 (in the configuration of μTorrent).
Re: Run uTorrent on Linux
Install uTorrent on linux is not a little to take the lead, knowing that there is in the official repositories of customers very well built as the transmission? There's even a version without gui, transmission-cli and transmission-daemon to run in the background, transmission-daemon + ssh = total happiness. If you want to be even more geeky can still install ajaxterm to have a terminal with a browser accessible from the port 80. Alternatively install torrent-b4rt which is a php frontend for transmission-cli, bittornado, azureus, and even wget and nzbperl which allows, among other streamer vlc with downloaded movies.