Eric JANTZEN wrote:

Hello,

I try to use Freenet 5099 with Fedora Core 2 (2.6.8-1.521)
but that seem not work.

Who use this Fedora version? and with what java version,
and what Freenet configuration?

Thank's
_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

There's two ways to install Java and Freenet, the Quick and Dirty way, and the elegant way.

Elegant way:

I'm using Freenet with Fedora Core 2 and JPackage's Sun 1.5.0 JRE. Unfortunately, JPackage can't distribute binary RPMs of Sun's JREs, so you'll need to download the nosrc package from JPackage (www.jpackage.org/rpm.php?id=3089) and the jdk-1_5_0-linux-i586.bin file from Sun and rebuild the package manually. First, you'll need jpackage-utils. Insert the following lines to yum.conf:

[jpackage15-generic]
name=JPackage 1.5, generic
baseurl=http://mirrors.sunsite.dk/jpackage/1.5/generic/free/
gpgcheck=0

[jpackage15-fc2]
name=JPackage 1.5 for Fedora Core 2
baseurl=//http://mirrors.sunsite.dk/jpackage/1.5/fedora-2/free/
gpgcheck=0

Then install jpackage-utils with:
yum install jpackage-utils

To rebuild the JRE RPM, install the nosrc package (rpm -ivh java-1.5.0-1jpp.nosrc.rpm), put the dk-1_5_0-linux-i586.bin into /usr/src/redhat/SOURCES/ and run the following command:
rpmbuild -bb /usr/src/redhat/SPECS/java-1.5.0-sun.spec
After it's finished, install the JRE with:
rpm -Uvh /usr/src/redhat/RPMS/i386/java-1.5.0-sun-1.5.0-2jpp.i386.rpm

After that, it's relatively smooth sailing. Add the following lines to /etc/yum.conf:

[freenet]
name=Freenet
baseurl=http://nightwatch.mine.nu/freenet/stable/
gpgcheck=0

Then, install the node with:
yum install fred fred-jbigi fec-native
set it to start automatically on reboot:
chkconfig --level 345 fred on
and start it with:
service fred start

Quick And Dirty:

Or, if you prefer to do things the Sun way, download and install Sun's 1.5.0 JRE RPM, then add the JRE (the JRE directory should be in /usr/java) bin directory to the path (a proper place to do that is /etc/profile.d/java.sh). Remember to set the java.sh as executable (chmod +x java.sh) and logout and login for the changes to work. Extract http://freenetproject.org/snapshots/freenet-latest.tgz to a suitable directory and run start-freenet.sh.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to