ubuntu使用小结

1,光盘安装。
2,设置源:sudo gedit /etc/apt/sources.list
添加
deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


更新,sudo apt-get update

3,下载更新前,先安装中文包支持,等待下载的过程中,安装firefox插件,扩展。下载安装结束,选择Chinese(China)环境,此时,scim尚不能正常使用,重启电脑,看Scim启动情况,一般正常。

4,(1)安装下好的win32codecs.deb,QQ,飞信,Ubuntu-tweak 。(2)用Movie Player,Rhythmbox 自动搜索安装一些媒体包,用tweak安装Mplayer,及其他的可选软件。

5,下载需要更新的软件包。尽量少占用网络,用Mplayer,Rhythmboxk看看电影,听听音乐,或将之前转移的文件转移转移位置,等待.........

6,全面开始软件的安装,永中,Sound Converter,Easy Tag,Adobe Reader,可从 http://wiki.ubuntu.org.cn/Qref/Apps 选择 vim,chmsee ,stardict ......

7,
(1)wget http://ubuntu:ubuntuftp@ftp.ubuntu.org. ... _linux.deb
sudo dpkg -i install_flash_player_10_linux.deb 安装firefox,flash-player.
问题:flash乱码,
解决:打开终端 cd /etc/fonts/conf.d/
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
sudo rm 49-sansserif.conf
(先备份49-sansserif.conf文件,再删除)
(2)多媒体软件包
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install libxine1-ffmpeg libxine1-all-plugins libxine1-plugins w32codecs gcc-3.3-base libstdc++5

sudo apt-get install libdvdnav4 libdvdread3 libdvdcss2
(3)解压缩工具 sudo apt-get install unrar p7zip-full cabextract
(4)编译工具 sudo apt-get install build-essential autoconf automake1.9 cvs subversion

8,显卡驱动安装,更改Language Support,设置英文环境,重新启动。

9,看Scim是否正常启动,是否能正常使用,若不能,则卸掉,重新安装一遍,保持英文环境重启一遍。一般正常。

10, 看英文环境下TXT文件中文是否乱码,解决办法:终端输入:gconf-editor依次打 开;apps-->gedit2-->preferences-->encodings双击右边的 “auto_detected"-->"add"-->输入:gb18030-->OK-->点UP把它移动到最上边 -->OK.

11,在文件存贮位置的转移过程中,有文件不能被剪切或删除的权限要求,解决:终端输入:cd XXX(问题文件夹)-->sudo chmod 777 * -R 彻底删除的命令:sudo rm -fr /xxx/xxx/..

12,使用XP字体,曾添加成功过,在ooo2和永中集成office的字体中都添加上了,但是Doc文件设置好宋体,在Ubuntu系统上看很正常,很美观,一到打印店XP电脑上打印,出来字体格式乱七八糟,大小不一,是跳变的。用双系统就不折腾这个了。

13,为方便可以:安装右键中打开终端: sudo apt-get install nautilus-open-terminal 安装右键中 以管理员打开 sudo apt-get install nautilus-gksu

14,自动挂载问题。两个方法:
《1》 在安装Ubuntu分区时,挂载 / 根目录,/home目录,后可以挂载其他的盘(包括NTFS和FAT格式的)选择现匹配的格式后,可以不选格式化,然后自己填上挂载盘的名称如我除了 swap和Ubuntu系统分区,还有一个ext3盘,挂为/EXT3, 一个NTFS盘,挂为/NTFS,一个FAT32盘(也是我的XP系统盘),挂为/Windows。效果是开机后,都自动挂载在 File System之中。
《2》Ubuntu安装完后自动挂载XP分区,终端输入 sudo mkdir /mnt/FAT 和 sudo mkdir /mnt/windows 在system之下的/mnt文件下建立两个文件-->sudo fdisk -l 查看磁盘分区情况 例如出现以下信息:
Device Boot Start End Blocks Id System 注:我加上的
/dev/sda1 1 63 506016 82 Linux swap / Solaris swap分区
/dev/sda2 4846 16521 93787470 f W95 Ext'd (LBA)
/dev/sda3 * 16522 19457 23583420 7 HPFS/NTFS windows系统分区(NTFS格式)
/dev/sda4 64 4845 38411415 83 Linux Ubuntu系统分区
/dev/sda5 4846 15178 82999791 83 Linux EXT3分区
/dev/sda6 15179 16521 10787616 b W95 FAT32 FAT分区
可以结合Partition Editer 工具区分各分区的属性
--> sudo gedit /etc/fstab 打开配置文件在原来内容下面 输入如下内容:
/dev/sda6 /mnt/FAT vfat utf8,umask=000 0 0
/dev/sda3 /mnt/windows ntfs nls=utf8,umask=000 0 0
保存,重启

15,Rhythmbox 添加滚动歌词插件。sudo apt-get install gnome-osd 插件网页 http://code.google.com/p/lrcdis/

16,Mldonkey使用,终端命令: telnet 127.0.0.1 4000 (telnet localhost 4000)-->set client_name [CHN][VeryCD]yourname-->servers http://www.emule.org.cn/server.met-- > set ED2K-max_connected_servers 10-->set max_hard_download_rate 128--> set max_opened_connections 200-->.........
安装使用过程中注意点:
《1》 sudo apt-get install mldonkey-server 安装时,不要设置自动随电脑启动而启动,到需要用时以mlnet手动启动,可以避免出现很多如DNS resolutions does not work, 下载文件不再~/.mldonkey/incoming之中(其实自动启动的Mldoneky下载文件跑到/var/lib/mldonkey /incoming了)等问题。
《2》开始安装先不需要什么端口,强制高ID等设置,可以只作上面的基本设置,就已经可以达到相应带宽的基本下载速度(512kb,下载速度基本保持在50kb/s左右甚至再高)
《3》于firefox的关联,(不懂编译的最好不要参照网上的修改about:config 及其相关的设置,麻烦甚至不能成功)寻找专门的firefox插件安装最好,要是版本不支持,可以去 http://www.informatik.uni-oldenburg.de/~dyna/mldonkey/ 支持我目前使用的Ubuntu8.04系统下的firefox。
《4》不用安装mldonkey-gui 和sanch,个人觉的很是麻烦,直接网页打开,http://localhost:4048/ 其中进行设置或在终端用命令设置,网页版很丰富。

17,使用Prism,有deb包安装,可以不用启动firefox浏览器来登录webQQ和mldongkey 的网页http://localhost:4048/。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值