AMule: The all-platform eMule client

Originally by marge and edited by frontalot from linkstationwiki.org

You will need some libraries in order to successfully compile: apt-get install libexpat-dev libtiff-dev libjpeg-dev libpng-dev libgd-dev libgtk-dev

Then get wxWidgets (2.4.2 does not work) and aMule itself (you should do this as a normal user): wget ftp://biolpc22.york.ac.uk/pub/2.6.1/wxGTK-2.6.1.tar.bz2 wget http://puzzle.dl.sourceforge.net/sourceforge/amule/aMule-2.0.3.tar.gz

Then unpack what you downloaded tar xvjf wxGTK-2.6.1.tar.bz2 tar xvzf aMule-2.0.3.tar.gz

Then create the needed libraries and programs (I compiled all of this on the LS2. Takes more than a day but I had the time ;-)): cd wxGTK* ./configure --with-gtk=1 --disable-odbc make su make install ^D (to return to normal user) cd .. cd aMule* [=./configure --prefix=/usr/bin/aMule --enable-amule-daemon --enable-amulecmd --enable-webserver \=] [=--enable-webservergui --disable-amule-gui --disable-debug --disable-gtk --enable-optimize --enable-alcc=] make su make install ^D (to return to normal user)

You might also add --enable-ccache if you did a apt-get install ccache before. To learn about options see http://www.amule.org/wiki/index.php/Configure. Now set up amule.conf as described in http://www.amule.org/wiki/index.php/Webserver#Webserver_with_aMule_2.0.0_or_later.

After all is set up run the program /usr/bin/aMule/bin/amuled -o -f /usr/bin/aMule/bin/amuleweb -q -P [thepassyousetup] &

More info about the latter can be found at http://www.amule.org/wiki/index.php/FAQ_webserver#Can_I_run_aMuleWeb_as_a_daemon?. Now you can connect to your aMule using your favorite browser: http://your.ip.here:4711, pass is empty

This is only safe for intranet and personal use. If you want to use if over the web you have to do a little bit more - create a remote.conf

[EC] Host=localhost Port=4712 Password=efb77c96e82dd2c40ac13f439f1b251c [this is the pass from amule.conf you use program communication] [Webserver] Port=4711 Template=default UseGzip=1 AllowGuest=0 AdminPassword=efb77c96e82dd2c40ac13f439f1b251c [this is the pass you want to use for web login] PageRefreshTime=0 GraphHeight=149 GraphWidth=500 GraphScale=3

Much more info about aMule can be found on http://www.amule.org/wiki

This posting might help in installing amuled from init: http://forum.amule.org/thread.php?threadid=7041&sid=fbb75943ee9e4771534716ff143f245d&hilight=amule+conf