sudo apt-get update
sudo apt-get install build-essential
sudo apt-get clean
sudo ln -sf /bin/bash /bin/sh
2007年12月29日 星期六
2007年12月19日 星期三
ubuntu 瘦身計劃
1.清除暫存檔案
預設apt-get 下載的檔案都是暫存,存放在 /var/cache/apt/archives 以及 /var/cache/apt/archives/partial/
若要清除這些檔案,可以用
sudo apt-get clean
若要每次清除,改用
sudo apt-get autoclean
2.移除不要的語系
sudo apt-get install localepurge
sudo localepurge
設定保留的語系
/etc/locale.nopurge
3.移除未使用的套件
安裝某些套件,未來之後要移除,會遺留某些套件,但未移除其他套件。
需要此指令找出未用到套件。
sudo apt-get install deborphan
sudo deborphan ¦ xargs sudo apt-get -y remove –purge
http://ubuntu-tutorials.blogspot.com/2007/01/cleaning-up-ubuntu-gnulinux-system.html
預設apt-get 下載的檔案都是暫存,存放在 /var/cache/apt/archives 以及 /var/cache/apt/archives/partial/
若要清除這些檔案,可以用
sudo apt-get clean
若要每次清除,改用
sudo apt-get autoclean
2.移除不要的語系
sudo apt-get install localepurge
sudo localepurge
設定保留的語系
/etc/locale.nopurge
3.移除未使用的套件
安裝某些套件,未來之後要移除,會遺留某些套件,但未移除其他套件。
需要此指令找出未用到套件。
sudo apt-get install deborphan
sudo deborphan ¦ xargs sudo apt-get -y remove –purge
http://ubuntu-tutorials.blogspot.com/2007/01/cleaning-up-ubuntu-gnulinux-system.html
ubuntu 7.10 安裝流程
1、光碟放進去安裝灌完
2、更新sources.list
cd /etc
sudo wget http://school.hsian.org/~clockwork/sources.list.ntu.back
sudo mv sources.list sources.list.old
sudo mv sources.list.ntu.back sources.list
2、更新系統
sudo apt-get update
sudo apt-get upgrade
3、安裝中文字型
系統->語言支援->chinese 選取安裝
4、安裝懶人包
http://rt.openfoundry.org/Foundry/Project/Download/?Queue=852
5、安裝無用lib移除器
sudo apt-get install gtkorphan
6、安裝vim, firefox的flash
sudo apt-get remove --purge vim-tiny
sudo apt-get install vim
7、安裝顯示字型
先下載
sudo cp LiHei* /usr/share/fonts/truetype/
sudo fc-cache -f -v
編輯->偏好設定->內容->字型與色彩->LiHei Pro
8、安裝CCSM
sudo apt-get install ccsm
http://www.mobile01.com/newsdetail.php?id=4006
9、減肥
以上系統都裝的差不多了,開始減肥
sudo apt-get remove --purge scim 移除內件的輸入法
等等新增移除程式
10、設定
vim設定,輸入法設定,等等
相關資料
http://b2d.phc.edu.tw/modules/tadbook2/index.php
http://163.19.215.180/wiki/index.php/%E9%A6%96%E9%A0%81
http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=6850&forum=22
2、更新sources.list
cd /etc
sudo wget http://school.hsian.org/~clockwork/sources.list.ntu.back
sudo mv sources.list sources.list.old
sudo mv sources.list.ntu.back sources.list
2、更新系統
sudo apt-get update
sudo apt-get upgrade
3、安裝中文字型
系統->語言支援->chinese 選取安裝
4、安裝懶人包
http://rt.openfoundry.org/Foundry/Project/Download/?Queue=852
5、安裝無用lib移除器
sudo apt-get install gtkorphan
6、安裝vim, firefox的flash
sudo apt-get remove --purge vim-tiny
sudo apt-get install vim
7、安裝顯示字型
先下載
sudo cp LiHei* /usr/share/fonts/truetype/
sudo fc-cache -f -v
編輯->偏好設定->內容->字型與色彩->LiHei Pro
8、安裝CCSM
sudo apt-get install ccsm
http://www.mobile01.com/newsdetail.php?id=4006
9、減肥
以上系統都裝的差不多了,開始減肥
sudo apt-get remove --purge scim 移除內件的輸入法
等等新增移除程式
10、設定
vim設定,輸入法設定,等等
相關資料
http://b2d.phc.edu.tw/modules/tadbook2/index.php
http://163.19.215.180/wiki/index.php/%E9%A6%96%E9%A0%81
http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=6850&forum=22
2007年11月11日 星期日
man hier
/usr/bin common utilities, programming tools, and applications
/usr/sbin system daemons & system utilities (executed by users)
/usr/include standard C include files
/usr/lib shared and archive ar(1)-type libraries
/usr/libdata miscellaneous utility data files
/usr/libexec system daemons & system utilities (executed by other programs)
/usr/share architecture-independent files
/usr/sbin system daemons & system utilities (executed by users)
/usr/include standard C include files
/usr/lib shared and archive ar(1)-type libraries
/usr/libdata miscellaneous utility data files
/usr/libexec system daemons & system utilities (executed by other programs)
/usr/share architecture-independent files
2007年11月10日 星期六
使用ppp無法開機啟動named
因為執行先後順序的關系,使得named在啟動的時候ppp還沒有運做,因此使用另一種方式在,在/etc/rc.d/ppp裡面加入
start() {
......
/bin/sleep 10
/etc/rc.d/named forcestart
}
而不在rc.conf裡面使用named_enable="YES"來啟動,讓ppp一直行完自動啟動named
start() {
......
/bin/sleep 10
/etc/rc.d/named forcestart
}
而不在rc.conf裡面使用named_enable="YES"來啟動,讓ppp一直行完自動啟動named
訂閱:
文章 (Atom)