SuSE 9.3 install at home
From AMule Project FAQ
Someone should check how recent this Article is, and update it for 2.1.3 or better 2.2.0
SuSE 9.2 users read this article instead.
aMule Daemon with WebInterface on SuSE Linux 9.3 The following has been tested on a fresh SuSE Linux 9.3 system where I chose a minimal software installation.
You need the following additional tools (install them via YaST if you do not already have them):
- wget
- gcc
- gcc-c++
- gtk
- gtk-devel
- zlib-devel
- libpng-devel
- gd-devel
It did as root:
yast -i wget gcc gcc-c++ gtk gtk-devel zlib-devel libpng-devel gd-devel
Remember that SuSE Linux 9.3 has a built-in firewall. So you should first deactivate it for testing the installation. You can do this in YaST.
Installation steps:
As user:
1) Go to your home dir and create a directory called aMule:
mkdir ~/aMule
2) Go into it:
cd ~/aMule
3) Download wxGTK-2.6.2, extract it and enter the new directory:
wget ftp://biolpc22.york.ac.uk/pub/2.6.1/wxGTK-2.6.2.tar.gz tar xfvz wxGTK-2.6.2.tar.gz cd wxGTK-2.6.2
Now, as root:
4) Search for a file called gtk-config (find /| grep gtk-config). It should be in /opt/gnome/bin. Copy it to /usr/local/bin
cp /opt/gnome/bin/gtk-config /usr/local/bin/gtk-config
Again, as user:
5) Now build the wxGTK package by typing:
./configure --prefix=/home/your own username here/aMule/ --disable-gtk2 --with-gtk && make && make install
6) Change to your ~/aMule directory, download aMule, extract it and enter the new directory:
cd ~/aMule wget http://download.berlios.de/amule/aMule-2.1.0.tar.gz tar xfvz aMule-2.1.0.tar.gz cd ~/aMule-2.1.0
7) Run this command to install the aMule executables in /home/your own username here/aMule/bin:
./configure --prefix=/home/your own username here/aMule/ --disable-monolithic --enable-amule-daemon --enable-webserver --disable-optimize --enable-debug --with-wx-config=/home/your own username here/aMule/bin/wx-config && make && make install
8) Now type: export LD_LIBRARY_PATH=/home/your own username here/aMule/lib:$LD_LIBRARY_PATH
Congratulations, you're almost ready to use aMule!
Each time you want to start aMule, run this command:
export LD_LIBRARY_PATH=/home/your own username here/aMule/lib:$LD_LIBRARY_PATH
As I said, your aMule binnaries are in ~/aMule/bin. Change into this directory before running aMuled:
cd ~/aMule/bin ./amuled
The first time you want to run amuled you get this error message:
ERROR: aMule daemon cannot be used when external connections are disabled. To enable External Connections, use either a normal aMule or set the key"AcceptExternalConnections" to 1 in the file ~/.aMule/amule.conf
So, edit the ~/.aMule/amule.conf file with you favorite text editor and change the following things:
| Section | Default value | Change to |
| [eMule] | AcceptExternalConnections=0 | AcceptExternalConnections=1 |
| [WebServer] | Enabled=0 | Enabled=1 |
| [WebServer] | ECUseTCPPort=0 | ECUseTCPPort=1 |
You must set a password for connecting to the WebInterface! To generate one, type:
echo -n password | md5sum | cut -d " " -f 1
Now copy the output (something like 5432klsdf31345asdf[...] to the amule.conf file in the section:
ECPassword=
Now start aMuled by typing ./amuled in the aMule/bin directory, and ./amuleweb for starting the WebInterface.
You will be prompted for the password you generated with the echo... command above.
After this, you can open your browser and connect to <Your_Ip>:4711 with an empty password to access the WebInterface!
Enjoy!
Note
The phrase "your own username here" in several passages of the above text of course has to replaced by your username. You can check out your username by typing whoami in a terminal.
at my SUSE 9.3 installation gtk-devel was not available, so "yast -i .. gtk-devel" didn't work for me
i downloaded glib-devel ( gtk-devel prerequisite ) and gtk-devel from ftp://fr.rpmfind.net/linux/SuSE-Linux/i386/9.3/suse/i586/glib-devel-1.2.10-593.i586.rpm and ftp://fr2.rpmfind.net/linux/SuSE-Linux/i386/9.3/suse/i586/gtk-devel-1.2.10-885.i586.rpm
hope this helps
