安裝需求:
1.Oracle HTML DB version 2.0 需要 資料庫9.2.0.3 +。
2.需要目標資料庫的shared_pool_size至少設定為100M。
3.如果使用的是資料庫參數檔案, 執行
SQL> alter system set shared_pool_size>100M
如使用的是參數檔案, 修改參數檔案中的shared_pool_size
4. HTTP Server要求: Oracle 9.2 或以上, Oracle 9i APP Server R1 (1.0.2.2)+。
5.磁碟需求: Oracle Home 磁碟至少包含460M以上的空間, 系統硬碟上包含至少100M
臨時檔案夾會用:110MB。
6.Oracle XML DB必須在使用的資料庫中安裝(配置了的資料庫一般都已經含了)。
7.Oracle Text 需要安裝,以便可以在Oracle HTML DB中使用可搜尋的線上協助。
此外,確定Oracle Text需要使用的語言已經安裝, 定位: Oracle_Home/ctx/admin/defaults/dredf語言.sql , 使用有DBA許可權的使用者安
裝語言。
8.IE要求: 支援Java指令碼、HTML 4.0和CSS1.0。
(Microsoft IE 6.0+,Netscape Communicator 7.0+,Mozilla 1.2+,Firefox 1.0+)
安裝軟體:
建議:停掉執行個體。停止所有的Oracle服務。 備份安裝。重起資料庫,但是不需要起資料庫相關的服務。 如果執行遠程安裝,需要啟動監
聽。
1.下載檔案:htmldb_2.0.zip
2.解壓縮到相關目錄。
3.改變工作目錄到htmldb.
4.啟動SQL*Plus,使用sys或system使用者登陸到資料庫.
5.運行htmldbins.sql 並按順序給出六個參數.
SQL> @htmldbins password tablespace_htmldb tablespace_files tablespace_temp images connect
password:Oracle HTML DB Adminstrator帳戶、Oracle HTML DB schema、Oracle HTML DB file scheme的密碼。
tablespace_html:Oracle HTML DB應用使用者的資料表空間的名稱。
tablespace_files:Oracle HTML DB檔案使用者的資料表空間。
tablespace_temp:暫存資料表空間的名稱。
images: Oracle HTML DB圖片儲存的虛擬目錄。 為支援未來的升級,將目錄定義為: /i/.
connect:Oracle資料庫的網路連接字串,如實是本地安裝, 使用空,或NONE.
例:sqlplus "sys/syspass as sysdba" @htmldbins password SYSAUX SYSAUX TEMP /i/ none
例:sqlplus "sys/syspass@10g as sysdba" @htmldbins password SYSAUX SYSAUX TEMP /i/ 10g
如果是10g.安裝完資料庫後, 下載10g_win32_companion.zip,其中包含http server和htmldb.
安裝過程中,安裝程式將提示輸入目標資料庫的主機名稱,連接埠,服務名及DBA使用者的密碼等資訊.
要求將http server安裝在一個獨立的Oracle home中, htmldb安裝在http server目錄中.
如果是9i資料庫或已經安裝了http server,則需要將htmldb安裝到已經存在的http server目錄中.
安裝完成後,通過:http://主機名稱:連接埠/pls/htmldb/htmldb_admin進入管理介面, 系統管理使用者admin,密碼為在安裝過程中設定的密碼.
通過:http://主機名稱:連接埠/pls/htmldb登陸建立應用.