Clearly, do this at your own risk, you may break things or even void your warranty.
Note: the informations in this post are outdated, read the whole topic before installing.
First off, you have to enable debian repositories: open the file /etc/apt/sources.list and uncomment the commented lines.
Then update your packages list: as root, give:
apt-get update
Now install the tools needed to compile mldonkey with this command (always as root):
apt-get install bzip2 gcc libc6-dev ocaml-nox zlib1g-dev libbz2-dev libgd2-noxpm-dev
Add an user for the remaining of the work.. don't do it as root:
adduser mule
su - mule
cd /home/mule
Now download the latest release of mldonkey, mine was 2.8.2 (if this doesn't work, go and download it manually):
wget http://ovh.dl.sourceforge.net/sourcefor ... .2.tar.bz2
Untar and enter your directory:
tar xjvf mldonkey-2.8.2.tar.bz2
cd mldonkey-2.8.2
Now, before configuring and compiling, there's a patch to apply. This is becouse of a bug in the arm code that make it freeze. The bug is still open but they posted a patch that walkaround the problem. Here more info: http://savannah.nongnu.org/bugs/?17041
Download and apply the patch:
wget -O arm.patch http://savannah.nongnu.org/bugs/downloa ... e_id=10357
patch < arm.patch
Now you can configure:
./configure
Now for the final step: make. This will take a long time, so prepare to work on your favourite hobby or to take a long nap:
make
Now you can finally run mldonkey:
./mlnet
I suggest to close it as soon as it finish startup, and go editing your config files, especially the file ~/.mldonkey/downloads.ini where you can configure allowed address (for interfaces).
My settings are:
Code: Select all
allowed_ips = [
"127.0.0.1";
"192.168.0.0/24";]
gui_port = 4001
gift_port = 0
http_port = 4080
telnet_port = 4000
That's it
Some hint:
- Configure your firewall: search the configurations file to know your ports and open them, or you'll get low-id and wont' donwload much.
- You can use the wonderful "screen" command to run mlnet in background after loggin out from bubba.
References:
http://www.debianaddict.org/article61.html
http://savannah.nongnu.org/bugs/downloa ... e_id=10357
http://mldonkey.sourceforge.net/