convertxtodvd_logo

ConvertXtoDVD

VSO ConvertXtoDVD is considered to be one of the best Video converters. It combines high speeds, high quality and many options for your personalized DVD menus.

ConvertXtoDVD guide
Free Download ConvertXtoDVD

Linux Books

Of course the Internet along with the help of Google is a great source of information. You can answer almost any question you have about Linux and find many tutorials, guides and help. However many people prefer reading this information on a printed book accesssible even when they are not online or don't have a computer in front of them. I've received many e-mails asking me to propose them a few good books regarding Linux commands, administration and for specific distributions such as Ubuntu, Fedora etc. So, I've search for a few good books. Here they are. Happy reading!

Linux Books

Ubuntu guides

Ubuntu is a free Operating System based on Debian GNU/Linux. It has been rated as the most popular Linux distribution amongst Linux users according to Distrowatch. As it happens every six months a new version of Ubuntu has been released. Ubuntu 10.04 Lucid Lynx is here! Below you can find some helpful tutorials for old and new users!

Ubuntu 10.04 Lucid Lynx Post Installation Guide
Ubuntu 9.10 Karmic Koala Post Installation Guide
Ubuntu 9.04 Jaunty Jackalope Post Installation Guide
How to install Ubuntu Linux on Windows using VirtualBox

Fedora 12 Installation Guide

Fedora 12, codenamed Constantine, is released! Just for the info, Fedora is an RPM based Linux Distribution, an Operating system in other words, developed by the community supported Fedora Project and sponsored by Red Hat. Fedora contains only free and Open Source software. Some of Fedora's 12 new features are Gnome 2.28, KDE 4.3, better web cam support!, and many others.

Fedora 12 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide in Chinese

Article Index
Fedora 10 Installation Guide (in Chinese)
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
All Pages

23. JAVA

Fedora 10 自带 OpenJDK 项目中的 Java ,你可以通过 yum 很方便地安装它(如果还没有安装的话),它运行良好,尝试一下!如果你还是喜欢 SUN Java ,输入下面几行:

* OpenJDK

su -c 'yum install java-*-openjdk'

* SUN's JAVA

首先你必须安装 SUN Java 必需的库文件,打开控制台输入:

su -c 'yum install compat-libstdc++-33 compat-libstdc++-296'
库文件安装好之后,通过命令创建必要的链接:

su -c '/sbin/ldconfig'
点击这里进入Sun的 Sun Java 官方网站 ,点击下载(Download)按钮旁边的 Java Runtime Environment (JRE) 6 Update 10

**注意: 如果你还想通过 Sun's Java Development Kit Installation(Java开发工具安装文件)编译Java程序,你必须下载 “JDK 6 Update 10” 程序。接受授权协议并且下载 Linux 自解压文件(非 RPM 文件),程序和下面提到的一样的。你只需要用 jdk1 替换 jre1 就可以了。



选择你的平台(Linux for i386 Fedora 还是 Linux x64 for Fedora x86_64),注意,暂时还没有 64 位版的浏览器Java插件,同意授权协议并单击继续。

**注意: 本指南剩下的部分基于 i586 包,如果你用 x86_64 版的 Fedora 你应该下载 Linux x64 文件,必要的时候替换文件名。



你必须下载 Linux 自解压文件,jre-6u10-linux-i586.bin ,而不是 rpm 文件。

打开终端进入你下载的 jre 保存的目录,这里以 下载 目录为例,这是 Firefox 默认的下载目录。

输入下面的命令安装,(当我写这篇文章的时候 JDK 6 Update 10 是最新版本,替换下面命令中的文件名,如果你下载了更新的版本)

su -
cd /home/yourusername/Download/ mv jre-6u10-linux-i586.bin /opt
cd /opt/
chmod a+x jre-6u10-linux-i586.bin
./jre-6u10-linux-i586.bin

按空格键阅读使用协议,最后键入 yes 开始安装过程。

让 Firefox 使用刚才下载的插件,执行命令:

su -c 'yum remove java-*-openjdk-plugin'
su -c 'ln -s /opt/jre1.6.0_10/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so'

重启 Firefox 并且在地址栏输入:about:plugins ,如果插件被成功安装,你会在所有插件中找到 Java(TM) Plug-in 。


如果你想使用 Sun Java 运行 Java 程序,在控制台输入:

su -
gedit /etc/profile.d/java.sh

在打开的文件中加入下面两行,

export JAVA_HOME=/opt/jre1.6.0_10
export PATH=$JAVA_HOME/bin:$PATH

保存并退出,然后执行如下命令:

source /etc/profile.d/java.sh
/usr/sbin/alternatives --config java

你会看到如下所示的文字:

There are 2 programs which provide 'java'.
Selection     Command
-----------------------------------------------
*+ 1         /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
     2         /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter to keep the current selection[+], or type selection number:

检查多少程序提供 Java ,按 Ctrl+C ,我看到 2 个,所以下一个命令最后我会加上数字 3 ,在你拥有的程序数目上加上数字 1 。

/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_10/bin/java 3
/usr/sbin/alternatives --config java

现在你会看到如下所示的提示:

There are 3 programs which provide 'java'.
Selection     Command
-----------------------------------------------
*+ 1         /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
     2         /usr/lib/jvm/jre-1.5.0-gcj/bin/java
     3         /opt/jre1.6.0_06/bin/java

Enter to keep the current selection[+], or type selection number:

选择你刚才输入的选项,上例中是 3 ,测试你是否正确安装了 Java ,输入:

java -version
你会得到如下所示的提示:

java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

如果你升级了你的 Java 安装文件,你可以运行下面的命令删除老的安装文件:

su -c 'alternatives --remove java /opt/jre1.6.0_10/bin/java'
任何时候你都可以随意在 OpenJDK, GCJ 和 Sun's JAVA 之间切换,只要输入下面的命令就可以了:

su -c '/usr/sbin/alternatives --config java'
你也可以执行下面的命令很容易的使用 Sun java 插件:

# /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so /opt/jre1.6.0_10/plugin/i386/ns7/libjavaplugin_oji.so 2
/usr/sbin/alternatives --config libjavaplugin.so

现在你可以选择使用任何 Java 版本了,在命令前面加上版本号就可以了。


Login Form

Follow me on...

  • Digg: axelgr
  • Facebook Page: 379363054400
  • FeedBurner: my-guidesnet
  • Twitter: myguidesnet
  • External Link: http://feedburner.google.com/fb/a/mailverify?uri=my-guidesnet

Member Login