feisty 升级中断的问题
Posted 9 months, 2 weeks ago at 11:32 am. 0 comments
昨天升级中折腾无线网卡,结果升级被异常终止。于是乎,今天的 update-manager 出现必须 only do a partial upgrade,可是…乖乖,看看需要的时间,:( 郁闷..

Popularity: 9% [?]
Tags: feisty昨天升级中折腾无线网卡,结果升级被异常终止。于是乎,今天的 update-manager 出现必须 only do a partial upgrade,可是…乖乖,看看需要的时间,:( 郁闷..

Popularity: 9% [?]
Tags: feisty江苏省常州市电信,推荐电信用户使用:
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/ feisty main restricted universe multiverse
欧洲,此为官方源,推荐使用
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse
或者 lupa 的
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-proposed main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ feisty-backports 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-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse
相关日志
Popularity: 16% [?]
Tags: feisty原文来自 http://xlntsolution.blogspot.com/2007/03/feisty-performance-fly-like-butterfly.html
blogspt 似乎再次封掉了,:( 我是通过这个代理看到的
部分内容如下:
sudo gedit /etc/hosts
你会看到类似
127.0.0.1 localhost
127.0.1.1 guoshuang-laptop
这样的内容,在 localost 后面加上你的主机名,如guoshuang-laptop
127.0.0.1 localhost guoshuang-laptop
127.0.1.1 guoshuang-laptop
1. Disable IPv6
At least I dont need IPv6 yet so this is what I do to disable it.
sudo kate /etc/modprobe.d/aliases
And change the line:
alias net-pf-10 ipv6
to:
alias net-pf-10 off #ipv6
This will disable IPv6 on all network interfaces. You need to reboot.
2. Run boot processes in parallel
This will make upstart to run the boot processes in parallel and speed up the boot process.
sudo kate /etc/init.d/rc
Find and change the line:
CONCURRENCY=none
to:
CONCURRENCY=shell
3. Aliasing hostname to localhost
Right or wrong, you decide. But I picked this up in the Ubuntu forums the other day and it does improve the startup of some apps.
sudo kate /etc/hosts
and add you hostname to the first line after localhost like this:
127.0.0.1 localhost yourhost
127.0.1.1 yourhost
4. Disable pango
I know that this is already taken care of in firefox but it still makes a good performance boost to thunderbird and some other apps.
sudo kate /etc/environment
and add:
MOZ_DISABLE_PANGO=”1″
5. Preload
It does what you think. It preloads most common used libs and files = faster startup times on your applications.
sudo apt-get install preload
What about prelink?
Prelink is no longer necessary in feisty. Feisty uses a new linking mechanism called DT_GNU_HASH which speeds up the linking process without the need for continuously running prelink.
6. Swappiness
The default value for vm.swappiness is 60 in Ubuntu Feisty whic is a good default value but if you want to tweak the performance a little bit more you can change this value to a lower value to reduce the load of the swap. If you run the follwing command:
sysctl -q vm.swappiness
You will se that the value is set to 60. And by running:
sudo sysctl vm.swappiness=10
You will change the value from 60 to 10 which will make your system write to swap a lot less and I would recommend this to everyone that has 512 mb of memory or more. If you find that you have very little use of swap set the value to 0. This will not disable the swap but it will make your system write to the swap as little as possible and keep as much as possible in memory. This makes a huge improvment when switching between applications since they are now likley to be in physical ram instead of on the swap partition.
To set your value permanent you need to change the sysctl.conf file:
sudo kate /etc/sysctl.conf
Add the line
vm.swappiness=10
To the end of the file. This way it will be set upon boot.
I’ve found that the value of 5 works very good for my use and I have 1 GB of memory.
7. Profile grub
There is a option to grub called profile which will profile your startup. What it does is that it kind of indexing all the files read during boot/startup and later on it will find and read those files quicker.
Hit the escape button when booting to get to the grub menu.
Select your default boot kernel and hit the e button.
Go down to the second line and hit the e button again.
Add profile to the end of the line and press enter.
Hit the b button to boot with your new option.
The first time it will take a little bit longer to boot because it has to build the index (or whatever they want to call it) but every boot after this will be a lot smoother.
You need to do this every time you update your kernel or have made other huge changes to your system that might affect the files needed during boot.
The following could cause your system to be unstable or even unable to boot so please use them care…
8. sysv-rc-conf
Install sysv-rc-conf and disable the services you don’t need at startup.
As an example. On my computer I don’t have bluetooth so I don’t need to start it at boot time.
So simply disable what ever you don’t have or use.
sudo apt-get install sysv-rc-conf
and then run:
sudo sysv-rc-conf
9. Kernel hacking
Even thought the new kernel in feisty is very good and already tuned a bit there still are some things you can do to the kernel the will make your system snappier and boot up even faster.
Use this thread from the ubuntu forums as a guide on how to compile your own kernel.
master kernel thread
What I do is that I make sure to add my file systems I use to the kernel instead of loading them as modules. Take out whatever I don’t have or use and then compile my new and hopefully improved kernel ![]()
10. Filesystem setup
The choice and use of the file system is a big issue when dealing with performance. Depending on your usage of your system you might need to configure your filesystem different.
For my usage I like to use the following setup (which I think is a good desktop setup)
Mountpoint
filesystem
Size
/boot
ext2
100 MB
/root
LVM, VG=system, xfs
6 GB
/swap
LVM, VG=system, swap
The size of RAM in your computer. Making it smaller and you will not be able to hibernate.
/home
LVM, VG=system, xfs
1 GB, or the rest of the space in that VG
/data
LVM, VG=data, xfs
The rest of the free space
Using the following options in fstab for all my xfs partitions:
noatime,nodiratime,logbufs=8
Using LVM can really speed up the disk performance. And you get a lot of other good stuff with it as well. Read more about LVM here.
I choose to have /root and /home on one VolumeGroup and /data on another simply because I can then split them up on diffrent physical disks and have them spanning over multiple physical disks witch really speeds up the reads and writes.
At the moment this is pretty much it but I will update this as soon as I discover more performance tunings…
Tuning applications
Not so much to add here but this what I like to do.
1. Firefox
Use swiftfox instead. It’s optimized for your CPU.
Install the fasterfox add-on
If it’s not already set, disable IPv6. In the url enter about:config and find the ipv6 entry and disable it.
Install adblock plus add-on
to disable ad’s it helps a lot ![]()
2. openoffice
If you don’t need that extras that java JRE provides then simply disable it openoffice. That’s what I do.
Once Feisty is released I will have a script done that all you brave people can run that will do most of this in one go ![]()
I will also write down the kernel options that I use to compile my kernel for those who are interested.
But until then, use this and enjoy a much faster and smoother running Feisty.
Popularity: 40% [?]
Tags: blog, cat, feisty, install, laptop, ls, right, shell, tty, tweak, ubuntu, vi
读 ntfs 分区本来就没问题。要加入NTFS分区写入支持,在 feisty 中很容易。直接安装 ntfs-config 即可
sudo apt-get install ntfs-config
打开 系统工具 - NTFS 写入支持配置程序,勾选 启用内(外)部设备写支持即可。以后就可以写 NTFS 分区了。
Widows NTFS Partitions Read/write support made easy in Ubuntu Feisty
相关日志:
windows 查看 linux 分区工具
windows 访问ubuntu 目录 SMB
Popularity: 34% [?]
Tags: blog, cat, feisty, install, linux, right, screen, ubuntu, vi★ Beep Media Player
简单的播放器
★ Banshee
音乐管理和播放
Import, organize, play, and share your music using Banshee’s simple, powerful interface.
Rip CDs, play and sync your iPod, create playlists, and burn audio and MP3 CDs. Most portable music devices are supported.
★ Rhythmbox
带 Album 管理的播放器
★ Listen
据说是最好的音乐播放器。
A nice music player and manager for GNOME
With Listen you can:
- Play your favorite songs
- Manage your library
- Make playlists
- Automatically or manually download album covers
- Automatically synchronize album covers with iPod
- Easily burn an audio CD
- Directly get informations from wikipedia when you play a song
- See the lyrics of a song
- Have statistics about your favorite songs, albums or artists
- Listen to web radio
- Submit your songs to Audioscrobbler
- Quick access to last.fm related file
★ XMMS
老牌播放器,现在显得有点过时了。
★ amarok
KDE下的播放器。功能强大。我喜欢它的 win+b 下一首歌快捷键,以及显在在系统托盘功能。
★ Muine Music Player
简洁、舒适的播放器
★ mplayer
强大的播放器,甚至可以在tty终端中播放。就是图形界面差了些。
★ kaffeine
KDE 音乐播放器。
★ Juk
KDE 播放器
★ Quod Libet
Quod Libet is a GTK+-based audio player written in Python. It’s designed around the idea that you know how to organize your music better than we do. It lets you make playlists based on regular expressions (don’t worry, regular searches work too). It lets you display and edit any tags you want in the file. And it lets you do this for all the file formats it supports — Ogg Vorbis, FLAC, MP3, Musepack, and MOD.
★ exaile
★ Exaile
is a music player aiming to be similar to KDE’s Amarok, but for GTK+ and written in Python.
Decibel Audio Player is a GTK+ open-source (GPL license) audio player designed for GNU/Linux, which aims at being very straightforward to use by mean of a very clean and user friendly interface. It is especially targeted at Gnome and will follow as closely as possible the Gnome HIG.
相关日志:
linux mp3 中文乱码问题
ubuntu 媒体
Guide to Best Linux [Ubuntu (GNOME)] Applications
ubuntu 下中文字幕问题
ubuntu 下让 totem 播放 rmvb
ubuntu feisty amd64 播放 rmvb 问题
Popularity: 63% [?]
Tags: amd64, blog, cat, design, feisty, font, gnome, hp, linux, mplayer, rmvb, tty, ubuntu, vi以前在新利得里,安装过一个 moziila-flash的插件,似乎也能运行flash,但功能不全。下面的方法更好一些。
nspluginwrapper is an Open Source compatibility plugin for Netscape 4 (NPAPI) plugins. That is, it enables you to use plugins on platforms they were not built for. For example, you can use the Adobe Flash plugin on Linux/x86_64, NetBSD and FreeBSD platforms.
nspluginwrapper is distributed under the terms of the GNU General Public License (GPL).
其实在ubuntuforum.org已经有人解决了。原帖在此:http://ubuntuforums.org/showthread.php?t=341727
这里重新提一下,与原帖稍有不同。
通过nspluginwrapper使64位的firefox调用32位的flash player 9以实现flash显示,这是迄今为止最完美的flash解决方案。
废话完毕。
0
代码:
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
或许你可以冒险少装一个。
1 去nspluginwrapper主页下载rpm自己转或者从附件下载alien装好的deb包并安装。
2 去adobe那下载flash player 9。
3 将libflashplayer.so复制到~/.mozilla/plugins/
4代码:
nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.so
5代码:
nspluginwrapper -l
若返回
代码:
/home/’whoami’/.mozilla/plugins/npwrapper.libflashplayer.so
Original plugin: .mozilla/plugins/libflashplayer.so
Wrapper version string: 0.9.91.2
类似信息,则OK。
运行:nspluginwrapper -l
出现:段错误 (core dumped)
不过还是能用了。
via http://forum.ubuntu.org.cn/viewtopic.php?t=42579
相关日志:
%RELATEDPOSTS%
Popularity: 27% [?]
Tags: amd64, deb, feisty, flash, hp, install, linux, ubuntu, vi以下为引用内容:
Ubuntu刚建好的一个新网页,宣布将在四月份推出Ubuntu Studio。这是一个相当具有野心的项目,Ubuntu表示将在Ubuntu操作系统上添加多媒体编辑功能,提供给业已熟悉了Ubuntu-Gnome桌面环境的专业人士或者Linux音频,视频,图形的狂热爱好者。
预计将与07年4月推出的Ubuntu 7.04 Feisty Fawn一起发布。
via lupa
BTW:
这篇 Vista出Windows和Linux是战是和 不错
以下为引用内容:
5年的时间、近1万多人的参与、60多亿美元的研发测试费用——这些数字只是微软的下一代操作系统Windows Vista的一些特征。在最近召开的CES 2007上与新闻机构数不清的会面中,盖茨把重点特别放在了作为下一代操作系统的Vista的功能上。自2006年5月起,绝大多数业内人士都有机会测试过它的很多版本,但他们坦率地讲,Vista并不值得推荐。当询问使用过Vista的朋友时,他们也表达了同样的意思:“Vista肯定比XP好,但我还不会推荐它,因为它不稳定;此外,实际上,它看起来像是加上了Service Pack 3和光鲜的用户界面的XP;而且它强迫你升级(硬件)。”
从CES 2007上的所见所闻,微软试图让Vista成为一种媒体中心OS,而不是真正可靠的OS,它更多地关注用户的娱乐需要。微软公司媒体中心主管Jason Seuss将Vista的这种重要特性描述为“一种消费你的数字媒体的统一的界面——这对于微软针对消费者的政策很有启示作用:微软大力推行它的标准,很少开放与其他平台的交流。
但是,Vista不仅仅只是为了播放视频、音乐或玩游戏。不幸的是,其源于开发的早期阶段的重大改进之一WinFS,早已被埋葬了,这可能是Vista不能成为下一代OS的又一个论据。
以下为引用内容:
荒谬的是,长期讨论的Windows盗版实际上是开源的大敌和对微软的宝贵帮助。在盗版盛行的国家(如俄罗斯或巴西),开源软件的市场渗透率最低,Windows平台占据统治地位。此外,微软甚至可以将盗版转化为利润(并且它肯定已经在做这种事)。当然,还有其他需要讨论的原因,开源社区应当放心,因为Windows打败Linux的惟一途径是让价格变为零,而这是不可能的。只要存在Linux开发人员,Vista(或者其他任何来自微软的未来的OS)将永远面临威胁。
对于我们最终用户来说,Linux和Windows之战当然给我们带来了为我们提供选择的好处。
Popularity: 13% [?]
Tags: feisty, gnome, linux, ubuntu, vi在同时安装 beryl 和升级 feisty 的时候,xwindow又进不去了…唉…
1.重新 envy 不行
2.重新安装 nvidia 96xx.run 不行
3.修改 /etc/gdm/gdm.conf-custom 恢复原来的文件。也就是删掉了 servers Xgl 部分。
终于可以进入 xwindow 了 …beryl 又用不了了…
vi /etc/X11/xorg.conf 再次打开
Section “Extensions”
Option “Composite” “Enable”
EndSection
beryl 也好了。
Popularity: 10% [?]
Tags: feisty, ubuntu, vi以前写过好几个日志,但找不到。再记一次。来自 http://forum.ubuntu.org.cn/viewtopic.php?t=62144
第一步:添加源,安装
代码:
deb http://mirror.noreply.org/pub/tor feisty main
deb-src http://mirror.noreply.org/pub/tor feisty main
代码:
sudo apt-get update
sudo apt-get install tor privoxy
源里安装的应该是: tor_0.1.2.14-1~feisty.1_i386.deb , privoxy_3.0.6-1_i386.deb
解释:web surf Wink 需要 tor/ privoxy 协同工作!
修改privoxy的配置文件: ( /etc/privoxy/config )
前边加上:
代码:
forward-socks4a / 127.0.0.1:9050 .
别忘了最后有个”.”
Privoxy 的日志文件记录所有通过它的东西。为了阻止这个你需要将它在config里注释掉(在行前添加一个 #)。
代码:
#logfile logfile
#jarfile jarfile
改完重启 Privoxy:
代码:
/etc/init.d/privoxy restart
注:privoxy stop/restart
Tor/privoxy 装好后 /etc/rc2.d目录下多了2个启动链接: S20tor,S20privoxy,自启动的,开机不需要输命令!如果想停掉tor服务,,把这连个名字前边的S改成K。。。
第二步:安装 TORBUTTON插件:
https://addons.mozilla.org/firefox/2275
Tor Disabled 点一下–> Tor Enabled
第三步:确认一下tor是否工作:—> https://torcheck.xenobite.eu/
BTW:
Popularity: 13% [?]
Tags: deb, feisty, hp, install, ubuntu, vi
AWN(avant window navigator 是 linux 下的 dock 工具。
我遇到的安装、使用问题如下:
安装
在 /etc/apt/sources.list 添加下面的源
deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
然后:
wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install avant-window-navigator-svn
设置
在AWN 上右键可以修改 preferences 或者某个应用程序的图标。注意:preferences 中的 fade 选了,就不能上下跳了。
alt+f2 运行 gconf-editor,修改
apps/avant-window-navigator/bar/bar_angle 为 45
/apps/avant-window-navigator/bar/icon_offset 为 18
AWN 的背景是黑色而不是透明?
AWN 需要 beryl 或者 compiz,因为beryl 比较卡,所以我选择的是 compiz。
更多资料:
http://awn.wetpaint.com/page/FAQ
http://www.osxcn.com/ubuntu/avant-window-navigator.html
Popularity: 15% [?]
Tags: deb, feisty, flickr, install, linux, ubuntu, vi