To cater to my brother's P2P needs I decided to install MLDonkey without X11 support leaving only the core with both telnet and web interfaces. The target computer was my 1.3GHz Pentium-M laptop headless server (faulty display) running Gentoo Hardened located at my parents house.
Bellow are the steps needed to install MLDonkey on Gentoo with Bittorrent, eDonkey and Overnet support:
- $ su
- # eix-sync
- # echo "net-p2p/mldonkey ocamlopt -doc -fasttrack -gd -gnutella -gtk -guionly -magic" >> /etc/portage/package.use
- # emerge -tav mldonkey
- # rc-update add mldonkey default
- # /etc/init.d/mldonkey start
Now we are going to modify the MLDonkey configuration:
- # /etc/init.d/mldonkey status
- # exit
- $ telnet 127.0.0.1 4000
- > auth admin ""
- > passwd newpassword
- > set allowed_ips "127.0.0.1 192.168.1.0/24"
- > save
- > exit
MLDonkey's web server can be accessed on http://localhost:4080, so fire-up your browser and point to the address. If your planning to access the server from another computer replace localhost bit by the server's ip or hostname.
The following are a few useful commands that can be passed on to MLDonkey:
- # /etc/init.d/mldonkey start
- # /etc/init.d/mldonkey stop
- # /etc/init.d/mldonkey restart
- # /etc/init.d/mldonkey status
No comments:
Post a Comment