分类: LINUX
2008-05-20 16:14:48
sudo pppoeconf
pon dsl-provider
poff dsl-provider
sudo mv /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list
* Archive.ubuntu.com 更新服务器(欧洲): deb dapper main restricted universe multiverse deb dapper-security main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb dapper main restricted universe multiverse * Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。): deb dapper main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb dapper-security main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb dapper main restricted universe multiverse * Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,推荐电信用户使用。): deb dapper main restricted universe multiverse deb dapper-security main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb dapper main restricted universe multiverse * 上海市交通大学 更新服务器(教育网,推荐校园网和网通用户使用。): deb dapper main multiverse restricted universe deb dapper-backports main multiverse restricted universe deb dapper-proposed main multiverse restricted universe deb dapper-security main multiverse restricted universe deb dapper-updates main multiverse restricted universe deb dapper main multiverse restricted universe * 北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用。): deb dapper main multiverse restricted universe deb dapper-backports main multiverse restricted universe deb dapper-proposed main multiverse restricted universe deb dapper-security main multiverse restricted universe deb dapper-updates main multiverse restricted universe deb dapper main multiverse restricted universe * 中国 台湾省台湾大学 更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。) deb dapper main restricted universe multiverse deb-src dapper main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb-src dapper-updates main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb-src dapper-backports main restricted universe multiverse deb dapper-security main restricted universe multiverse deb-src dapper-security main restricted universe multiverse deb dapper main multiverse restricted universe * Mirror.vmmatrix.net 更新服务器(上海市电信,推荐电信网通用户使用。): deb dapper main restricted universe multiverse deb-src dapper main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb-src dapper-updates main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb-src dapper-backports main restricted universe multiverse deb dapper-security main restricted universe multiverse deb-src dapper-security main restricted universe multiverse deb dapper main multiverse restricted universe
sudo apt-get update
sudo apt-get install linux-686
sudo apt-get remove linux-image-386 linux-restricted-modules-2.6.15-23-386 linux-restricted-modules-386 linux-386 linux-image-2.6.15-23-386
pon dsl-provider
sudo apt-get dist-upgrade
gconf-editor
sudo fontconfig-voodoo -f -s zh_CN
sudo apt-get install xfonts-wqy sudo gedit /etc/fonts/conf.d/50-xfonts-wqy.conf
WenQuanYi Bitmap Song
sudo apt-get install sun-java5-jdk
sudo update-alternatives --config java
wget sudo mv /etc/java-1.5.0-sun/fontconfig.properties /etc/java-1.5.0-sun/fontconfig.properties.old sudo mv d323 /etc/java-1.5.0-sun/fontconfig.properties sudo chown root:root /etc/java-1.5.0-sun/fontconfig.properties
sudo apt-get install sun-java5-plugin
sudo apt-get install scim-bridge sudo vi /etc/X11/xinit/xinput.d/zh_CN
cd;mkdir tmp;cd tmp wget -c sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/ wget -c sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib sudo chown -R root:root /opt/LumaQQ/ sudo chmod -R 755 /opt/LumaQQ/ sudo vi /usr/share/applications/LumaQQ.desktop
[Desktop Entry] Name=LumaQQ Comment=QQ Client Exec=/opt/LumaQQ/lumaqq Icon=/opt/LumaQQ/QQ.png Terminal=false Type=Application Categories=Application;Network;
sudo apt-get install beep-media-player totem-xine w32codecs libxine-extracodecs mplayer banshee
sudo apt-get install mplayer mplayer-fonts
打开文件:
sudo cp /etc/mplayer/mplayer.conf /etc/mplayer/mplayer.conf_backup
sudo gedit /etc/mplayer/mplayer.conf
找出下面这一行
...
vo=x11, # To specify default video driver (see -vo help for
...
以下面这一行取代
vo=xv, # To specify default video driver (see -vo help for
安装 w32codecs解码器(用于播放wmv、rmvb等常见windows平台下的多媒体文件;假设你已经添加了ubuntu-cn源)。
sudo apt-get install w32codecs
你也可以自己到Mplayer网站下载最新的解码包,网址是 选择其中“Binary Codec Packages”标题下的“linux x86 ...”, 如Linux x86 20061022, 下载后解压到 /usr/local/lib/codecs/ 或 /usr/local/lib/win32即可。
mkdir ~/.mplayer
ln -sf /usr/share/fonts/truetype/arphic/uming.ttc ~/.mplayer/subfont.ttf
gedit ~/.mplayer/gui.conf
sub_cp = "cp936"
font_text_scale = "4.000000"
font_osd_scale = "4.000000"
sub_fuzziness=2
假设下载回来的是名字是skin_name.tar.bz2的压缩包:(以下操作以在Nautilus文件管理器下操作为主)
解压缩下载回来的tar.bz2包,得到skin_name这个文件夹。接下来把这个文件夹剪切到 自己home目录下的 .mplayer/skins下,此目录为隐藏属性需要ctrl+h键才能看到。 mplayer皮肤列表中将显示为the_other_name
sudo apt-get install mozilla-mplayer
重启Firefox使mozilla-mplayer插件生效
sudo apt-get install stardict stardict-common stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb
sudo apt-get install flashplugin-nonfree
sudo apt-get install d4x azureus amuleapt-get install mldonkey-server mldonkey-gui
apt-get install mldonkey-server mldonkey-gui
sudo apt-get install alsa-oss sudo vi /etc/asound.conf
pcm.card0 { type hw card 0 } pcm.!default { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1025 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 periods 128 rate 44100 } bindings { 0 0 1 1 } }
sudo vi /etc/esound/esd.conf
[esd] auto_spawn=1 spawn_options=-terminate -nobeeps -as 2 -d default spawn_wait_ms=100 # default options are used in spawned and non-spawned mode default_options=
sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
tar zxvf msttcorefonts.tar.gz gunzip sthei.ttf.gz sudo mkdir /usr/share/fonts/custom sudo mv msttcorefonts/ /usr/share/fonts/custom sudo mkdir /usr/share/fonts/custom/cn sudo mv sthei.ttf /usr/share/fonts/custom/cn sudo chown -R root:root /usr/share/fonts/custom/ sudo chmod -R 755 /usr/share/fonts/custom/ sudo fc-cache
sudo vi /etc/fonts/language-selector.conf
STHeiti
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
tar zxvf libGL.so.1.2.tar.gz sudo mv libGL.so.1.2 /usr/lib/