成功與自信--TianJin

          上善若水。水善利萬物而不爭,處眾人之所惡,故幾于道。居善地,心善淵,與善仁,言善信,政善治,事善能,動善時。 Where there is a will,there is a way.

          Ubuntu8.04常用軟件,配置和命令[轉載]

          1,修改你的源,并升級到最新的系統,這個最最基本的,必做:
          sudo gedit /etc/apt/sources.list

          在編輯器里,刪除所有東西,并在加上下面的行:

          Mirror.lupaworld.com 更新服務器(浙江省杭州市電信,亞洲地區官方更新服務器,推薦全國用戶使用。):

          deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
          deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
          deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
          deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
          deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
          deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse

          Cn99的服務器,全國最出名的服務器,網通都很快

          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

          系統升級(如果出現需要輸入[Y/n] 或 [y/N] 一律輸入 y 并 回車):

          sudo apt-get update

          sudo apt-get dist-upgrade

          2, 根據你安裝的系統來選擇安裝的中文支持環境(這樣可以少裝幾個沒用的語言包)
          sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base \ language-pack-zh language-pack-zh-base language-support-zh

          3, 安裝輸入法,你可以在SCIM和fcitx輸入法中任選一種安裝(強列推薦fcitx)
          sudo apt-get install fcitx
          im-switch -s fcitx

          4, 安裝更好的多媒體mp3播放驅動:Audacious , 它比xmms要爽,最好用的,還可以換皮膚(見我另外的文章)

          sudo apt-get install audacious w32codecs

          解決歌名列表亂碼問題:直接在播放列表中選擇chinses.方便吧

          5.安裝各種視頻(rmvb,wmv等)播放器,我安裝的是smplayer,他是mplayer的前端

          sudo apt-get install mplayer smplayer w32codecs

          6, 安裝英漢辭典, 星際翻王不錯,用在Ubuntu上挺方便, 而且有穩定的源

          sudo apt-get install stardict stardict-common

          字典的話,建議使用金山的,因為我們都習慣了.(我是網上下的哦,不要講我。。。)
          下載地址:
          計算機字典: http://blogimg.chinaunix.net/blog/upfile/071030005804.gz
          中英字典: http://blogimg.chinaunix.net/blog/upfile/071030005154.gz
          英中字典: http://blogimg.chinaunix.net/blog/upfile/071030005439.gz

          7, 安裝bt軟件

          sudo apt-get install azureus(現在不推薦了)發現了更加好的
          奔流
          軟件論壇:http://groups.google.com/group/benliud獲取,真是太快了,太好用了

          8, 安裝編譯工具包: build-essential(你想重新編譯什么的話,我現在很少用到)

          sudo apt-get install build-essential

          9, 安裝rar(這個太常用了)

          sudo apt-get install unrar

          10, 安裝Flash播放器及其Firefox插件

          sudo apt-get install flashplayer-mozilla
          Firefox常用用插件
          Super DragAndGo
          Adblock_plus
          Fasterfox
          MediaWrap
          DownThemAll

          為firefox增加baidu搜索
          打開http://mycroft.mozdev.org/download.html.然后搜索框中輸入baidu,然后在結果中點擊“Baidu (百度)”,彈出的對話框按“確定”即可。

          Ubuntu8.04中firefox3 beta5是默認是英文版本,所以都是英文的菜單。
          可以到下面地址下載中文語言包,之后重啟一下就可以了。
          http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0b5/linux-i686/xpi/
          下載 zh-CN.xpi安裝

          Ubuntu 8.04最近字體配置的變化造成的Flash中文亂碼的修復

          將/etc/fonts/conf.d/49-sansserif.conf刪除即可

          11.flashplayer獨立的播放器.象我看新概念英文之類,就推薦Adobe的standalone player (flashplayer)。很好用.

          這個可以到Adobe 的網站下載個flash 9 播放器

          http://www.adobe.com/support/flashplayer/downloads.html#fp9

          選擇

          Download the Linux debugger and standalone players (TAR.GZ, 8.41 MB)

          里面有個獨立版本(standalone)的 解出來之后, 直接輸入命令就可以用了

          SWF 播放器DIY的配置

          1. 解壓flashplayer.tar.gz 并拷貝到 /usr/bin

          2. 制作用來顯示的圖標, 拷貝到 /usr/share/pixmaps

          3. 新建一個falshplayer.desktop文件, 拷貝到/usr/share/applications

          -------------------falshplayer.desktop的內容------------------------------------

          [Desktop Entry]

          Name=FlashPlayer 9

          Name[zh_CN]=FlashPlayer 9

          GenericName=Media Player

          Exec=flashplayer

          Type=Application

          Encoding=UTF-8

          Icon=flash48.png

          Categories=GNOME;Application;AudioVideo;Audio;Video;Player

          MimeType=video/swf

          12.字體設置

          在新的8.04中這個就不用設置了.

          13.超級好用的ftp軟件,win下也有哦.Filezilla就是他,沒錯.你一定會喜歡的

          sudo apt-get install filezilla filezilla-locales

          14.SSH客戶端慢的解決方法

          把/etc/ssh/ssh_config里面的GSSAPIAuthentication修改成no就ok了。

          GSSAPIAuthentication no

          常用命令

          sudo hdparm -cdtT /dev/hda 測試IDE硬盤的讀寫速度

          以下僅適合IDE硬盤操作,sata硬盤勿試

          =====================================

          sudo hdparm -c 1 -d 1 /dev/hda 設置硬盤到 I/O 32位,開啟DMA。

          sudo hdparm -k 1 /dev/hda 保存更改

          =====================================

          sudo aptitude update && sudo aptitude safe-upgrade 一鍵升級系統

          sudo apt-get autoremove 自動卸載不需要的軟件包

          sudo apt-get autoclean 清理舊版本的軟件緩存

          sudo apt-get clean 清理所有apt下載的軟件緩存

          dpkg -l |grep ^rc|awk '{print $2}' |tr ["\n"] [" "]|sudo xargs dpkg -P -
          清除所有刪除包的殘余配置文件

          lspci 顯示系統PCI總線信息

          sudo lshw 顯示系統詳細硬件信息

          cat /proc/cpuinfo 顯示CPU信息

          uname -a 查看內核版本
          更改分區卷標,分別是ext和xfsd:

          sudo e2label /dev/hda5 E_Download
          sudo xfs_admin -L E_Backup /dev/hda12

          apt-cache search name 搜索包含“name”軟件包

          進程

          ps -A 查看當前有哪些進程

          kill 進程號(就是ps -A中的第一列的數字) 中止一個進程

          killall 進程名 中止一個進程(同上)

          kill -9 進程號 強制中止一個進程(在上面進程中止不成功的時候使用)

          killall -9 進程名 強制中止一個進程(同上)

          xkill 圖形方式中止一個程序(出現骷髏標志的鼠標,點擊需要中止的程序即可)

          top 查看當前進程的實時狀況

          lsof -p 查看進程打開的文件

          nautilus的地址欄里輸入 fonts:/// 可以查看本機所有的fonts

          fc-cache -f 安裝字體后刷新字體緩存(加上 -v 參數可以刷新所有字體緩存)

          在ubuntu右鍵創建“以管理員權限打開夾”

          sudo apt-get install nautilus-gksu

          ksnapshot不錯的圖型軟件

          sudo apt-get install ksnapshot



          轉自:http://blog.chinaitlab.com/html/10/56410-162298.html


          一個駐扎在天津的普通程序員,當個PM,TL,CODER 就是沒有當過CEO。
          My idiom:Where there is a will,there is a way!
          注:加班寫作,轉載請著名出處!!

          posted on 2008-05-12 23:04 EugeneCao 閱讀(832) 評論(1)  編輯  收藏 所屬分類: Operation System

          Feedback

          # re: Ubuntu8.04常用軟件,配置和命令[轉載][未登錄] 2008-05-22 15:37 david

          厲害~  回復  更多評論   



          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          My Links

          Blog Stats

          常用鏈接

          留言簿(4)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          新聞分類

          新聞檔案

          收藏夾

          Java Blogs

          WorkFlow

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          Get Free Shots from Snap.com
          主站蜘蛛池模板: 太仓市| 安泽县| 嘉禾县| 习水县| 景谷| 渭南市| 平乡县| 禹州市| 科技| 淄博市| 容城县| 虞城县| 光山县| 汤阴县| 甘泉县| 桑日县| 康马县| 镇坪县| 灵川县| 湘阴县| 乐陵市| 连城县| 滦平县| 渭南市| 江门市| 土默特右旗| 九江县| 曲沃县| 重庆市| 锦州市| 六盘水市| 峡江县| 镇沅| 巫溪县| 博客| 玉环县| 辉县市| 佛山市| 中江县| 门头沟区| 绍兴县|