Installing Oracle XE 11g On Redhat Enterpise Linux

本文详细介绍了从下载Oracle官方提供的rpm或zip文件开始,到完成Oracle XE数据库安装的整个流程。包括检查并配置系统满足安装需求、安装rpm包、配置Oracle XE、设置启动选项、配置环境变量等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值