Fedora 10 Linux: Difference between revisions

From MarcsHomepage
Jump to navigationJump to search
No edit summary
Line 20: Line 20:


The downside: Currently I do not have auto-shutdown by default, I have to tweak this a little bit further.
The downside: Currently I do not have auto-shutdown by default, I have to tweak this a little bit further.
== Java ==
Install Sun Java as described [http://www.mjmwired.net/resources/mjm-fedora-f10.html#java here]:
<bash>
$ sudo sh jre-6u11-linux-i586-rpm.bin
</bash>
Enable it via alternatives, otherwise, the default OpenJDK will be used by default:
<bash>
$ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000
</bash>
Same for the Mozilla plugin
<bash>
$ sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so 20000
</bash>
Now, if you want java, you also want Java Web start
<bash>
$ sudo /usr/sbin/alternatives --install /usr/bin/javaws javaws /usr/java/default/bin/javaws 20000
</bash>
You can check the default Java version by typing
<bash>
java -version
</bash>
on the command-line.

Revision as of 18:40, 7 January 2009

Installation notes for Fedora 10 on my AMD Athlon64 3200+. As usual, you can find more complete Howtos on the Net, so I won't repeat this here.

Download

Via one of the ftp mirrors. Burn to DVD, done.

Basic install

As with my previous installation, I did not do an update but a complete reinstall. I just scraped the old FC8 installation, keeping the home-directories and manually installed software.

Tweaking

Installer

The installer had issues with hardware detection and configuration, I was able to get it running by adding acpi=off to the startup commandline:

linux acpi=off

The downside: Currently I do not have auto-shutdown by default, I have to tweak this a little bit further.

Java

Install Sun Java as described here:

<bash> $ sudo sh jre-6u11-linux-i586-rpm.bin </bash>

Enable it via alternatives, otherwise, the default OpenJDK will be used by default:

<bash> $ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000 </bash>

Same for the Mozilla plugin

<bash> $ sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so 20000 </bash>

Now, if you want java, you also want Java Web start

<bash> $ sudo /usr/sbin/alternatives --install /usr/bin/javaws javaws /usr/java/default/bin/javaws 20000 </bash>

You can check the default Java version by typing

<bash> java -version </bash>

on the command-line.