Installing Oracle XE 11g On Redhat Enterpise Linux

[b]1. download rpm zip from Oracle official site..[/b]

[b]2. [url=https://forums.oracle.com/forums/thread.jspa?threadID=2301639]check and configure your system for the installation requirements[/url], like SWAP size, memory...[/b]

[b]3. the installation:[/b]

# 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值