UltraEdit for ruby
1.高级》工具栏配置》
命令行:C:\ruby\bin\ruby.exe -w "%f"
工作目录:%p
菜单项名称:Ruby
选取“输出到列表窗口” 和“捕捉输出” 单击“插入”再”确定“
3.从此地址ftp://www.ultraedit.com/wf/ruby.txt下载ruby语法文件。
4、修改UltraEdit根目录下的wordfile.txt文件,将上面下载过来的ruby.txt里的内容加裁到wordfile.txt末尾。
5、修改wordfile.txt文件,查找HTML位置,将RHTML加到HTML位置的后面,就可以支持.rhtml高亮显示。
OK,所有步骤已经全部完成,如果您也是RUBY爱好者不防也试试。
星期一, 七月 30, 2007
星期二, 七月 24, 2007
设置centos5 yum源
1.修改/etc/yum.repos.d/CentOS-Base.repo为:
[base]
name=CentOS-5 - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&
repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#released updates
[update]
name=CentOS-5 - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=extras
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=centosplus
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=contrib
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
64位:
rpm --import http://ftp.sjtu.edu.cn/centos/5.0/os/x86_64/RPM-GPG-KEY-CentOS-5
32位:
rpm --import http://ftp.sjtu.edu.cn/centos/5.0/os/i386/RPM-GPG-KEY-CentOS-5
3.执行
yum update
第三方软件仓库,这里推荐的是 Dag Wieers 库(现在叫 RPMForge 了),安装方法如下:
到安装库的网页http://dag.wieers.com/rpm/packages/rpmforge-release/,找到合适的软件包,事实上很简单,我们是centos5.0,由于是和红帽子企业版5.0同样的源编译出来的,那么要的就是rhel5.0的就可以,备选的就只有以下两个
rpmforge-release-0.3.6-1.el5.rf.i386.rpm Fri 09 Mar 2007 16 kB Red Hat EL 5 - i386
rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm Fri 09 Mar 2007 16 kB Red Hat EL 5 - x86_64
我的是32位的系统,我就选择上面那个地址下载,如果是64位的,选下面那个,呵呵。
[root@localhost src]# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[root@localhost src]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
后面没有其他提示,那差不多好了。我们就可以安装我们的memcache相关的模块了.
[base]
name=CentOS-5 - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&
repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#released updates
[update]
name=CentOS-5 - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=extras
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=centosplus
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=contrib
baseurl=http://ftp.sjtu.edu.cn/centos/5.0/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
64位:
rpm --import http://ftp.sjtu.edu.cn/centos/5.0/os/x86_64/RPM-GPG-KEY-CentOS-5
32位:
rpm --import http://ftp.sjtu.edu.cn/centos/5.0/os/i386/RPM-GPG-KEY-CentOS-5
3.执行
yum update
第三方软件仓库,这里推荐的是 Dag Wieers 库(现在叫 RPMForge 了),安装方法如下:
到安装库的网页http://dag.wieers.com/rpm/packages/rpmforge-release/,找到合适的软件包,事实上很简单,我们是centos5.0,由于是和红帽子企业版5.0同样的源编译出来的,那么要的就是rhel5.0的就可以,备选的就只有以下两个
rpmforge-release-0.3.6-1.el5.rf.i386.rpm Fri 09 Mar 2007 16 kB Red Hat EL 5 - i386
rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm Fri 09 Mar 2007 16 kB Red Hat EL 5 - x86_64
我的是32位的系统,我就选择上面那个地址下载,如果是64位的,选下面那个,呵呵。
[root@localhost src]# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[root@localhost src]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
后面没有其他提示,那差不多好了。我们就可以安装我们的memcache相关的模块了.
ubuntu 教育网源
apt-get 的源(注意,请将dapper改为你所对应的版本):
#传说中的中国科技大学 速度: 5M/s
deb http://debian.ustc.edu.cn/ubuntu dapper main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-updates main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-backports main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-proposed main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb http://mirror.bjtu.edu.cn/ubuntu/ feisy main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-updates main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-backports main restricted universe multiverse
#传说中的上海交通大学
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
##传说中的兰州大学
deb http://mirror.lzu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu-cn/ dapper main multiverse restricted universe
#清华大学的源
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-proposed restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-backports restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-security main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-updates main restricted universe multiverse
#传说中的中国科技大学 速度: 5M/s
deb http://debian.ustc.edu.cn/ubuntu dapper main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-updates main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-backports main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu dapper-proposed main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb http://mirror.bjtu.edu.cn/ubuntu/ feisy main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-updates main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ dapper-backports main restricted universe multiverse
#传说中的上海交通大学
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
##传说中的兰州大学
deb http://mirror.lzu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu-cn/ dapper main multiverse restricted universe
#清华大学的源
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-proposed restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-backports restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-security main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ dapper-updates main restricted universe multiverse
星期日, 七月 22, 2007
get_response
require 'net/https'
response = Net::HTTP.get_response('http://www.sina.com.cn','index.html')
puts response.body
ruby抱错了:
c:/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: no address as
sociated with hostname. (SocketError)
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `open'
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
from c:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
from c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
from c:/ruby/lib/ruby/1.8/net/http.rb:553:in `do_start'
from c:/ruby/lib/ruby/1.8/net/http.rb:542:in `start'
from c:/ruby/lib/ruby/1.8/net/http.rb:374:in `get_response'
from D:/my ruby/get.rb:3
不需要http://否则会出错的!
response = Net::HTTP.get_response('www.sina.com.cn','index.html')
这样就可以了。
response = Net::HTTP.get_response('http://www.sina.com.cn','index.html')
puts response.body
ruby抱错了:
c:/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: no address as
sociated with hostname. (SocketError)
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `open'
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
from c:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
from c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
from c:/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
from c:/ruby/lib/ruby/1.8/net/http.rb:553:in `do_start'
from c:/ruby/lib/ruby/1.8/net/http.rb:542:in `start'
from c:/ruby/lib/ruby/1.8/net/http.rb:374:in `get_response'
from D:/my ruby/get.rb:3
不需要http://否则会出错的!
response = Net::HTTP.get_response('www.sina.com.cn','index.html')
这样就可以了。
星期三, 七月 11, 2007
金边吊兰
我种的金边吊兰,现在越冬成功,长出了株芽,希望能开出小白花。
吊兰 百合科,多年生常绿草本植物。叶片呈宽线形,嫩绿色,着生于短茎上,具有肥大的圆柱状肉质根。总状花序长30-60厘米,弯曲下垂,小花白色;常在花茎上生出数丛由株芽形成的带根的小植株,十分有趣。它生长快,栽培容易,在较明亮的房间内可常年栽培欣赏。是悬吊或摆放在橱顶或花架上最适宜的种类之一。
温度:喜温暖的环境,适应性强;越冬最低温度10℃左右。
光线:喜明亮光线,忌夏季阳光直射,遮光50%左右,冬季不遮光。
水分:常年喜盆土中有充足的水分,但有一定的抗干旱能力;忌盆中积水。
空气湿度:在干旱季节和夏季高温时期,经常向植株周围及叶面喷水。
换盆:根据需要,可于春季换盆。
繁殖:将花茎上已生根的小植株取下盆栽;结合换盆进行分株繁殖
这种有着灰白的叶子的植物喜欢生活在恒温环境中。 被放置在浴室、窗台或者搁架这些狭小的空间里的吊兰是非常引人注目的,它细长、优美的枝叶可以有效地吸收窗帘甚至卫生绵纸释放出的甲醛,并充分净化空气。吊兰自然下垂的枝叶非常美观,枝繁叶茂时,它还会偶尔微微转动。而且照顾它一点也不复杂。
星期二, 七月 10, 2007
RHEL4 yum 安装配置
利用CentOS 的yum库升级RHEL AS4
1.下载并安装yum-2.4.0-1.centos4.noarch.rpm文件,下载地址为:
http://rpm.pbone.net/index.php3里面搜索
yum有问题:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
cElementTree.so cannot open shared !!!
所以我们找另一个具有cElementTree.so的文件,在http://rpmfind.net/linux/rpm2html/search.php?query=cElementTree.so
中发现这个
smart-0.50-45.el4.at.x86_64.rpm也具有cElementTree.so文件.
把这个装上后,果然可以yum了!
2.修改或建立/etc/yum.repos.d/CentOS-Base.repo为如下内容:
清华大学的centos源
[base]
name=CentOS-$releasever - Base
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/os/$basearch/
gpgcheck=1
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/updates/$basearch/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/addons/$basearch/
gpgcheck=1
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/extras/$basearch/
gpgcheck=1
3.修改或建立/etc/yum.repos.d/dag.repo为如下内容:
[dag]
name=Dag RPM Repository for RHEL4
baseurl=http://ftp.riken.jp/Linux/dag/redhat/el4/en/$basearch/dag/
enabled=1
gpgcheck=1
gpgkey=http://ftp.riken.jp/Linux/dag/packages/RPM-GPG-KEY.dag.txt
4.导入key
rpm --import RPM-GPG-KEY-CentOS-4.txt(自己找找)
5.运行update:
yum update
6.升级:
yum upgrade
7.安装其它软件,例如:
yum install mplayer
1.下载并安装yum-2.4.0-1.centos4.noarch.rpm文件,下载地址为:
http://rpm.pbone.net/index.php3里面搜索
yum有问题:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
cElementTree.so cannot open shared !!!
所以我们找另一个具有cElementTree.so的文件,在http://rpmfind.net/linux/rpm2html/search.php?query=cElementTree.so
中发现这个
smart-0.50-45.el4.at.x86_64.rpm也具有cElementTree.so文件.
把这个装上后,果然可以yum了!
2.修改或建立/etc/yum.repos.d/CentOS-Base.repo为如下内容:
清华大学的centos源
[base]
name=CentOS-$releasever - Base
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/os/$basearch/
gpgcheck=1
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/updates/$basearch/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/addons/$basearch/
gpgcheck=1
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/centos/4.5/extras/$basearch/
gpgcheck=1
3.修改或建立/etc/yum.repos.d/dag.repo为如下内容:
[dag]
name=Dag RPM Repository for RHEL4
baseurl=http://ftp.riken.jp/Linux/dag/redhat/el4/en/$basearch/dag/
enabled=1
gpgcheck=1
gpgkey=http://ftp.riken.jp/Linux/dag/packages/RPM-GPG-KEY.dag.txt
4.导入key
rpm --import RPM-GPG-KEY-CentOS-4.txt(自己找找)
5.运行update:
yum update
6.升级:
yum upgrade
7.安装其它软件,例如:
yum install mplayer
星期日, 四月 22, 2007
Ubuntu 7.04 notebook ALC883 fanlly have sound
notebook ALC883 fanlly have sound!!!!!!!!!!!!!
修改源并更新升级到Ubuntu feisty(下面的源也是feisty正常使用的源)
不同的网络状况连接以下源的速度不同,所以cn99并不一定是最快的源。建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通用户连接cn99就非常慢,选择最快的源可大大节省下载时间,请根据自己网络环境设置更新服务器,以达到最快的速度。(经试验,执行下文中需要的apt-get命令或使用《新立得软件包管理器》时,必须更改了默认的更新服务器才可以使用,否则可能找不到很多安装包,或者安装包版本低。)
注意,你可以同时加入几个源。或者将官方的源(也就是下面的Archive.ubuntu.com的条目)直接加在文件的最后,以避免出现 404 Not Found 文件未发现的错误。建议电信用户使用cn99和台湾大学的源,建议网通用户使用台湾大学的源。
sudo gedit /etc/apt/sources.list
# Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。)
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
#(注意ubuntu-cn源没有feisty,直接使用edgy就可以)
# mirror.rootguide.org 更新服务器 (上海市 电信):
deb http://mirror.rootguide.org/ubuntu/ edgy main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu-cn/ edgy main multiverse restricted universe
#Mirror.vmmatrix.net 更新服务器(上海市电信,推荐电信网通用户使用)
deb http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe
# Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器)
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn edgy main restricted universe multiverse
# ubuntu.cnsite.org 更新服务器(福建省福州市 电信)
deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu-cn/ edgy main multiverse restricted universe
# 北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用)
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ edgy main multiverse restricted universe
#北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用):
deb http://mirror.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror.net9.org/ubuntu-cn/ feisty main multiverse restricted universe
#教育网用户请使用上海交通大学的源(教育网,推荐校园网和网通用户使用)
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding
保存编辑好的文件,执行以下命令更新:
sudo apt-get update
sudo apt-get dist-upgrade
安装ntfs-3g
Ubuntu feisty源里已经有了ntfs-3g,可以直接安装
sudo apt-get install ntfs-config
找到 应用程序→系统工具→ntfs configuration tool并打开,输入密码。把第两个钩钩上。如果进入系统无法自动挂载,那么在终端输入sudo mount -a 即可。
安装RAR压缩/解压缩程序
安装
程序代码 程序代码
sudo apt-get install rar unrar
建立软链接
程序代码 程序代码
sudo ln -fs /usr/bin/rar /usr/bin/unrar
这样,以后只要在命令行输入unrar,就可以解压或者压缩文件了,安装完成后,归档管理器也同时集成了rar组件。
安装gstreamer的解码器和安装xine及解码器
gstreamer是gnome主推的多媒体平台。xine是另外一个多媒体平台,功能非常强大。把系统自带的totem卸载(在新立得里搜索totem,把找到的全删掉),改为使用xine后端的totem,这样就可以播放rmvb等视频了。
程序代码 程序代码
sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse
sudo apt-get install libxine-extracodecs totem-xine ffmpeg lame faad sox mjpegtools libxine-main1 w32codecs
这时totem可能无法播放wmv,rmvb等格式。打开一次totem(让totem自己建立默认配置文件),再改一下配置文件
程序代码 程序代码
gedit ~/.xine/config
添加
引用内容 引用内容
decoder.external.win32_codecs_path:/usr/lib/win32
xine播放rmvb没有声音的话,试试编辑~/.xine/catalog.cache文件,找到 [/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so],把 decoder_priority增加到10。
安装beep-media-player并播放wma
程序代码 程序代码
sudo apt-get install beep-media-player bmp-wma
Beep Media Player会出现歌名乱码现象,可在"Beep Media Player"上面右键→首选项→播放列表中,把标题格式改为“自定”,再把自定格式改为设为“GBK”就行了。
还有就是混音问题:在首选项→插件→输出中,默认是“OSS输出插件”。用它当你想同时使用多个声音时,常收到“音频占用”的提示,最好改为 “eSound输出插件”。当然,里面还有一个“ALSA0.9.7”,有人说也可用它,可我用时,Beep Media Player的播放会突然停止,无声音。
安装浏览器的Flash支持(仅x86)
程序代码 程序代码
sudo apt-get install flashplugin-nonfree
安装设置XGL+Beryl
ATI显卡的fglrx驱动不支持aigxl,而支持aigxl的开源radeon驱动则不支持很多显卡,且没有blur,水波等特效,所以选择安装fglrx驱动+XGL+Beryl。
feisty的源里提供了0.2.1版本的Beryl,但Beryl官方源提供的稳定版本却是0.2.0,0.2.1至少在我的机器上无法使用,建议想用Beryl的还是安装Beryl官方的0.2.0版本。
安装XGL
程序代码 程序代码
sudo apt-get install xserver-xgl
在登录对话界面加入xgl选框
程序代码 程序代码
sudo gedit /usr/local/bin/startxgl.sh
内容如下:
引用内容 引用内容
#!/bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
如果出现问题的话,尝试
引用内容 引用内容
#!/bin/sh
Xgl :1 -fullscreen -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
然后
程序代码 程序代码
sudo chmod a+x /usr/local/bin/startxgl.sh
注:如果使用以上脚本导致你的字体或鼠标配置不能正常载入,那么用"exec /etc/X11/Xsession"代替上面的"exec gnome-session"。
然后
程序代码 程序代码
sudo gedit /usr/share/xsessions/xgl.desktop
内容:
引用内容 引用内容
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
重启,在选择会话选框里面就会出现xgl选项了。
安装Beryl
加入密钥
程序代码 程序代码
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
添加beryl源
程序代码 程序代码
sudo gedit /etc/apt/sources.list
然后加入
引用内容 引用内容
deb http://ubuntu.beryl-project.org feisty main
deb-src http://ubuntu.beryl-project.org feisty main
需要安装0.2.0的请把其他所有源都加#号注释掉。
程序代码 程序代码
sudo apt-get update
sudo apt-get install beryl emerald emerald-themes
然后到新立得里搜索"beryl",把能找到的已经安装的软件包锁定版本,防止以后被自动升级成0.2.1。(愿意安装0.2.1的不需要这个步骤。)
编写脚本,当xgl已经启动的时候beryl启动,否则不启动。
程序代码 程序代码
sudo gedit /usr/local/bin/start_beryl.sh
内容:
引用内容 引用内容
#!/bin/bash
#
# Start beryl-manager within gnome-session
#
if [ `ps -A -o comm | grep -c '^Xgl$'` == "1" ]; then
DISPLAY=:1 beryl-manager
DISPLAY=:1 beryl-xgl
else echo "${0}: Error: beryl-manager not launched. Xgl not running?"
fi
赋予权限
程序代码 程序代码
sudo chmod a+x /usr/local/bin/start_beryl.sh
系统→首选项→会话→启动程序 添加 /usr/local/bin/start_beryl.sh
OK,重启。
让Emerald装饰器与Gnome的主题合作,通过Gnome的主题更换图标:在“首选项→会话”中,加入gnome-settings-daemon。
解决Evince中文显示不正常
安装xpdf-chinese-simplified。
更换Gnome的飞溅屏幕
配置编辑器→apps→gnome session→options→splash_image,这里图片的路径是以/usr/share/pixmaps/打头的,只要输入后面的部分就行了。
更换grub的背景
在/boot/grub/menu.lst里加入
引用内容 引用内容
# Splash file info
splashimage (hd0,5)/grub/splashimages/blubuntu.xpm.gz
(hd0,5)/grub/splashimages/blubuntu.xpm.gz是图片的路径。
硬盘提速(IDE硬盘,SATA硬盘我没试验,主要我没有)
先测试硬盘当前速度:
程序代码 程序代码
sudo hdparm -tT /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
Timing cached reads: 696 MB in 2.00 seconds = 347.79 MB/sec
Timing buffered disk reads: 48 MB in 3.05 seconds = 15.75 MB/sec
再测试硬盘参数:
程序代码 程序代码
sudo hdparm -i /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
Model=TOSHIBA MK4025GAS, FwRev=KA101A, SerialNo=95MT5035S
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=48
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
* signifies the current active mode
查看当前硬盘模式:
程序代码 程序代码
sudo hdparm /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 78140160, start = 0
OFF代表此参数不起作用,ON表示打开此功能或模式。上面的参数列表写的非常清楚,Multcount(多扇区读)没有打开;此硬盘格式为16位格式;DMA数据传输模式打开。很显然,这样的参数并没有使硬盘达到最佳的优化,没有能完全发挥当今高速IDE硬盘的性能。
设置参数:
程序代码 程序代码
sudo hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda
引用内容 引用内容
说明:
-i 这个参数 提供一些信息是由系统的驱动程序判断出硬盘的性能而得出的
它不一定准确,但是能为我们提供一点帮助。
-c 设定 32-bit 存取模式。这个 32-bit 存取模式指的是在硬件于pc界面
之间的传输模式,而影碟本是依照 16-bit 在运转
-d 设定是否启用DMA模式 -d1 启动 -d0 关闭
-m 设定同步读取多个 sector 的模式。一般来说,设定此模式,可降低因为
读取磁碟而损失的效能,16/32为最佳化,具体数字请根据 -i 得出的 信息中MaxM
ultSect来设定。
-X 设定 UtraDMA 的模式。一般来说,UDMA 的模式值加64就可以了。但是现
在的电脑普遍性能强劲,在这里请参考自己的电脑配置。
33 MHz DMA mode 0~2 (X64~X66)
66 MHz DMA mode 3~4 (X67~X68)
100 MHz DMA mode 5 (X69)
如果你的硬盘上面显示的UATA 100以上的,那么 X69 也许不错
得到硬盘参数模式:
引用内容 引用内容
/dev/hda:
setting 32-bit IO_support flag to 3
setting multcount to 16
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
能打开都全部打开了(要根据自己的硬盘参数确定啊!!!)
再来测试读写效果:
程序代码 程序代码
sudo hdparm -tT /dev/hda
得到效果:
引用内容 引用内容
/dev/hda:
Timing cached reads: 758 MB in 2.00 seconds = 379.12 MB/sec
Timing buffered disk reads: 76 MB in 3.04 seconds = 25.02 MB/sec
保存对参数的修改:
程序代码 程序代码
sudo hdparm -k1 /dev/hda
GNOME环境下麦克风的调节
默认状态下麦克风是被屏蔽的,在面板上有一个音量的喇叭图标,如果没有可在面板上点击右键,然后添加即可。双击该喇叭图标,将会弹出音量控制面板。点击 “编辑”菜单栏下的“首选项”,在弹出的窗口中点选“麦克风”和“麦克风截取”,还有“Mic Boost(+20db)”。点击关闭。如果音量控制面板中没有出现“线路输入”、“麦克风”,以及“录音”、“开关”标签,则关闭音量面板,然后重新打开。将“麦克风”的音量拖动到最大,然后点选“录音”标签,如果出现的面板中有红叉则点击取消。点击“开关”标签,选中“麦克风截取”、“Mic Boost(+20db)”,然后关闭音量控制面板即可。
修改源并更新升级到Ubuntu feisty(下面的源也是feisty正常使用的源)
不同的网络状况连接以下源的速度不同,所以cn99并不一定是最快的源。建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通用户连接cn99就非常慢,选择最快的源可大大节省下载时间,请根据自己网络环境设置更新服务器,以达到最快的速度。(经试验,执行下文中需要的apt-get命令或使用《新立得软件包管理器》时,必须更改了默认的更新服务器才可以使用,否则可能找不到很多安装包,或者安装包版本低。)
注意,你可以同时加入几个源。或者将官方的源(也就是下面的Archive.ubuntu.com的条目)直接加在文件的最后,以避免出现 404 Not Found 文件未发现的错误。建议电信用户使用cn99和台湾大学的源,建议网通用户使用台湾大学的源。
sudo gedit /etc/apt/sources.list
# Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。)
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
#(注意ubuntu-cn源没有feisty,直接使用edgy就可以)
# mirror.rootguide.org 更新服务器 (上海市 电信):
deb http://mirror.rootguide.org/ubuntu/ edgy main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ edgy-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ edgy-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu-cn/ edgy main multiverse restricted universe
#Mirror.vmmatrix.net 更新服务器(上海市电信,推荐电信网通用户使用)
deb http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe
# Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器)
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn edgy main restricted universe multiverse
# ubuntu.cnsite.org 更新服务器(福建省福州市 电信)
deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu-cn/ edgy main multiverse restricted universe
# 北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用)
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ edgy main multiverse restricted universe
#北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用):
deb http://mirror.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror.net9.org/ubuntu-cn/ feisty main multiverse restricted universe
#教育网用户请使用上海交通大学的源(教育网,推荐校园网和网通用户使用)
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding
保存编辑好的文件,执行以下命令更新:
sudo apt-get update
sudo apt-get dist-upgrade
安装ntfs-3g
Ubuntu feisty源里已经有了ntfs-3g,可以直接安装
sudo apt-get install ntfs-config
找到 应用程序→系统工具→ntfs configuration tool并打开,输入密码。把第两个钩钩上。如果进入系统无法自动挂载,那么在终端输入sudo mount -a 即可。
安装RAR压缩/解压缩程序
安装
程序代码 程序代码
sudo apt-get install rar unrar
建立软链接
程序代码 程序代码
sudo ln -fs /usr/bin/rar /usr/bin/unrar
这样,以后只要在命令行输入unrar,就可以解压或者压缩文件了,安装完成后,归档管理器也同时集成了rar组件。
安装gstreamer的解码器和安装xine及解码器
gstreamer是gnome主推的多媒体平台。xine是另外一个多媒体平台,功能非常强大。把系统自带的totem卸载(在新立得里搜索totem,把找到的全删掉),改为使用xine后端的totem,这样就可以播放rmvb等视频了。
程序代码 程序代码
sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse
sudo apt-get install libxine-extracodecs totem-xine ffmpeg lame faad sox mjpegtools libxine-main1 w32codecs
这时totem可能无法播放wmv,rmvb等格式。打开一次totem(让totem自己建立默认配置文件),再改一下配置文件
程序代码 程序代码
gedit ~/.xine/config
添加
引用内容 引用内容
decoder.external.win32_codecs_path:/usr/lib/win32
xine播放rmvb没有声音的话,试试编辑~/.xine/catalog.cache文件,找到 [/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so],把 decoder_priority增加到10。
安装beep-media-player并播放wma
程序代码 程序代码
sudo apt-get install beep-media-player bmp-wma
Beep Media Player会出现歌名乱码现象,可在"Beep Media Player"上面右键→首选项→播放列表中,把标题格式改为“自定”,再把自定格式改为设为“GBK”就行了。
还有就是混音问题:在首选项→插件→输出中,默认是“OSS输出插件”。用它当你想同时使用多个声音时,常收到“音频占用”的提示,最好改为 “eSound输出插件”。当然,里面还有一个“ALSA0.9.7”,有人说也可用它,可我用时,Beep Media Player的播放会突然停止,无声音。
安装浏览器的Flash支持(仅x86)
程序代码 程序代码
sudo apt-get install flashplugin-nonfree
安装设置XGL+Beryl
ATI显卡的fglrx驱动不支持aigxl,而支持aigxl的开源radeon驱动则不支持很多显卡,且没有blur,水波等特效,所以选择安装fglrx驱动+XGL+Beryl。
feisty的源里提供了0.2.1版本的Beryl,但Beryl官方源提供的稳定版本却是0.2.0,0.2.1至少在我的机器上无法使用,建议想用Beryl的还是安装Beryl官方的0.2.0版本。
安装XGL
程序代码 程序代码
sudo apt-get install xserver-xgl
在登录对话界面加入xgl选框
程序代码 程序代码
sudo gedit /usr/local/bin/startxgl.sh
内容如下:
引用内容 引用内容
#!/bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
如果出现问题的话,尝试
引用内容 引用内容
#!/bin/sh
Xgl :1 -fullscreen -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
然后
程序代码 程序代码
sudo chmod a+x /usr/local/bin/startxgl.sh
注:如果使用以上脚本导致你的字体或鼠标配置不能正常载入,那么用"exec /etc/X11/Xsession"代替上面的"exec gnome-session"。
然后
程序代码 程序代码
sudo gedit /usr/share/xsessions/xgl.desktop
内容:
引用内容 引用内容
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
重启,在选择会话选框里面就会出现xgl选项了。
安装Beryl
加入密钥
程序代码 程序代码
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
添加beryl源
程序代码 程序代码
sudo gedit /etc/apt/sources.list
然后加入
引用内容 引用内容
deb http://ubuntu.beryl-project.org feisty main
deb-src http://ubuntu.beryl-project.org feisty main
需要安装0.2.0的请把其他所有源都加#号注释掉。
程序代码 程序代码
sudo apt-get update
sudo apt-get install beryl emerald emerald-themes
然后到新立得里搜索"beryl",把能找到的已经安装的软件包锁定版本,防止以后被自动升级成0.2.1。(愿意安装0.2.1的不需要这个步骤。)
编写脚本,当xgl已经启动的时候beryl启动,否则不启动。
程序代码 程序代码
sudo gedit /usr/local/bin/start_beryl.sh
内容:
引用内容 引用内容
#!/bin/bash
#
# Start beryl-manager within gnome-session
#
if [ `ps -A -o comm | grep -c '^Xgl$'` == "1" ]; then
DISPLAY=:1 beryl-manager
DISPLAY=:1 beryl-xgl
else echo "${0}: Error: beryl-manager not launched. Xgl not running?"
fi
赋予权限
程序代码 程序代码
sudo chmod a+x /usr/local/bin/start_beryl.sh
系统→首选项→会话→启动程序 添加 /usr/local/bin/start_beryl.sh
OK,重启。
让Emerald装饰器与Gnome的主题合作,通过Gnome的主题更换图标:在“首选项→会话”中,加入gnome-settings-daemon。
解决Evince中文显示不正常
安装xpdf-chinese-simplified。
更换Gnome的飞溅屏幕
配置编辑器→apps→gnome session→options→splash_image,这里图片的路径是以/usr/share/pixmaps/打头的,只要输入后面的部分就行了。
更换grub的背景
在/boot/grub/menu.lst里加入
引用内容 引用内容
# Splash file info
splashimage (hd0,5)/grub/splashimages/blubuntu.xpm.gz
(hd0,5)/grub/splashimages/blubuntu.xpm.gz是图片的路径。
硬盘提速(IDE硬盘,SATA硬盘我没试验,主要我没有)
先测试硬盘当前速度:
程序代码 程序代码
sudo hdparm -tT /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
Timing cached reads: 696 MB in 2.00 seconds = 347.79 MB/sec
Timing buffered disk reads: 48 MB in 3.05 seconds = 15.75 MB/sec
再测试硬盘参数:
程序代码 程序代码
sudo hdparm -i /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
Model=TOSHIBA MK4025GAS, FwRev=KA101A, SerialNo=95MT5035S
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=48
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78140160
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6
* signifies the current active mode
查看当前硬盘模式:
程序代码 程序代码
sudo hdparm /dev/hda
得到结果如下:
引用内容 引用内容
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 78140160, start = 0
OFF代表此参数不起作用,ON表示打开此功能或模式。上面的参数列表写的非常清楚,Multcount(多扇区读)没有打开;此硬盘格式为16位格式;DMA数据传输模式打开。很显然,这样的参数并没有使硬盘达到最佳的优化,没有能完全发挥当今高速IDE硬盘的性能。
设置参数:
程序代码 程序代码
sudo hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda
引用内容 引用内容
说明:
-i 这个参数 提供一些信息是由系统的驱动程序判断出硬盘的性能而得出的
它不一定准确,但是能为我们提供一点帮助。
-c 设定 32-bit 存取模式。这个 32-bit 存取模式指的是在硬件于pc界面
之间的传输模式,而影碟本是依照 16-bit 在运转
-d 设定是否启用DMA模式 -d1 启动 -d0 关闭
-m 设定同步读取多个 sector 的模式。一般来说,设定此模式,可降低因为
读取磁碟而损失的效能,16/32为最佳化,具体数字请根据 -i 得出的 信息中MaxM
ultSect来设定。
-X 设定 UtraDMA 的模式。一般来说,UDMA 的模式值加64就可以了。但是现
在的电脑普遍性能强劲,在这里请参考自己的电脑配置。
33 MHz DMA mode 0~2 (X64~X66)
66 MHz DMA mode 3~4 (X67~X68)
100 MHz DMA mode 5 (X69)
如果你的硬盘上面显示的UATA 100以上的,那么 X69 也许不错
得到硬盘参数模式:
引用内容 引用内容
/dev/hda:
setting 32-bit IO_support flag to 3
setting multcount to 16
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
能打开都全部打开了(要根据自己的硬盘参数确定啊!!!)
再来测试读写效果:
程序代码 程序代码
sudo hdparm -tT /dev/hda
得到效果:
引用内容 引用内容
/dev/hda:
Timing cached reads: 758 MB in 2.00 seconds = 379.12 MB/sec
Timing buffered disk reads: 76 MB in 3.04 seconds = 25.02 MB/sec
保存对参数的修改:
程序代码 程序代码
sudo hdparm -k1 /dev/hda
GNOME环境下麦克风的调节
默认状态下麦克风是被屏蔽的,在面板上有一个音量的喇叭图标,如果没有可在面板上点击右键,然后添加即可。双击该喇叭图标,将会弹出音量控制面板。点击 “编辑”菜单栏下的“首选项”,在弹出的窗口中点选“麦克风”和“麦克风截取”,还有“Mic Boost(+20db)”。点击关闭。如果音量控制面板中没有出现“线路输入”、“麦克风”,以及“录音”、“开关”标签,则关闭音量面板,然后重新打开。将“麦克风”的音量拖动到最大,然后点选“录音”标签,如果出现的面板中有红叉则点击取消。点击“开关”标签,选中“麦克风截取”、“Mic Boost(+20db)”,然后关闭音量控制面板即可。
星期三, 三月 28, 2007
Fedora Core 6 (FC6)下 WPA-PSK TKIP 加密上网。
Fedora Core 6 (FC6)下 WPA-PSK TKIP 加密上网。
NetworkManager provides automatic network detection and configuration for the system. Once enabled, the NetworkManager service also monitors the network interfaces, and may automatically switch to the best connection at any given time. Applications that include NetworkManager support may automatically switch between on-line and off-line modes when the system gains or loses network connectivity.
These facilities are most useful for modern laptops, where the user may move between wireless networks, and plug in to a variety of wired networks, but NetworkManager also provides features that are relevant to workstations. Current versions of NetworkManager support modem connections, and certain types of VPN. Development of these features is ongoing.
NetworkManager requires Fedora to have drivers for the wired and wireless interfaces on the computer. Many manufacturers of modems and wireless devices provide limited support for Linux. You may need to install additional drivers or firmware on your Fedora system in order to activate these interfaces.
Intel Wireless Adapters
To enable the wireless interfaces on Centrino laptops and other computers that use Intel PRO/Wireless adapters, copy the firmware files to /lib/firmware/ on your system. You may download these files from the IPW2200 Project Website: http://ipw2200.sourceforge.net/.
Reboot your system after installing firmware files, to ensure that the adapter initializes correctly.
See the http://fedoraproject.org/wiki/IPW2200 page for more information.
The installation process for Fedora Core 6 automatically provides NetworkManager. To enable it, enter the following commands in a terminal window:
1.
Set the main service to automatically start on boot: su -c '/sbin/chkconfig --level 345 NetworkManager on'
2.
Set the dispatcher service to automatically start on boot: su -c '/sbin/chkconfig --level 345 NetworkManagerDispatcher on'
3.
Start the services: su -c '/sbin/service NetworkManager start ; /sbin/service NetworkManagerDispatcher start'
For each su command, enter the root password at the prompt.
The NetworkManager tray icon automatically appears on your desktop once the services are started. If the NetworkManager service is active, then the tray icon appears each time that you log in to your desktop.
NetworkManager provides automatic network detection and configuration for the system. Once enabled, the NetworkManager service also monitors the network interfaces, and may automatically switch to the best connection at any given time. Applications that include NetworkManager support may automatically switch between on-line and off-line modes when the system gains or loses network connectivity.
These facilities are most useful for modern laptops, where the user may move between wireless networks, and plug in to a variety of wired networks, but NetworkManager also provides features that are relevant to workstations. Current versions of NetworkManager support modem connections, and certain types of VPN. Development of these features is ongoing.
NetworkManager requires Fedora to have drivers for the wired and wireless interfaces on the computer. Many manufacturers of modems and wireless devices provide limited support for Linux. You may need to install additional drivers or firmware on your Fedora system in order to activate these interfaces.
Intel Wireless Adapters
To enable the wireless interfaces on Centrino laptops and other computers that use Intel PRO/Wireless adapters, copy the firmware files to /lib/firmware/ on your system. You may download these files from the IPW2200 Project Website: http://ipw2200.sourceforge.net/.
Reboot your system after installing firmware files, to ensure that the adapter initializes correctly.
See the http://fedoraproject.org/wiki/IPW2200 page for more information.
The installation process for Fedora Core 6 automatically provides NetworkManager. To enable it, enter the following commands in a terminal window:
1.
Set the main service to automatically start on boot: su -c '/sbin/chkconfig --level 345 NetworkManager on'
2.
Set the dispatcher service to automatically start on boot: su -c '/sbin/chkconfig --level 345 NetworkManagerDispatcher on'
3.
Start the services: su -c '/sbin/service NetworkManager start ; /sbin/service NetworkManagerDispatcher start'
For each su command, enter the root password at the prompt.
The NetworkManager tray icon automatically appears on your desktop once the services are started. If the NetworkManager service is active, then the tray icon appears each time that you log in to your desktop.
星期六, 三月 03, 2007
2007年3月3日
什么才是最有价值和最值得珍惜的在生命中?
金钱,权利,美貌….?
可是仔细想想这些却如此短暂!
在你二十岁前你根本不会很去在意这些!
20~30岁的时间你才开始去意识这些,并慢慢在意这些!
你会得到你所想得到金钱,权力。。。在你的"不懈"努力下。
但30几岁后大多数人能过着平淡的生活,那时其实也不用再刻意的在去追逐金钱,权利!
平淡的生活中相貌也不重要了。
总之所有的一切都是这短短十几年的事情,
并在宝贵的生命中只占如此的短暂。
也许人生只是只能参与一次的游戏,一定要用全部的心与灵魂去压出去,才爽。
因为在这个由上帝与魔鬼制定的规则中,只有把自己的心赌上去,才有意义,决不让它锁在保险箱里腐朽,浪费!
真切的体会生命,就算被现实蹂躏的也不要虚伪的腐烂。
至少,I want to live, pure-hearted and free! Don't afraid anything!
I believe:
每个人都是个独立的个人,不论他在社会中处于什么角色,大家都是平等的!People are equal!
我们在努力的学习,努力工作,努力争钱。。。并不是为了高人一等,也不能!是为了充实自身,实现自我的价值,追求自己的幸福!
所以我们必须尊重彼此的想法和选择权利!
人都是平等,这样才能互相尊重对方,才会有信任(现在社会最宝贵的东西),产生幸福感!
-2007年3月3日
金钱,权利,美貌….?
可是仔细想想这些却如此短暂!
在你二十岁前你根本不会很去在意这些!
20~30岁的时间你才开始去意识这些,并慢慢在意这些!
你会得到你所想得到金钱,权力。。。在你的"不懈"努力下。
但30几岁后大多数人能过着平淡的生活,那时其实也不用再刻意的在去追逐金钱,权利!
平淡的生活中相貌也不重要了。
总之所有的一切都是这短短十几年的事情,
并在宝贵的生命中只占如此的短暂。
也许人生只是只能参与一次的游戏,一定要用全部的心与灵魂去压出去,才爽。
因为在这个由上帝与魔鬼制定的规则中,只有把自己的心赌上去,才有意义,决不让它锁在保险箱里腐朽,浪费!
真切的体会生命,就算被现实蹂躏的也不要虚伪的腐烂。
至少,I want to live, pure-hearted and free! Don't afraid anything!
I believe:
每个人都是个独立的个人,不论他在社会中处于什么角色,大家都是平等的!People are equal!
我们在努力的学习,努力工作,努力争钱。。。并不是为了高人一等,也不能!是为了充实自身,实现自我的价值,追求自己的幸福!
所以我们必须尊重彼此的想法和选择权利!
人都是平等,这样才能互相尊重对方,才会有信任(现在社会最宝贵的东西),产生幸福感!
-2007年3月3日
星期六, 二月 24, 2007
Tokyo Love Stroy
恋爱,只要是参加了就是有意义的,即使是没有结局~~当你喜欢上一个人的那一刹,是永远都不会消失的~~这都将会变成你生活的勇气,而且会变成你在黑暗中的一线曙光.
不是常常有机会遇到可以爱他一生的人的,所以我很珍惜爱过你的一切回忆!爱过你的回忆,被你爱过的回忆,这些回忆都一直都珍藏在我心里唷~~
你好,丸子。应该是晚上好了吧!趁你去买东西的时候,我写了这些话。就要跟你分别了,虽然有点儿令人难过~~ 但不管怎么样,能与你在相同的季节,相同的道路上走在一起,对我来说都是值得珍惜和怀念的。丸子,现在这个时刻最美,跟你离别的时候,能够这样和你在一起,我想我将来也一定能坚强的过下去的。遇到你是我人生的一大收获,不想说再见,也不想约定什么,因为我们一定还会再见面的。――赤名リカ
PS:你好么?
你知道嘛,一生中能爱上别人并不事一件简单的事。
.......但也许很快就能喜欢上。
......喜欢过完治,因此觉得很珍惜。
会想著......我喜欢你,你也喜欢我。
(拍拍胸口)永远都活在这里。
有时候会想明天有恋爱会是怎麽样的?
......可是不会想出会爱上什麽样的人。
有过去的我,才会有现在的我。
能对自己说......做得好......就是这样。
没事的,笑一下吧。人生在世正所谓今日不知明日事,你有何必担心那么多啊。所以做人最紧要放开怀抱 !
不是常常有机会遇到可以爱他一生的人的,所以我很珍惜爱过你的一切回忆!爱过你的回忆,被你爱过的回忆,这些回忆都一直都珍藏在我心里唷~~
你好,丸子。应该是晚上好了吧!趁你去买东西的时候,我写了这些话。就要跟你分别了,虽然有点儿令人难过~~ 但不管怎么样,能与你在相同的季节,相同的道路上走在一起,对我来说都是值得珍惜和怀念的。丸子,现在这个时刻最美,跟你离别的时候,能够这样和你在一起,我想我将来也一定能坚强的过下去的。遇到你是我人生的一大收获,不想说再见,也不想约定什么,因为我们一定还会再见面的。――赤名リカ
PS:你好么?
你知道嘛,一生中能爱上别人并不事一件简单的事。
.......但也许很快就能喜欢上。
......喜欢过完治,因此觉得很珍惜。
会想著......我喜欢你,你也喜欢我。
(拍拍胸口)永远都活在这里。
有时候会想明天有恋爱会是怎麽样的?
......可是不会想出会爱上什麽样的人。
有过去的我,才会有现在的我。
能对自己说......做得好......就是这样。
没事的,笑一下吧。人生在世正所谓今日不知明日事,你有何必担心那么多啊。所以做人最紧要放开怀抱 !
星期四, 十二月 07, 2006
rice database
http://www.plprot.ethz.ch/index.php?page=OS
http://www.dna.affrc.go.jp/database/
http://plantgenomics.tigr.org/databases.html
http://www.shigen.nig.ac.jp/rice/oryzabase/top/top.jsp
http://www.gramene.org/resources/
http://gene64.dna.affrc.go.jp/RPD/main_en.html
http://bioserver.myongji.ac.kr/ricemac.html
http://www.tigr.org/tdb/e2k1/osa1/
http://urgi.infobiogen.fr/OryzaTagLine/
http://cdna01.dna.affrc.go.jp/PIPE/
http://moby.generationcp.org/regviewer/datatypes.do
pathway:
http://www.genomics.zju.edu.cn/ricedb/ricepathway.htm
http://www.gramene.org/pathway/
http://www.genome.jp/dbget-bin/www_bfind_sub?mode=bfind&max_hit=10000&dbkey=pathway&keywords=rice&mode=bfind
http://ricegaas.dna.affrc.go.jp/
http://bioinfo.hzau.edu.cn/
http://rise.genomics.org.cn/rice/index2.jsp
Model Organism Web Sites
http://www.life.umd.edu/labs/mount/Models.html
http://btn.genomics.org.cn:8080/rice/
http://rapdb.lab.nig.ac.jp/
rice mutant
http://rmd.ncpgr.cn/release.html
http://www.iris.irri.org:8080/IRFGC/ir64.shtml
index:
http://lib.bioinfo.pl/pmid:15888677
http://www.neurotransmitter.net/metadb/index.php?catid=73
GO:
http://research.i2r.a-star.edu.sg/DRAGON/ppdb/
http://www.dna.affrc.go.jp/database/
http://plantgenomics.tigr.org/databases.html
http://www.shigen.nig.ac.jp/rice/oryzabase/top/top.jsp
http://www.gramene.org/resources/
http://gene64.dna.affrc.go.jp/RPD/main_en.html
http://bioserver.myongji.ac.kr/ricemac.html
http://www.tigr.org/tdb/e2k1/osa1/
http://urgi.infobiogen.fr/OryzaTagLine/
http://cdna01.dna.affrc.go.jp/PIPE/
http://moby.generationcp.org/regviewer/datatypes.do
pathway:
http://www.genomics.zju.edu.cn/ricedb/ricepathway.htm
http://www.gramene.org/pathway/
http://www.genome.jp/dbget-bin/www_bfind_sub?mode=bfind&max_hit=10000&dbkey=pathway&keywords=rice&mode=bfind
http://ricegaas.dna.affrc.go.jp/
http://bioinfo.hzau.edu.cn/
http://rise.genomics.org.cn/rice/index2.jsp
Model Organism Web Sites
http://www.life.umd.edu/labs/mount/Models.html
http://btn.genomics.org.cn:8080/rice/
http://rapdb.lab.nig.ac.jp/
rice mutant
http://rmd.ncpgr.cn/release.html
http://www.iris.irri.org:8080/IRFGC/ir64.shtml
index:
http://lib.bioinfo.pl/pmid:15888677
http://www.neurotransmitter.net/metadb/index.php?catid=73
GO:
http://research.i2r.a-star.edu.sg/DRAGON/ppdb/
星期日, 十二月 03, 2006
在线国外代理,可以用来查wiki资料
http://www.unblockthe.net/
http://www.phproxy.org/
http://anonymouse.org/anonwww.html
http://socket.nfan.org/
http://www.olproxy.com/
http://www.cemsg.com/web/
http://www.10pod.com/
http://www.prx1.com/
这里有很多:
http://www.daili.com.ru/
例如:
http://anonymouse.org/cgi-bin/anon-www.cgi/http://en.wikipedia.org/wiki/Main_Page
http://anonymouse.org/cgi-bin/anon-www.cgi/http://en.wikipedia.org/wiki/Wiki
http://www.phproxy.org/
http://anonymouse.org/anonwww.html
http://socket.nfan.org/
http://www.olproxy.com/
http://www.cemsg.com/web/
http://www.10pod.com/
http://www.prx1.com/
这里有很多:
http://www.daili.com.ru/
例如:
http://anonymouse.org/cgi-bin/anon-www.cgi/http://en.wikipedia.org/wiki/Main_Page
http://anonymouse.org/cgi-bin/anon-www.cgi/http://en.wikipedia.org/wiki/Wiki
星期一, 十月 30, 2006
linux 镜像
首先推荐几个教育网和国内的fc镜像:
http://mirror.vmmatrix.net/ CDN Auto Select
http://dxmirror.vmmatrix.net/ China Telecom
http://cncmirror.vmmatrix.net/ China Netcom
ftp://ftp.sjtu.edu.cn/ 上海交通大学
ftp://ftp.tsinghua.edu.cn 清华大学
ftp://ftp2.tsinghua.edu.cn/ 清华大学2
ftp://ftp3.tsinghua.edu.cn/ 清华大学3
ftp://202.38.97.230/sites/fedora.redhat.com 中国教育总网
http://www.redhat.com.cn/ redhat china 官方网
http://www.linuxeden.com/ Linux伊甸园
http://bbs.chinaunix.net/forum/
http://www.chinalinuxpub.com/ Linux技术中坚站
http://www.linuxdby.com/ Linux大本营
http://www.freebsdchina.org/ FreeBSD China
http://www.fedoraproject.org.cn/ fedoraproject
http://debian.cn99.com/debian-cd/ debian.iso
http://dxmirror.vmmatrix.net/
http://mirror.vmmatrix.net/ CDN Auto Select
http://dxmirror.vmmatrix.net/ China Telecom
http://cncmirror.vmmatrix.net/ China Netcom
ftp://ftp.sjtu.edu.cn/ 上海交通大学
ftp://ftp.tsinghua.edu.cn 清华大学
ftp://ftp2.tsinghua.edu.cn/ 清华大学2
ftp://ftp3.tsinghua.edu.cn/ 清华大学3
ftp://202.38.97.230/sites/fedora.redhat.com 中国教育总网
http://www.redhat.com.cn/ redhat china 官方网
http://www.linuxeden.com/ Linux伊甸园
http://bbs.chinaunix.net/forum/
http://www.chinalinuxpub.com/ Linux技术中坚站
http://www.linuxdby.com/ Linux大本营
http://www.freebsdchina.org/ FreeBSD China
http://www.fedoraproject.org.cn/ fedoraproject
http://debian.cn99.com/debian-cd/ debian.iso
http://dxmirror.vmmatrix.net/
星期三, 十月 11, 2006
my 64位 vista
订阅:
博文 (Atom)



