显示标签为“ubuntu”的博文。显示所有博文
显示标签为“ubuntu”的博文。显示所有博文

2008年11月19日星期三

ubuntu 替换 安装别的 java 版本

sudo update-alternatives --config java

--
郎啊郎别太忙 | langalang.blogspot.com

2008年11月4日星期二

分享一个电信ADSL速度巨快的 ubuntu 8.10 source

so fast ! 120kB/s....
cn99 is down.tw is slow.

电子科技大学.great.

deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse

--
郎啊郎别太忙 | langalang.blogspot.com

ubuntu linux 环境下面安装 oracle 10g

在使用RHEL4 update 7安装oracle之前,曾经试过一次在ubuntu 8.04环境下安装oracle,但是可耻的失败了。因为oracle就只认那么几个linux发行版。当时想过绕过这个限制,自己改过/etc/issue里面的文字,没用。
后来为了和客户的系统保持一致,做相关的测试,以及写安装、维护手册,路径什么的都和客户的实际一致,还是用RHEL4。
今天系统维护手册写完了。想把RHEL4干掉,装上我偏爱的ubuntu linux 8.10,再装上oracle,同时做java二开练习。
刚好看到这一篇牛文,ubuntu linux 环境下面安装 oracle 10g,关键之处就一步:

创建一个文件 /etc/redhat-release:添加如下内容。
Red Hat Linux release 3.1 (drupal)
oracle将会把系统认为是redhat 3了:)

我也罗嗦了这么多了。全是废话。就一步而已。明天开干。
不过,还要测试RHEL4 64位系统,加64位oracle。

更新:

默认的ubuntu没有zh_CN.gbk的locale,要手动生成:

sudo gedit /var/lib/locales/supported.d/zh

增加:
zh_CN GB18030
zh_CN.GB2312 GB2312
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
然后运行:
locale-gen
等待几分钟,就会生成相应的locale。
Generating locales...
zh_CN.GB18030... done
zh_CN.GB2312... done
zh_CN.GBK... done
zh_CN.UTF-8... up-to-date
zh_HK.UTF-8... up-to-date
zh_SG.UTF-8... up-to-date
zh_TW.UTF-8... up-to-date
Generation complete.
最后运行locale -a检查一下:
whylang@ubuntu:~/database$ locale
LANG=zh_CN.gbk
LC_CTYPE="zh_CN.gbk"
LC_NUMERIC="zh_CN.gbk"
LC_TIME="zh_CN.gbk"
LC_COLLATE="zh_CN.gbk"
LC_MONETARY="zh_CN.gbk"
LC_MESSAGES="zh_CN.gbk"
LC_PAPER="zh_CN.gbk"
LC_NAME="zh_CN.gbk"
LC_ADDRESS="zh_CN.gbk"
LC_TELEPHONE="zh_CN.gbk"
LC_MEASUREMENT="zh_CN.gbk"
LC_IDENTIFICATION="zh_CN.gbk"
LC_ALL=

--
郎啊郎别太忙 | langalang.blogspot.com

2008年10月25日星期六

装上了ubuntu8.10_RC

这次安装的是kubuntu Linux 8.10 rc版本,比8。04的最大好处是可以认出我的interl 3495g wifi无线网卡,开机就可以上网了。
同样的,利用iso光盘里面自带的wubi.exe程序,在windows下无痛硬盘安装,无须分区,不损坏文件,重启动后就可以用了。

装之前到ubuntu.org的中文论坛逛了一圈,发现cn99的源不能用了,挂掉了。按照说明,选择了台湾的源,果然更新速度飞快。基本全速度下载。
KDE的默认主题还是很赞的。
firefox的程序菜单字体无法改过来。
文泉驿的正黑字体,果然不服盛名,很漂亮,无需任何美化,已经非常棒了。

另外,一切都是自动的,很傻瓜化了。桌面linux这两年进步很多。

本文发于kubuntu8.10下。用gmail邮件发布。
--
郎啊郎别太忙 | langalang.blogspot.com