this work is based in this post:
http://forums.freebsd.org/showthread.php?t=13003
http://forums.freebsd.org/showthread.ph ... de3&t=1488
http://forums.freebsd.org/showthread.php?t=17961
https://github.com/freebsd/freebsd-port ... -p2p/amule
to start, create a new jail called amule by following the jail guide: http://wiki.nas4free.org/doku.php?id=do ... owto:jails
or use new Jail Web interface TheBrig: viewtopic.php?f=79&t=3894
from shell check your jail number:
Code: Select all
login as: root
root@192.168.1.17's password:
Last login: Thu Jan 17 21:29:10 2013
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
Welcome to NAS4Free!
rnas:~# jls
JID IP Address Hostname Path
1 192.168.1.201 serviio /jail/serviio
2 192.168.1.202 kissdx /jail/kissdx
3 192.168.1.203 minidlna /jail/minidlna
4 192.168.1.205 amule /jail/amule
rnas:~#
Code: Select all
rnas:~# jexec 4 csh
root@amule:/ #
Code: Select all
cd /
mkdir home
mkdir /home/aMule
mkdir /home/aMule/.aMulenow 2 options to install:
1= using packages:
Code: Select all
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/now you can install:
Code: Select all
pkg_add -r amuleCode: Select all
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/net-p2p/amule-2.3.1_4.tbzdone, go to step 3 configure
2 = Using Ports
Code: Select all
portsnap fetch
portsnap extractCode: Select all
cd /usr/ports/net-p2p/amuleCode: Select all
make install cleanOnce again, this takes a while and I accepted the default build options.
3 = config amule
you need to link amuled
Code: Select all
ln /usr/local/etc/rc.d/amuled /etc/rc.d/amuledCode: Select all
ee /etc/rc.confCode: Select all
amuled_enable="YES"now add user aMule to previously created home
Code: Select all
pw groupadd aMule
pw useradd aMule -g aMule -s /bin/sh -c "aMule Daemon" -d /home/aMule
chown -R aMule:wheel /home/aMule
Code: Select all
/etc/rc.d/amuled onestartnow you need to generate a password for amule Remember to replace "password" with your password:
Code: Select all
echo -n password | md5Code: Select all
root@amule:/home/aMule/.aMule # echo -n password | md5
5f4dcc3b5aa765d61d8327deb882cf99edit amule.conf
Code: Select all
ee /home/aMule/.aMule/amule.confCode: Select all
AcceptExternalConnections=1
ECPassword=5f4dcc3b5aa765d61d8327deb882cf99
[WebServer]
Enabled=1
Password=5f4dcc3b5aa765d61d8327deb882cf99
Code: Select all
/etc/rc.d/amuled startif all goes well you can see if do a ps ax:
Code: Select all
root@amule:/home # ps ax
PID TT STAT TIME COMMAND
4228 ?? IsJ 0:00.02 /usr/sbin/syslogd -s
4282 ?? SsJ 0:00.16 sendmail: accepting connections (sendmail)
4285 ?? IsJ 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail)
4289 ?? IsJ 0:00.03 /usr/sbin/cron -s
4399 0 SJ 0:00.04 csh
15226 0 SJ 0:00.04 amuled
15233 0 SJ 0:00.03 amuleweb --amule-config-file=/home/aMule/.aMule/amule.conf
15288 0 R+J 0:00.00 ps ax
root@amule:/home #
eg: if all goes well you can continue to install amulegui


