Posts Tagged ubuntu

Ubuntu下ADSL拨号的配置

Ubuntu对于PPPOE的友好度很差,远不及FC和Suse系列的Linux,而且我在“新立得软件管理器"中查找了半天也没有找到一个图形化的东西,如果哪位大哥找到了麻烦透露一下,在此深表感谢!

OK!废话少说了,开始配置!

首先确保你的modem连接正确,在配置过程中系统会搜索modem状态的。
开一个终端:
$sudo pppoeconf //习惯了ubuntu就会习惯于什么命令都sudo来sudo去的

系统开始搜索所有网络接口上的adsl modem,一步步的yes过来。

          │ Please enter the username which you usually need for     │
          │ the PPP login to your provider in the input box below.   │
          │ If you wish to see the help screen, delete the           │
          │ username and press OK.                                   │
 
输入你的adsl帐号。
输入密码。

Would you like to add these addresses  automatically to the list of nameservers in your local /etc/resolv.conf file? (recommended)

是否自动获得DNS,选择是。

 Should pppoe clamp MSS at 1452 bytes?   If unsure, say yes.

数据包长度的设置,如果跟我一样不确定,选择是

 
Your PPPD is configured now. Would you like to start the connection at boot time?

是否启动时自动激活ADSL? 各位看着办吧。

配置结束,你可以使用 sudo pon dsl-provider 激活ADSL , 使用 sudo poff dsl-provider关闭ADSL.

,

No Comments

Ubuntu无法识别ATI的双头显卡问题

家里的机器是用的ATI X700Pro的显卡,拥有普通、数字、S端子3个接头。显示器接在普通的15针接口上,在使用ubuntu的liveCD时,普通模式只能进入文本状态,安全模式则直接黑屏。
ATI的显卡默认的第一显示器是数字接头,所以才出现了这个问题。其实类似的问题我在ATI Radeon VE的机器上装Redhat 7.0的时候已经出现过(当初是安装了ATI的驱动)。

OK,切入正题!

正常模式启动ubuntu进入文本界面后:
#aticonfig –initial –input=/etc/X11/xorg.conf
#aticonfig
–overlay-type=Xv //overlay的模式选择,说实话,不懂什么意思。
上面的两条命令过后,再次查看
/etc/X11/xorg.conf,你会发现文件中关于monitor的设置修改过了。
#startx

正常的话就会正确的识别出了显示器,启动了桌面。而且在此桌面下安装系统,系统会自动使用现在的xorg.conf,所以新安装的系统会自动识别出显示器了。

,

No Comments

launchpad

近一段时间,加入Ubuntu的本地化项目,翻译文档和界面。可能是我加入的比较晚,很多软件已经翻译结束了。而且剩下的都是硬骨头,比较郁闷。

呵呵,如果各位对本地化工作跟兴趣,可以到Launchpad 加入这个项目。同时这个网址还有包括Fedora Core在内的本地化项目。

No Comments

Ubuntu新手上路

Root用户操作

Ubuntu默认root是不可以login的,习惯上都是通过sudo命令来操作的。如果非要使用root帐户,sudo passwd 给root更换密码便可。

设置更新源

Ubuntu的软件包基于管理上的需要分了很多类别,但有不少算是必备的软件并没有包含在缺省设置的类别中。写过一个脚本可以自动选择最快的更新源。

中文输入法

常用的似乎有scim和fcitx,我选择了后者。

sudo apt-get install fcitx

sudo sh -c " echo ’export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ’ > /etc/X11/Xsession.d/95xinput "

sudo chmod +755 /etc/X11/Xsession.d/95xinput

登录界面的分辨率

登录进桌面后,首选项里面只可能设置当前用户的桌面分辨率,登录界面的分辨率并不受影响。

编辑/etc/X11/xorg.conf,把不需要的分辨率都删除掉就可以了。

和Windows的互访

Windows下访问ext2/ext3分区,用explore2fs。

Ubuntu下访问ntfs分区,我需要的是在启动时自动mount,修改/etc/fstab即可,如:

/dev/hda1 /media/hda1 ntfs nls=utf8,umask=0222 0 0

如果不加上utf8,会无法访问中文的目录和文件,而0222是将写的权限屏蔽掉。

另外,Ubuntu自带的一个远程桌面客户端很好用,可直接登录Windows的终端服务!

CHM/PDF的阅读

CHM用chmsee,xchm对中文的支持不太好,比如目录或索引页的中文内容。

PDF用xpdf,kpdf/gpdf对中文的支持也不太好,有时能看,有时就不行。

QQ&MSN

都可用Gaim搞定,而且可以两个聊天系统整合在一个界面里!

MSN缺省就可用,而QQ需要装一个叫openq的插件,下载地址:http://textwiki.org/wiki/OpenQ

我的Gaim是1.5版的,就下载了openq_0.3.2-2006_i386.deb,安装方法:

dpkg -i openq_0.3.2-2006_i386.deb

听歌看片

sudo apt-get install beep-media-player totem-xine w32codecs

Beep Media Player用来听歌,仿winamp的界面,还算好用,如果列表中的曲目信息显示乱码,可以配置插件libmpg123,将tag信息的编码自动由gb2312转换成utf-8。

自带的totem看片似乎不太中,totem-xine将totem的底层由gstreamer换成xine,而w32codecs是解码器包。

清理空间

开始时给Ubuntu分配的空间有限,折腾下来只剩700M左右了。apt-get很好用,不过听说也消耗了不少的空间,运行sudo apt-get clean后,大概多了300M左右。

安装ATI的显卡驱动

起先用在我的机器上liveCD不能显示桌面,ATI将DVI接口的显示器设置为默认,无奈必须重新设置xorg.conf才能进入桌面并安装。
安装结束后:

sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
重启后:
$ fglrxinfo
 
出现如下字样,说明显卡驱动工作正常
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5814 (8.25.18)
 
 

No Comments

Ubuntu 6.06 Release

当地时间6月1日,Ubuntu推出了其最新的版本6.06LTS ,代号“Dapper Drake”。

Ubuntu的附属项目在原先的Kubuntu(kde桌面)、edubuntu(教育系统)的基础上增加了xubuntu(xface桌面)效果虽差,但性能可是一流的。在光盘发布类型上也在desktop和server的基础上增加了一个更加灵活的Alternate。好笑的是desktop版的ubuntu竟然提供了windows下的Firefox Thunderbird adiword gaim gimp等开源软件,而且做成了光盘自动执行。我起初还以为下载错了。

官方的update

On the Desktop CD 桌面版

  • A new, very fast, graphical installer based on the Live CD //终于有了图形化的安装界面,但个人觉得就是一个liveCD+install程序

  • Faster system startup and login //更快的启动速度,属于正常更新

  • Simplified menu organization //简单化的菜单

  • Graphical shutdown process //似乎是在学习Suse

  • Easy access to power management settings with GNOME Power Manager //电源管理,笔记本电脑的福音 

  • Improved support for video playback //更多的显卡支持

  • Optional NetworkManager for convenient roaming between different

    • wireless and wired networks //无限网卡,笔记本电脑的福音

  • GNOME 2.14.1, OpenOffice.org 2.0.2, X.org 7.0 //只能算是正常更新

(傻瓜化、移动化的趋势使然,FC5 Suse10如此,ubuntu也不例外)

On the Server 服务器版

  • New kernels targeted at server platforms. The server kernels are tuned differently than the desktop kernels (providing better performance for server applications). //与桌面版采用不同的内核,莫非之前……

  • There are both low-end, and "big iron" server kernels. The low-end server kernel is generic, and should work on the same equipment that the desktop kernel runs on. The highend server kernel is geared towards systems with greater than 8 CPUs (ES7000 / Summit / BIGSMP). //低端、高端两种内核

  • Turn-key LAMP installation for this common deployment scenario //LAMP开发的咚咚

  • Improved support for clusters and SANs //集群、SANs的加强

  • Numerous thin client enhancements, including faster client startup,graphical boot process, reduced memory requirements, and sound device support //无盘站、瘦客户机的优化

Localization 本地化

  • Automatic setup of non-Latin input methods //自动安装输入方法

  • Menu item translations included in language packs, for faster integration of new and updated translations provided through Rosetta //包含本地语言包,更容易翻译。

Installation and Upgrades 安装、升级

  • Ubuntu can now be installed to USB devices, such as removable hard drives and flash memory, using the text-mode installer //可在USB设备上安装

  • A new upgrade tool is available, for simple, clean and reliable upgrades from one Ubuntu release to the next, starting with Ubuntu 5.10 //可从5.10的版本上“简单、干净、可靠”的升级

  • The alternate installer now runs in a single stage, rebooting straight into the complete system. This makes it faster, simpler, and more reliable. //alternate的定制系统

No Comments

Ubuntu创始人成中国开源软件推进联盟顾问

2006年2月14日,最近崛起推出优秀的Linux版本的Linux社区Ubuntu的创始人,Canonical公司董事长Mark Shuttleworth应聘担任中国开源软件推进联盟智囊团高级顾问。
Mark Shuttleworth先生表示,他对接受应聘感到十分高兴和荣幸,他经过慎重考虑后接受应聘,将很好肩负高级顾问的责任。

中国开源软件推进联盟是在国家主管部门指导下由致力于开放源码软件的企事业、民间社团自愿组成的民间联合体、非独立社团法人组织。旨在是凝聚中国和国际 OSS社区、企事业盟员的力量,以推动中国国内OSS的发展及应用,促进中日韩(CJK)OSS的合作事业,开展国际合作为国际OSS社区做贡献。


PS:首先强烈的表示支持,但同时希望他能够适应中国的“特殊国情”。

No Comments