`
zealotds
  • 浏览: 119561 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

Installing Oracle XE 11g On Redhat Enterpise Linux

阅读更多
1. download rpm zip from Oracle official site..

2. check and configure your system for the installation requirements, like SWAP size, memory...

3. the installation:
# a. install rpm, if you met error here, check step 2.
rpm -ivh xxxxxx.rpm

# b. configure the Oracle XE:
sudo /etc/init.d/oracle-xe configure
# press enter if you want to use [default] value
#Specify the HTTP port that will be used for Oracle Application Express [8080]:
#Specify a port that will be used for the database listener [1521]:
#Specify a password to be used for database accounts.  Note that the same password will be used for SYS and SYSTEM:
#Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:

# c. change user 'oracle' 's password:
sudo passwd oracle

# d. configure Oracle variables:
sudo vim /etc/environment
# add the following lines (without '#' at the beginning):
#ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
#TNS_ADMIN=$ORACLE_HOME/network/admin
#ORACLE_SID=XE
source /etc/environment
# add variables to your profile like .profile or .bashrc (without '#')
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
#export PATH=$PATH:$ORACLE_HOME/bin

# e. test sqlplus, the <password> is set in step 4
sqlplus sys@XE as sysdba

# f. change user 'system's password
alter user system identified by <password>;

# g. simple use 'system' to login
sqlplus system/<password>@XE


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics