Browsed by
Tag: debian

kubuntu与xp的时间问题

kubuntu与xp的时间问题

我的计算机系统稍微有点特殊:主机是XP系统,平常可以通过U盘启动Kubuntu系统。也就是说,我日常工作在双系统环境中,经常在这些系统之间进行切换。

由此发现了一个问题:在Kubuntu工作后,重启计算机切换到XP系统。发现XP的时间被修改为GMT+0时区的时间,即时间整整晚了8小时(中国是GMT+8时区)。

检查XP中的时区和时间设置,发现完全正常,XP并没有修改时区。

这个问题只发生在从Kubuntu切回XP时。反过来从XP切回Kubuntu则没有这个问题,Kubuntu中的时间和时区设置正常。

怀疑问题出在Kubuntu上,Kubuntu可能重新设置了Bios或者主板的时区设置。问题可以这样解决:

修改/etc/default/rcS文件,将UTC设置为no即可。

这个问题可能是我当初安装Kubuntu时,忽略了某项设置导致的?

关于UTC参数,系统帮助中的说明如下:

UTC This  is  used  to govern how the hardware real time clock is interpreted when it is read (e.g., at  boottime,  for  the purpose of setting the system clock) and when it is written (e.g., at shutdown).  If this option is set to no then the system clock is assumed
to be set to local time. If the option  is  set  to yes  then  the  system clock is assumed to be set to something approximating Coordinated  Universal  Time(UTC).   (POSIX systems keep a variant of UTC, without leap seconds.)

2014-01-07 updated: 在Debian系统中,该参数被调整到/etc/adjtime文件中,将UTC修改为LOCAL即可。也可以使用以下命令直接修改:

hwclock -w --localtime
是愚人节笑话吗?

是愚人节笑话吗?

在网上看到一个相当让人震惊的消息:

据说Debian / Arch / Gentoo / OpenSUSE / Grml五大发行版本计划合并为一个发行版本,这个新发行版本叫Canterbury。如果这不是笑话的话,对Linux社区来讲会是件非常重大的事情,意义可能非常深远。现在Linux的发行版本确实太多了,分散了社区的开发力量。

但是为什么取名Canterbury呢?听上去像是个地名。

Debian 6的源

Debian 6的源

经过测试,其实台湾的几个源是非常快的,而且是Debian官方认可的源,在安转Debian时,可以选择台湾的源作默认源,也可以安装完后再修改:

deb http://ftp.tw.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.tw.debian.org/debian/ squeeze-proposed-updates main non-free contrib
deb http://ftp.tw.debian.org/debian-multimedia/ squeeze main non-free
安装Debian 6

安装Debian 6

从Debian网站上下载了网络安装包,在VirtualBox中试试最新的Debian 6。以前安装Debian的体验是比较郁闷的,过程比较繁琐、复杂,因此安装最新的Debian 6之i前,心理上也做好了放弃的准备。

然后实际结果让我大吃一惊!

Debian 6的安装过程太顺利了,基本上和linux mint debian的安装过程一样顺利。我只测试了图形化安装方式,基本上都是一路点“继续”就好了。安装过程中让人惊喜的是直接就安装好了VirtualBox的AdditionalServices, 不需要单独安装。印象中,似乎只有Fedora13以上版本能这么支持。

Debian 6缺省的图形界面是Gnome,基本上没有太多额外的定制,只是中文版本初始界面的字体实在是太大了,可以用硕大来形容。如果看习惯了Mint/Ubuntu的中文界面,Debian 6的硕大中文字体确实非常有视觉冲击力。

有些比较诡异的地方,是debian将一些常用软件改成了一些莫名其妙的名字,例如Firefox被改名为Iceweasel,这是什么道理?是为了避免版权纠纷?可是OpenOffice套件仍然保留了原来的名字。。。

总的来说,debian 6给人的感觉相当给力。这个版本不仅保留了以前”debian版本适合作服务器”的特点,桌面应用也有了长足的进步。

Linux Mint Debian不错啊

Linux Mint Debian不错啊

前段时间一直在使用Ubuntu,也一直认为apt-get等获取软件的方式是Ubuntu独创的。最近看了些介绍Linux的扫盲性文档,才知道原来是Debian系统创造了一切,Ubuntu只是对它进行了优化。

同时也知道了原来还有个linux mint debian的版本。试着安装了一下,也是相当不错,界面也非常华丽。重要的是,它是原汁原味的Debian软件管理,可以直接使用Debian的源。

不过LMD缺省的源,在国内网络访问时速度不够快。搜索网络并尝试后确认,实际上下面两个软件源从国内访问是最快的:一个是国内的CN99(似乎实际上就是163.com),另外一个是台湾的网站。

修改软件源的方法也很简单,登陆LMD后,进入/etc/apt目录,使用命令:sudo vi sources.list进行修改,将以下内容添加进去就可以了:

#stable sources
deb http://debian.cn99.com/debian stable main contrib non-free
deb-src http://debian.cn99.com/debian stable main contrib non-free
#security update
deb http://debian.cn99.com/debian-security stable/updates main contrib non-free
#testing sources
deb http://debian.cn99.com/debian testing main contrib non-free
deb-src http://debian.cn99.com/debian testing main contrib non-free
#TW sources
#stable sources
deb http://ftp.tw.debian.org/debian stable main non-free contrib
deb-src http://ftp.tw.debian.org/debian stable main non-free contrib
#testing sources
deb http://ftp.tw.debian.org/debian testing main non-free contrib
deb-src http://ftp.tw.debian.org/debian testing main non-free contrib