[转]在Fedora上安装Oracle 11g XE
在某处看到一篇介绍关于oracle- 11g xe在fedora上安装的文章,转载过来。
原文地址:http://blog.mclaughlinsoftware.com/2011/09/27/oracle-11g-xe-on-fedora/
前5步是解压,省略...
- You need to drop down into a Terminal session, which you can launch by clicking onApplications,System Tools, and Terminal in the menu.
- sudo rpm -iv oracle-xe-11.2.0-1.0.x86_64.rpm
This command will install the packages in verbose syntax and display the following messages:
[sudo] password for mclaughlinm: Preparing packages for installation... oracle-xe-11.2.0-1.0 Executing post-install steps... You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
- This step requires that you assume the role of the
root
user, which can be done with this syntax:
- sudo sh
In this root
shell, you run the Oracle 11g XE configuration with this command:
- /etc/init.d/oracle-xe configure
The following are the text prompts that you accept to configure Oracle 11g XE:
- <textarea readonly="" name="code" class="plain">Oracle Database 11g Express Edition Configuration
- -------------------------------------------------
- This will configure on-boot properties of Oracle Database 11g Express
- Edition. The following questions will determine whether the database should
- be starting upon system boot, the ports it will use, and the passwords that
- will be used for database accounts. Press <Enter> to accept the defaults.
- Ctrl-C will abort.
- 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. Oracle recommends the use of
- different passwords for each database account. This can be done after
- initial configuration:
- Confirm the password:
- Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
- Starting Oracle Net Listener...Done
- Configuring database...
- Starting Oracle Database 11g Express Edition instance...Done
- Installation completed successfully.</textarea><br><br>
After completing the configuration, you need to do two things. First, you need to modify the.bash_profile
file for your user (covered in the next step). Second, you need to reboot your system.
- This step requires that you exit the
root
shell by typing theexit
command. This should put you back into your administration account withsudoer privileges. You usevi
to edit and add the following to the.bash_profile
file.
- # Oracle Settings
- TMP=/tmp; export TMP
- TMPDIR=$TMP; export TMPDIR
- ORACLE_HOSTNAME=localhost.localdomain; export ORACLE_HOSTNAME
- ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
- ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
- ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xe; export ORACLE_HOME
- ORACLE_SID=XE; export ORACLE_SID
- NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`; export NLS_LANG
- ORACLE_TERM=xterm; export ORACLE_TERM
- PATH=/usr/sbin:$PATH; export PATH
- PATH=$ORACLE_HOME/bin:$PATH; export PATH
- LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
- CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
- if [ $USER = "oracle" ]; then
- if [ $SHELL = "/bin/ksh" ]; then
- ulimit -p 16384
- ulimit -n 65536
- else
- ulimit -u 16384 -n 65536
- fi
- fi
You can now log in to the Oracle database with the following syntax from the command line. You’ll be prompted for thesystem
password that you entered during the configuration steps. I’ll add another post on SQL Developer later this week.
- <textarea readonly=""name="code"class="plain">sqlplus system</textarea><br><br>
[转]在Fedora上安装Oracle 11g XE相关推荐
- centos5.5上安装oracle 11g R2[转发-参考用]
centos5.5上安装oracle 11g R2[转发-参考用] + ------------------ CentOS 5.5上安装配置oracle 11g R2 --------------- ...
- server2003进入oracle,[转载]在windows server 2003平台上安装Oracle 11G图解
在windows server 2003平台上安装Oracle 11G图解步骤. 1. 双击安装图标,进入Oracle 11G的安装界面,选择"高级安装",点击"下一步& ...
- solaris oracle 移机,在 Solaris 11上安装Oracle 11g
在 Solaris 11上安装Oracle 11g 系统环境: Solaris 11 Express x86 and SPARC oracle版本:Oracle 11g Release 2 安装过程分 ...
- 在 Windows 下安装 Oracle 11g XE (Express Edition)
2019独角兽企业重金招聘Python工程师标准>>> Oracle 11g XE 是 Oracle 数据库的免费版本,支持标准版的大部分功能,11g XE 提供 Windows 和 ...
- rad linux下安装mysql_Rad Hat Enterprise Linux 5.5上安装Oracle 11g R2
学习的进度有点慢,终于在虚拟机上Red Hat Enterprise Linux 5.5系统下安装Oracle 11g R2版本数据库成功了,在这里把安装的经验和大家分享一下!当然,水平有限,请各路大 ...
- cent os 7.x上安装oracle 11g
具体的安装步骤网上有很多人说明在此我不在多说,只是把他们的方法拿过来,本文具体说一说我在安装oracle 遇到的问题.需要特别注意的地方,我会标红,字体放大. 系统版本 Cnet OS 64 位 Or ...
- oracle linux i386,在CentOS 5.5 i386 上安装 Oracle 10G XE
1.安装rpm包 nano /v.sh 将下面内容复制进去 #!/bin/bash rpm -Uvh compat-db-4.2.52-5.1.i386.rpm rpm -Uvh compat-lib ...
- Windows 10上安装Oracle 11g报错: [INS-30131] 执行安装程序验证所需的初始设置失败。无法从节点 “zb-m2004-05243“ 检索 exectask 的版本
1.报错信息: [INS-30131] 执行安装程序验证所需的初始设置失败.无法从节点 "zb-m2004-05243" 检索 exectask 的版本 本次就是用administ ...
- Linux下安装Oracle 11g详细过程
需要安装Oracle DataGuard,所以先要安装单台Oracle11g,下面是Linux下单台Oracle11g的详细安装过程. 1,安装环境 硬件环境:2台linux虚拟机,CentOS6.4 ...
最新文章
- 计算机网络-TCP运输连接管理
- 单核工作法15:循序渐进
- 汇编语言LAHF和SAHF指令
- “MSDN 开发论坛”大煞风景
- mac能远程到wjn的linux,linux远程桌面vnc-server安装配置
- 转:字符编码笔记:ASCII,Unicode 和 UTF-8
- python中str是什么_Python中str字符串的功能介绍
- 异步方法的编写与使用
- Facebook 游戏开发更新文档 API 参考文档 v5.0
- [NOIP2015] 运输计划
- SpringBoot自动装配原理与自己写一个starter
- 惠普p1106打印机安装步骤_hp打印机P1106安装不了驱动,总是失败,如下图
- 【递归算法】递归算法的快速入门
- AutoRunner 功能自动化测试项目实训之认识自动化测试工具AutoRunner(二)
- 小米游戏本bios更新_小米游戏本 | 笔记本Air 13.3″ 四核 | 笔记本Air 12.5″ | 笔记本Pro 15.6″BIOS设置...
- 元宵节动画贺卡制作_2017鸡年元宵节flash电子贺卡模板下载-2017元宵节电子贺卡flash动画模板完整打包下载-东坡下载...
- 帝国栏目导航点击显示不同样式的实现
- 基于微信小程序的毕业设计题目(31)共享会议室预约小程序(含开题报告、任务书、中期报告、答辩PPT、论文模板)
- Redis的KEYS命令引起RDS数据库雪崩,RDS发生两次宕机,造成几百万的资金损失
- 使用WinRAR制作属于自己的单文件版软件