im actually running ubuntu 10.04 server edition and then install xbmc as follows:
Code:
sudo add-apt-repository ppa:team-xbmc
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install xbmc xinit x11-xserver-utils
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
then i install xbmc-live:
Code:
sudo adduser <your user> --gecos XBMC
sudo usermod --group audio,video,fuse,cdrom,plugdev <your user>
sudo apt-get install xbmc-live
sudo reboot
as for mldonkey you get the latest package from:
http://packages.debian.org/unstable/net/mldonkey-server
depending on your machine you run:
Code:
sudo dpkg -i mldonkey-server_3.0.0-3_i386.deb
# replace the /etc/init.d/mldonkey-server
sudo rm /etc/init.d/mldonkey-server
# copy the mldonkey-server from packages
sudo cp mldonkey-server /etc/init.d
sudo chmod +x /etc/init.d/mldonkey-server
sudo update-rc.d mldonkey-server start 98 2 3 4 5 . stop 20 0 1 6 .
# kill running mldonkey process & run mlnet to create new downloads.ini under your user
ps aux
sudo kill xxxxx
mlnet
# allow remote connection and change download folders
sudo nano /home/<user>/.mldonkey/downloads.ini
# add allowed ips for remote connection
allowed_ips = [
"127.0.0.1";
"192.168.1.0/24";]
# change temp dir
temp_directory = "/storage/Downloads/incoming"
# change output directories
shared_directories = [
{ dirname = shared
strategy = all_files
priority = 0
};
{ dirname = "/storage/Downloads/compfiles"
strategy = incoming_files
priority = 0
};
{ dirname = "/storage/Downloads/compfolders"
strategy = incoming_directories
priority = 0
};]
then i use sancho to manage mldonkey ... it works fine for me
this is the mldonkey-server file ... just copy it into an empty file and name it "mldonkey-server"
Code:
#! /bin/sh
# Written by Lorenz Bauer
# Feel free to redistribute / modify
set -e
. /lib/lsb/init-functions
if [ -f /etc/default/mldonkey ]; then
. /etc/default/mldonkey
fi
BINARY="/usr/bin/mlnet"
if [ ! -x "$BINARY" ]; then
log_failure_msg "MLDonkey executable not found!"
exit 0
fi
if [ ! -n "$MLNET_DIR" ]; then
MLNET_DIR="/home/mylin/.mldonkey"
fi
if [ ! -d "$MLNET_DIR" ]; then
log_failure_msg "Directory '$MLNET_DIR' doesn't exist!"
exit 0
fi
case "$1" in
start)
log_begin_msg "Starting MLDonkey core..."
local MLNET_ARGS=""
if [ -n "$MLNET_USER" ]; then
MLNET_ARGS="-run_as_user $MLNET_USER"
fi
local SSD_ARGS=""
if [ -n "$MLNET_GROUP" ]; then
SSD_ARGS="-g $MLNET_GROUP"
fi
MLDONKEY_DIR="$MLNET_DIR" start-stop-daemon --start --pidfile "$MLNET_DIR/mlnet.pid" --exec "$BINARY" -b $SSD_ARGS -- -pid "$MLNET_DIR" $MLNET_ARGS || log_end_msg 1
log_end_msg 0
;;
stop)
log_begin_msg "Stopping MLDonkey core..."
start-stop-daemon --stop --oknodo --pidfile "$MLNET_DIR/mlnet.pid" || log_end_msg 1
log_end_msg 0
;;
restart)
log_begin_msg "Restarting MLDonkey core..."
$0 stop 2>&1 > /dev/null || log_end_msg 1
sleep 1
$0 start 2>&1 > /dev/null || log_end_msg 1
log_end_msg 0
;;
*)
log_success_msg "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0