sudo apt-get install mldonkey-server
2. MLDonkey will automatically create hidden necessary directory and files under the user's home when first run
# run silently in background
# mlnet &> /dev/null &
mlnet
3. with default setting, MLDonkey listens port 4000(telnet), 4001(gui), 4080(web) and allows only localhost so you may need to edit the list of IP address.
# if run mldonkey as root, the config files would be in /var/lib/mldonkey/
vi /home/user/.mldonkey/downloads.ini
.
.
allowed_ips = [
"127.0.0.1/0";] # mask 0 allows any ip
.
.
gui_port = 4001
http_port = 4080
telnet_port = 4000
.
.
max_hard_upload_rate = 10 # global speed limiting, KB/s
max_hard_download_rate = 0 # global speed limiting, KB/s
max_hard_upload_rate_2 = 5 # for bandwidth toggle
max_hard_download_rate_2 = 20 # for bandwidth toggle
.
.
4. if you wanna connect to mldonkey server via GUI interface, the best choice is sancho. Just download, then run.
http://sancho-gui.sourceforge.net/download.phtml#linux-gtk
5. Remember to change the password of admin by the mldonkey command
useradd admin password
6. you can also handle mldonkey server via telnet
telnet ip 4000
full mldonkey command
http://mldonkey.sourceforge.net/MLdonkeyCommandsExplained
沒有留言:
張貼留言