六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 48|回复: 0

linux environment setup

[复制链接]

升级  48.67%

35

主题

35

主题

35

主题

秀才

Rank: 2

积分
123
 楼主| 发表于 2013-1-15 03:07:24 | 显示全部楼层 |阅读模式
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字体就可以了。
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表