close

安裝版本

Linux SuSE 10.1

ORACLE10g R2 (filename:10201_database_linux32.zip)

安裝Linux時需裝

Graphical Base System

KDE Desktop Environment

Help and Support Documentation

C/C++ Compiler and Tools

Kernel Development (建議安裝)

確認你的C++編譯器版本

suse:~ # gcc -v

Using built-in specs.

Target: i586-suse-linux

Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-

prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/us

r/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --ena

ble-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp

--disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-mult

ilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexi

t --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic

       --host=i586-suse-linux

Thread model: posix

gcc version 4.1.0 (SUSE Linux)

安裝libaio-0.3.104-12.i586.rpm, libaio-devel-0.3.104-12.i586.rpm

安裝orarun-1.8-109.15.i586.rpm

        rpm –ivh –nodeps orarun-1.8-109.15.i586.rpm

該安裝會幫你建立設定

(也可手動建立user)

        User oracle  ç必需有dba,disk 的群組

        Group dba,oinstall

        建立環境變數

        /etc/passwd     (oralcesh改為bash)

        Passwd oracle   (設定oracle..的密碼)

編輯環境變數

/etc/profile.d/oracle.sh

ORACLE_HOME=$ORACLE_BASE/product/10gR2

ORACLE_SID=設定你喜愛的名字(要跟你要安裝的databasename一樣)

RUN /usr/sbin/rcoracle start 設定kernel 變數

 

oracle登入

Id ç用這指令確認 登入是oracleuser

解開10201_database_linux32.zip

        Unzip 10201_database_linux32.zip

database/install/oraparam.ini新增支援SuSE10

        [Certified Versions]

        Linux=redhat-3,SuSE-9,SuSE-10,……….

./runInstaller 安裝Oracle

你也可以用 ./runInstaller –ignoresysprereqs   就不會檢查linux版本

就可以去拼看看跑不跑的過
選進階安裝
Ora1.jpg Ora2.jpg Ora3.jpg Ora4.jpg
此處會檢查套件是否有安裝,如是手動設定的可能會有警告
不需理會

Ora5.jpg Ora6.jpg Ora7.jpg
字型請選UTF-8..或Big5
Application Server..在linux.上Big5會出現亂碼
記得點選 建立sample schemas

Ora8.jpg Ora9.jpg Ora10.jpg Ora11.jpg Ora12.jpg Ora13.jpg Ora14.jpg Ora15.jpg
如有需要用到scott需把他ENABLE並設定密碼
Ora16.jpg
使用root 進入terminal mode Run下面這兩支shell
Ora17.jpg Ora18.jpg
啟動ORACLE
   sqlplus /nolog
   SQL> connect /as sysdba
   SQL>startup
啟動listener
   lsnrctl start
安裝完成後如要開機就啟動ORACLE請設定
   /etc/sysconfig/oracle
   START_ORACLE_DB="yes"
   /etc/oratab
   db_namg:/opt/orade/product/10gR2:Y

如要連進去entarprise Manager
   http://localhost:1158/em



 

 

arrow
arrow
    全站熱搜

    horace1123 發表在 痞客邦 留言(0) 人氣()