Install oracle xe on opensuse 11.4
Hem akhirnya sempet juga bikin catatan..dan biar ga lupa......
Thank a lot for suse komuniti yg telah banyak membantu mulai dari bikin tutorial dan supportnya....
1. install oracle-xe-10.2.0.1-1.0.i386.rpm
#rpm -ivh install oracle-xe-10.2.0.1-1.0.i386.rpm
bisa dunlut dari http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
hanya butuh registasi
2. install orarun.rpm
#rpm orarun.rpm
bisa dunlut dari http://ftp.novell.com/partners/oracle/sles-10/orarun.rpm
3. copy OraRun profile script "oracle.sh
#cp /etc/profile.d/oracle.sh /etc/profile.d/oracle-xe.sh
4 bikin buckup sebelum di edit
#mkdir /tmp/oracle-backup
mv /etc/init.d/oracle /tmp/oracle-backup/etc-init.d-oracle
mv /etc/profile.d/oracle.sh /tmp/oracle-backup/etc-profile.d-oracle.sh
mv /etc/profile.d/oracle.csh /tmp/oracle-backup/etc-profile.d-oracle.csh
mv etc/sysconfig/oracle /tmp/oracle-backup/etc-sysconfig-oracle
5. Edit Profile file (/etc/profile.d/oracle-xe.sh)
Ganti ORACLE_BASE from /opt/oracle ke /usr/lib/oracle/xe/app/oracle
Ganti ORACLE_HOME from $ORACLE_BASE/product/10.2/db_1 ke $ORACLE_BASE/product/10.2.0/server
Ganti ORACLE_SID from orcl ke XE
###Comment out For RAC exports
# For RAC
#export ORA_CRS_HOME=$ORACLE_BASE/product/10gR2/crs
#export ORA_ASM_HOME=$ORACLE_BASE/product/10gR2/asm
####Comment out AGENT_HOME
# Grid Control Agent Home
#AGENT_HOME=$ORACLE_BASE/product/10.2/agent
6. Configure Oracle
login root,
#/etc/init.d/oracle-xe configure
HTTP port --> 8080 >>>bisa di rubah sesuai kebutuhan
database listener --> 1521 >>>bisa di rubah sesuai kebutuhan
password for database accounts --> "masukkan passwd"
start on boot --> y
7. Open Firewall untuk Oracle (jika dibuthkan)
Yast Control Center > Security & Users > Firewall > Allowed Services
Pilih "External Zone" 'Allowed Services Selected Zone' dropdown
Klik Advanced button
Add 1521 and 8080 to both TCP & UDP Ports
Navigate to Start-Up
Klik "Save Settings & Restart Firewall Now" button
Klik "Next" button
Klik "Finish" button
8. Seting Users/Groups via yast
(a) Add/change group dba
(b) Add group dba
(c) Add/change user oracle
Ganti passwd jika dibutuhkan
jika DisableUserLogin = <blank>, rubah LoginShell ke /bin/bash
9. rubah permission
chown -R oracle:dba /usr/lib/oracle
chmod -R 755 /usr/lib/oracle
--
chown -R oracle:dba /var/tmp/.oracle
chmod -R 755 /var/tmp/.oracle
--
chown -R oracle:dba /tmp/.oracle
chmod -R 755 /tmp/.oracle
--
chown oracle:dba /var/opt/oracle
chmod 755 /var/opt/oracle
10. cek oracle dah running
$> ps -ef | grep pmon
11. cek runlevel untuk oracle service sudah berjalan ketika start-up jika di buthkan
12. testing bisa via SQLPLUS terminal ato buka browser http://127.0.0.1:8080/apex
default user sys dan passwd ketika configure
Thank a lot for suse komuniti yg telah banyak membantu mulai dari bikin tutorial dan supportnya....
1. install oracle-xe-10.2.0.1-1.0.i386.rpm
#rpm -ivh install oracle-xe-10.2.0.1-1.0.i386.rpm
bisa dunlut dari http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
hanya butuh registasi
2. install orarun.rpm
#rpm orarun.rpm
bisa dunlut dari http://ftp.novell.com/partners/oracle/sles-10/orarun.rpm
3. copy OraRun profile script "oracle.sh
#cp /etc/profile.d/oracle.sh /etc/profile.d/oracle-xe.sh
4 bikin buckup sebelum di edit
#mkdir /tmp/oracle-backup
mv /etc/init.d/oracle /tmp/oracle-backup/etc-init.d-oracle
mv /etc/profile.d/oracle.sh /tmp/oracle-backup/etc-profile.d-oracle.sh
mv /etc/profile.d/oracle.csh /tmp/oracle-backup/etc-profile.d-oracle.csh
mv etc/sysconfig/oracle /tmp/oracle-backup/etc-sysconfig-oracle
5. Edit Profile file (/etc/profile.d/oracle-xe.sh)
Ganti ORACLE_BASE from /opt/oracle ke /usr/lib/oracle/xe/app/oracle
Ganti ORACLE_HOME from $ORACLE_BASE/product/10.2/db_1 ke $ORACLE_BASE/product/10.2.0/server
Ganti ORACLE_SID from orcl ke XE
###Comment out For RAC exports
# For RAC
#export ORA_CRS_HOME=$ORACLE_BASE/product/10gR2/crs
#export ORA_ASM_HOME=$ORACLE_BASE/product/10gR2/asm
####Comment out AGENT_HOME
# Grid Control Agent Home
#AGENT_HOME=$ORACLE_BASE/product/10.2/agent
6. Configure Oracle
login root,
#/etc/init.d/oracle-xe configure
HTTP port --> 8080 >>>bisa di rubah sesuai kebutuhan
database listener --> 1521 >>>bisa di rubah sesuai kebutuhan
password for database accounts --> "masukkan passwd"
start on boot --> y
7. Open Firewall untuk Oracle (jika dibuthkan)
Yast Control Center > Security & Users > Firewall > Allowed Services
Pilih "External Zone" 'Allowed Services Selected Zone' dropdown
Klik Advanced button
Add 1521 and 8080 to both TCP & UDP Ports
Navigate to Start-Up
Klik "Save Settings & Restart Firewall Now" button
Klik "Next" button
Klik "Finish" button
8. Seting Users/Groups via yast
(a) Add/change group dba
(b) Add group dba
(c) Add/change user oracle
Ganti passwd jika dibutuhkan
jika DisableUserLogin = <blank>, rubah LoginShell ke /bin/bash
9. rubah permission
chown -R oracle:dba /usr/lib/oracle
chmod -R 755 /usr/lib/oracle
--
chown -R oracle:dba /var/tmp/.oracle
chmod -R 755 /var/tmp/.oracle
--
chown -R oracle:dba /tmp/.oracle
chmod -R 755 /tmp/.oracle
--
chown oracle:dba /var/opt/oracle
chmod 755 /var/opt/oracle
10. cek oracle dah running
$> ps -ef | grep pmon
11. cek runlevel untuk oracle service sudah berjalan ketika start-up jika di buthkan
12. testing bisa via SQLPLUS terminal ato buka browser http://127.0.0.1:8080/apex
default user sys dan passwd ketika configure
Komentar
Posting Komentar