Gentoo 升級系統的標準步驟
#emerge --sync //升級整個portage目錄
#emerge portage //如果不是最新的portage,需要按提示執行此操作
#emerge python //如果不是最新的python,需要按提示執行此操作
#/usr/sbin/update-python //執行完emerge python后執行此操作
#emerge -avuDN world //按照 /var/lib/portage/world 文件下的包,重新構建整個系統
參數說明: --ask (-a) 控制Portage顯示它要更新的軟件包列表,并讓您決定是否繼續更新
--verbose (-v) 在屏幕上輸出完整的文件列表
--update (-u) 更新包的最佳版本
--deep (-D) 更新系統中的每個軟件包
--newuse (-N) USE標記變更后,要使Portage檢查USE標記的變動是否導致
需要安裝新的軟件包或者將現有的包重新編譯
#emerge -av --depclean //清除不需要(孤立)的軟件包
#revdep-rebuild //gentoolkit包里面的一個軟件,用來檢查系統的依賴關系是否都滿足,
自動安裝沒有滿足關系的包
#dispatch-conf //更新系統的配置文件
#emerge -e world //本地重新編譯整個系統,USE標記變化不大時不需執行
參數說明: --emptytree (-e)
posted @
2009-01-07 15:09 狐貍貝貝 閱讀(5960) |
評論 (2) |
編輯 收藏
摘要: 摘要:vi 編輯器是最常用的文檔創建和編輯工具,初學者應該學會簡單應用vi ,學會在vi 中做簡單的修改、刪除、插入、搜索及替換作業;如果您是新手,不妨看看本文,或許這篇文檔能讓您在最短的時間內學會vi的簡單操作;
閱讀全文
posted @
2008-09-17 13:52 狐貍貝貝 閱讀(764) |
評論 (0) |
編輯 收藏
由于筆記本之前不能上網,故沒有采用YAST2等方式安裝,直接采用以下sources的方式
說明:筆記本無線網卡 AR242x,在WINDOWS下識別為AR5006EXS
Compiling it yourself using the sources
- Make sure you have installed the kernel-source and the C++ compiler. If not, please install them using YaST.
- Download the current drivers from this location [1]. (下載最后最新的就可以了)
- Unpack the archive in a temporary folder.
- Open up a terminal window.
- Switch to the temporary folder, and type in:
make
-
make install
- You can load the kernel modules using:
modprobe ath_pci
Note: in the openSUSE 11.0 may be a conflict with built in module ath5k, which seems is not functional yet, but prevents using madwifi's one. Resolution is to add this module to the blacklist. To do this add the line blacklist ath5k to the file /etc/modprobe.d/blacklist and reboot. |
Note: for the ath_pci and ath_hal to work for the AR242x, you have to reboot. |
參考:
http://en.opensuse.org/Atheros_madwifi
posted @
2008-09-17 13:20 狐貍貝貝 閱讀(1134) |
評論 (0) |
編輯 收藏
bin
啟動和關閉JBoss 的腳本(run.bat為windows系統下的啟動腳本,shutdown.bat為windows系統下的關閉腳本)。
client
客戶端與JBoss 通信所需的Java 庫(JARs)。
docs
配置的樣本文件(數據庫配置等)。
docs/dtd
在JBoss 中使用的各種XML 文件的DTD。
lib
一些JAR,JBoss 啟動時加載,且被所有JBoss 配置共享。(不要把你的庫放在這里)
server
各種JBoss 配置。每個配置必須放在不同的子目錄。子目錄的名字表示配置的名字。JBoss 包含3 個默認的配置:minimial,default 和all,在你安裝時可以進行選擇。
server/all
JBoss 的完全配置,啟動所有服務,包括集群和IIOP 。
server/default
JBoss 的默認配置。在沒有在JBoss 命令行中指定配置名稱時使用。(我們下載的4.2.1版本默認采用此配置) 。
server/default/conf
JBoss 的配置文件。
server/default/data
JBoss 的數據庫文件。比如,嵌入的數據庫,或者JBossMQ
server/default /deploy
JBoss 的熱部署目錄。放到這里的任何文件或目錄會被JBoss 自動部署。EJB、WAR 、EAR,甚至服務。
server/default /lib
一些JAR,JBoss 在啟動特定配置時加載他們。(default 和minimial 配置也包含這個和下面兩個目錄。)
server/default/log
JBoss 的日志文件。
server/default/tmp
JBoss 的臨時文件
posted @
2008-02-15 16:39 狐貍貝貝 閱讀(1408) |
評論 (0) |
編輯 收藏
http://sourceforge.net/project/showfiles.php?group_id=22866
posted @
2008-02-02 09:53 狐貍貝貝 閱讀(279) |
評論 (0) |
編輯 收藏