Tag archive for » Linux «

How to install uTorrent Server with WebUI on Ubuntu without Wine

Sunday, 20. November 2011 13:17

Over the years I’ve tried several torrent clients on my Ubuntu server.
Since it’s an old 1Ghz P4 work horse, I prefer to run things “headless”.

The username used here is “yourname”, replace that with your own user name.
You also might want to check on the utorrent website for an updated version first.

Step 1 – get the uTorrent archive and unpack


$ cd /home/yourname/
$ wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
$ tar xzf utorrent-server-3.0-25053.tar.gz

Check the unpacked directory with the “ls” command, there should be a folder called “utorrent-server-v3_0″.

Step 2 – create a startup script

The script below is the startup script you need to run utserver automatically on startup.
Credit for the script goes to simonbcn.

Get the script here, and save it as /etc/init.d/utserver

Don’t forget to modify the CHDIR and NAME values in the script!

In our case, the CHDIR would be “/home/yourname/utorrent-server-v3_0″ and the USER would be “yourname”

Step 3 – run the script on startup

Make it executable:


$ sudo chmod +x /etc/init.d/utserver

Tell your system to run this script on startup:


$ sudo update-rc.d utserver defaults

Now reboot your system to check if this works.
If all went well, you can access the WebGUI on http://yourserverip:8080/gui from inside your LAN.

Step 4 – configure uTorrent

Now next thing to do, is setup the uTorrent Sever in the Preferences window:

You will probably want to set a name, password and your own listening port for the WebGUI.
When you’re done, visit the new page and log in (in my case http://yourserverip:12090/gui).
Then configure the uTorrent Server to your liking!

Make sure your download directories are writable, most common errors have to do with file permissions!

Category:Linux | Comments (2) | Autor: djsadhu

Ubuntu, torrents and anti-virus trick

Saturday, 2. January 2010 0:12

There are probably a lot of ways to scan downloaded files after completion in Ubuntu.
I run an old P4 download server with Ubuntu, and I want to scan my downloads for virusses before I use them on a Windows machine.
I installed Avast, which has command line access to the scanner.
I use Deluge (for its great WebUi) and for some reason the “execute on completion” plugin did not work.

In my case, Deluge moves completed downloads to “/storage”

Here’s my solution: I installed dnotify and use it to trigger Avast.

dnotify -C /storage -r -e avast -p=1 /storage

…will trigger a scan of the folder, right after a file has been created.
-C is to trigger an event on file creation
-r is for recursive monitoring
-e is the command that needs to be executed
“avast -p=1 /storage” is to run an Avast virus scan.
Warning: the “-p=1″ option deletes infected files without warning.

You can replace the directory “/storage” with your own.

I know, the method is rude – but it works like a charm.

Category:Linux | Comments Off | Autor: djsadhu

Ubuntu, Fedora and Linux Mint

Tuesday, 22. September 2009 15:14

One day while testing the beta of Windows7 a message appeared: “This beta will expire in 6 hours”, or something similar. I had been thinking about making the switch to Linux, in this case Bill left me no choice. I downloaded the latest Ubuntu version, formatted my hard disk and installed the “Jackalope”.

I had tried Ubuntu a couple of years ago, and it took me two weeks to figure out how to install my video card drivers. Irritated I gave up backup then, because productivity was down to zero while struggling with an unknown OS. Luckily most Linux distro’s have come a long way since, including Ubuntu. The installation went smoothly, a pop-up appeared telling me that “proprietary drivers were available”. Even more, it told me that these drivers weren’t open source, and I would be depending on the manufacturer for updates, so the Linux community marked them as a “security risk”.
They worked fine nevertheless. I was relieved that most of my hardware worked “out of the box” with the new Ubuntu. Only my web cam didn’t, but I never used it anyway.

Since Ubuntu I have tried a couple of Linux distro’s on several computers in my home. Now I’m not a real expert, I only have a couple of months experience with Linux, but here are my findings:

Ubuntu logo
Ubuntu 9.04 “Jaunty Jackalope”
Very easy to install, graphical installer (but that goes for the other distro’s mentioned here as well). Most hardware works out of the box. Missing codecs bring up a search function, and most can be installed effortless. Very calming interface & colors (when I went back to XP for an hour, I got real nervous and agitated). Great desktop effects with Compiz Fusion, including Desktop Cube.
All in all a very stable OS, great looking, needs a little tweaking and post-installing. Why is my wireless re-enabled after each restart? I have to switch it after off every boot!

Fedora 11 logo
Fedora 11
Wins hands down on speed, absolutely the fastest distro I have ever seen. Brilliant. Very clean look and feel, feels like a computer hardware upgrade. Only basic required software is pre-installed. Codecs (even for mp3?) must be installed manually. Flash, Silverlight, xvid, divx… good luck with these (for experienced users they will not be a problem). A great light-weight operating system, but it needed the most post-install time of all distro’s I tried. Runs great on our budget Acer lap-top, except Firefox hangs on certain javascripts (anybody?)

Linux Mint logo
Linux Mint 7 “Gloria”
Linux Mint is based on Ubuntu, and it looks like a bunch of Ubuntu users got together and decided what to remove and add. The results are fantastic: a new menu with favorites, a better software installer with ratings and reviews, full-screen pictures and so on. All codecs are pre-installed! Flash, Silverlight, mp3, video codecs, plugins, addons, you name it. This saves me an hour or two after installing. Linux Mint has a color scheme that makes you question the Ubuntu-brown. There are many other improvements and changes, all in all I favor Mint over Ubuntu.
After installing this OS, it feels like you don’t have to do anything yourself.

Xfce logo
Linux Mint Xfce Edition
Now this is a version that uses the Xfce Desktop Environment (instead of KDE or GNOME). I don’t think there’s anything wrong with KDE and GNOME, but when I tasted the more lightweight Xcfe desktop, I was sold instantly. To this day this is my favorite distro: a perfect balance between usability and speed. Faster than KDE, not too bulky, but also not stripped down like Fedora (Fedora it isn’t called “Core” for no reason). I just love its simplicity and stabilty.

Now some Linux pro could probably prove me wrong on all points, or show me a distro that’s even better. No really: please do!
But that depends on what you are looking for: for me the best mix between an easy install, a light-weight desktop and a feature-rich OS has been Linux Mint Xfce. Maybe when I’m better used to Linux I will run that mighty fast Fedora again.

Category:Linux | Comments Off | Autor: djsadhu