kaqi 发表于 2013-1-15 03:07:24

linux environment setup

1. set default OS in launch
sudo gedit /boot/grub/menu.lst
look for
"default        5", set the number to the index of your default OS.
/boot/grub/grub.cfg"replaces" Grub Legacy's /boot/grub/menu.lst since ununtu9.10


 
2. SCIM
sudo apt-get install scim
sudo apt-get install scim-tables-zh
 
Log out, then log in again. SCIM should be now the default input for all applications
 
 
3. java
Ubuntu10.04  sun-java6-jdk 安装

<div class="tpc_content"><div class="f14">众所周知,10.04当中sun-jdk被弄走了。从某种程度上说我还是不大适应openjdk,于是在官方的release notes 里面看到这样一段:

Sun Java moved to the Partner repository

For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:

add-apt-repository "deb http://archive.canonical.com/ lucid partner"

---------------
于是:
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk

不过速度就相当可怕了,十几K。

话说openjdk除了那个字体难看一点(10.04里面是否如此我不知道),基本也没什么问题,用sun的jdk字体就可以了。
页: [1]
查看完整版本: linux environment setup