為節省篇幅,只對安裝過程做一個梳理,具體安裝的圖形化界面同LINUX系統下一樣,可以參看相關文章,此處不一一貼圖了。
[root@hp171log]#swapinfo -a --檢查swap空間
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2097152 0 2097152 0% 0 - 1 /dev/vg00/lvol2
reserve - 160492 -160492
memory 581384 106360 475024 18%
[root@hp175:/dev]#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2097152 96560 2000592 5% 0 - 1 /dev/vg00/lvol2
reserve - 602972 -602972
memory 593576 107636 485940 18%
[root@hp171log]#date 0625141614 --同步系統時間
WedJun 25 14:16:00 MDT 2014
# sam
此例,選擇可配置的參數:
--shmmax參數:定義內存塊中最大可以分配多少個內存
調整shmmax參數,按空格選中,按Tab轉換選擇
觀察shmmax狀態,變成了Dynamic
--PendingValue 未決的值,如果和Current Value值相同代表修改已經生效
--通過以上方式,便可以完成在安裝如oracle相關軟件時,根據文檔去改變相關內核參數了
查看到已安裝的軟件,如下:
1、網站下載補丁包(GOLDQPK11i_B.11.11.0812.479.depot),將補丁包上傳至服務器
2、安裝補丁包
[root@hp171/db]#swinstall -s /db/GOLDQPK11i_B.11.11.0812.479.depot
--s是source的意思,之後指明安裝包的絕對路徑
NOTE: The interactive UI was invoked, since nosoftware was
specified.
Startingthe terminal version of swinstall...
Tomove around in swinstall:
-use the "Tab" key to move between screen elements
-use the arrow keys to move within screen elements
-use "Ctrl-F" for context-sensitive help anywhere in swinstall
Onscreens with a menubar at the top like this:
------------------------------------------------------
|File View Options Actions Help|
| ---- ---- ------- ----------------------------------|
-use "Tab" to move from the list to the menubar
-use the arrow keys to move around
-use "Return" to pull down a menu or select a menu item
-use "Tab" to move from the menubar to the list without selecting amenu item
-use the spacebar to select an item in the list
Onany screen, press "CTRL-K" for more information on how to use thekeyboard.
Press"Return" to continue...
--按空格選中兩個補丁包
# xhost + --配置後可通過xclock驗證,如下圖
$ exportDISPLAY=192.168.8.145:0.0
--$source .profile
$./runInstaller --運行安裝程序,此處彈出錯誤如下