venerdì 7 marzo 2008

aMule: How to install and configure

aMule: come installare e configurare

First of all, I suggest you to install the latest version available: it's stable and it has some desiderable features, like obfuscated connection and support for files greater than 4 GB.

Per prima cosa consiglio l'installazione dell'ultima versione disponibile: è stabile e ha caratteristiche interessanti, come il supporto per le connessioni offuscate e per i file di dimensione maggiore di 4 GB.


  • Install

  • To install aMule's latest version in Gentoo you have to unmask the package. To do so add the following line to the file /etc/portage/package.keywords :

    Per installare l'ultima versione di aMule in Gentoo si deve aggiungere la seguente riga al file /etc/portage/package.keywords :


    net-p2p/amule ~x86


    For other distributions, you can find packages at www.amule.org, or you can compile from source (version aMule CVS).

    Per le altre distribuzioni, potete trovare i pacchetti nel sito www.amule.org, o potete compilare da sorgente (versione aMule CVS).



  • Graphical User Interface

  • That's the easy way: you can start aMule as you do with eMule, using the graphical user interface. Here are some suggestions.
    1. Pay attention to the list of servers you choose. Surfing the web you can find a list of server that are "secure". I recomend you to choose these servers and deselect all options concerning server update in Server options.
    2. Under Security turn on Obfuscated Connections and IP filtering. Here you can find the url for auto updating IP Filter list.

    Questo è il metodo più semplice: si può far partire aMule come si fa con eMule, cioè con l'uso dell'interfaccia grafica. Ecco alcuni accorgimenti.
    1. Fate attenzione ai server che scegliete. Nella rete potete trovare liste di server "sicuri". Vi consiglio di scegliere questi server e deselezionare tutte le opzioni riguardanti l'aggiornamento dei server nelle opzioni server.
    2. In sicurezza abilitate il supporto alle connessioni offuscate e all'IP Filtering. Qui potete trovare gli url per l'aggiornamento automatico della lista dell'IP Filter.


  • aMule as daemon

  • You can run aMule as daemon with the command amuled or with the system service: /etc/init.d/amuled start (for distributions with different service manager have a look here). Maybe the first time you do this aMule would complain about missing configuration and refuse to start. Now you can start the aMule GUI and do all your configurations or you can try to manually edit the file ~/.aMule/amule.conf. Here you can find an example of config file. Hope comments will lead you through configuration process!

    aMule può essere eseguito come demone tramite il comando amuled o come servizio di sistema: /etc/init.d/amuled start (per le distribuzioni con un diverso gestore dei servizi date un'occhiata qui). E' probabile che la prima volta in cui viene eseguito in questo modo aMule lamenti la mancanza di configurazione e si rifiuti di partire. In questo caso potete far partire aMule tramite interfaccia grafica e fare le opportune configurazioni, oppure potete provare ad editare manualmente il file ~/.aMule/amule.conf. Qui trovate un esempio di questo file di configurazione. Spero che i commenti possano condurvi durante la configurazione!



  • aMule remote control

  • There are 3 ways to remotely control aMule.
    1. aMuleWeb: with your browser go to address http://server-ip-address:port/ and type in the password.
    2. aMuleGUI: launch command amulegui and type in connection parameters. With this tool, you'll get the same GUI that you get when you start aMule in GUI mode.
    3. aMuleCMD: launch command amulecmd (amuled command line - type man amulecmd for options).
    Remember that when you exit remote control interface the daemon will keep running! To stop it you have to kill amuled process or launch the command /etc/init.d/amuled stop.


    Ci sono 3 modi per controllare aMule da remoto.
    1. aMuleWeb: tramite browser andate all'indirizzo http://server-ip-address:port/ e digitate la password.
    2. aMuleGUI: lanciate il comando amulegui e digitate i parametri di connessione. In questo modo otterrete la stessa interfaccia grafica che si ottiene lanciando aMule in modalità interfaccia grafica.
    3. aMuleCMD: lanciate il comando amulecmd (amuled command line - digitate man amulecmd per una descrizione delle opzioni).
    Ricordate che uscendo da una delle modalità di controllo remoto il demone continuerà a girare! Per fermarlo dovrete killare il processo amuled oppure usare il comando: /etc/init.d/amuled stop.



  • Troubleshooting

  • If system service won't start after configuration, try to edit file /etc/init.d/amuled changing ${AMULEHOME}, ${AMULEUSER} and ${LOG} by adding following lines at the beginning of the script (but after #!/sbin/runscript) :

    Se il servizio non parte anche dopo aver effettuato la configurazione, provate ad editare il file /etc/init.d/amuled modificando ${AMULEHOME}, ${AMULEUSER} and ${LOG} con l'aggiunta delle seguenti righe all'inizio dello script (ma dopo #!/sbin/runscript):



    AMULEHOME=/home/user
    AMULEUSER=user
    LOG=/home/user/amule.log



    The funny thing is that that's not the real log file! The real one is located in
    /home/user/.aMule/logfile
    !

    La cosa divertente è che questo non è il file di log reale! Quello vero si trova in /home/user/.aMule/logfile !






    Nessun commento: