在某处看到一篇介绍关于oracle- 11g xe在fedora上安装的文章,转载过来。

原文地址:http://blog.mclaughlinsoftware.com/2011/09/27/oracle-11g-xe-on-fedora/

前5步是解压,省略...

  1. You need to drop down into a Terminal session, which you can launch by clicking onApplications,System Tools, and Terminal in the menu.

[plain] view plaincopy

  1. 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.

  1. This step requires that you assume the role of the root user, which can be done with this syntax:

[plain] view plaincopy

  1. sudo sh

In this root shell, you run the Oracle 11g XE configuration with this command:


[plain] view plaincopy

  1. /etc/init.d/oracle-xe configure

The following are the text prompts that you accept to configure Oracle 11g XE:

[text] view plaincopy

  1. <textarea readonly="" name="code" class="plain">Oracle Database 11g Express Edition Configuration
  2. -------------------------------------------------
  3. This will configure on-boot properties of Oracle Database 11g Express
  4. Edition.  The following questions will determine whether the database should
  5. be starting upon system boot, the ports it will use, and the passwords that
  6. will be used for database accounts.  Press <Enter> to accept the defaults.
  7. Ctrl-C will abort.
  8. Specify the HTTP port that will be used for Oracle Application Express [8080]:
  9. Specify a port that will be used for the database listener [1521]:
  10. Specify a password to be used for database accounts.  Note that the same
  11. password will be used for SYS and SYSTEM.  Oracle recommends the use of
  12. different passwords for each database account.  This can be done after
  13. initial configuration:
  14. Confirm the password:
  15. Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
  16. Starting Oracle Net Listener...Done
  17. Configuring database...
  18. Starting Oracle Database 11g Express Edition instance...Done
  19. Installation completed successfully.</textarea><br><br>

After completing the configuration, you need to do two things. First, you need to modify the.bash_profilefile for your user (covered in the next step). Second, you need to reboot your system.

  1. This step requires that you exit the root shell by typing the exit command. This should put you back into your administration account withsudoer privileges. You use vi to edit and add the following to the.bash_profile file.

[plain] view plaincopy

  1. # Oracle Settings
  2. TMP=/tmp; export TMP
  3. TMPDIR=$TMP; export TMPDIR
  4. ORACLE_HOSTNAME=localhost.localdomain; export ORACLE_HOSTNAME
  5. ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
  6. ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
  7. ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xe; export ORACLE_HOME
  8. ORACLE_SID=XE; export ORACLE_SID
  9. NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`; export NLS_LANG
  10. ORACLE_TERM=xterm; export ORACLE_TERM
  11. PATH=/usr/sbin:$PATH; export PATH
  12. PATH=$ORACLE_HOME/bin:$PATH; export PATH
  13. LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
  14. CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
  15. if [ $USER = "oracle" ]; then
  16. if [ $SHELL = "/bin/ksh" ]; then
  17. ulimit -p 16384
  18. ulimit -n 65536
  19. else
  20. ulimit -u 16384 -n 65536
  21. fi
  22. 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.

[sql] view plaincopy

  1. <textarea readonly=""name="code"class="plain">sqlplus system</textarea><br><br>

[转]在Fedora上安装Oracle 11g XE相关推荐

  1. centos5.5上安装oracle 11g R2[转发-参考用]

    centos5.5上安装oracle 11g R2[转发-参考用] + ------------------ CentOS 5.5上安装配置oracle 11g R2  --------------- ...

  2. server2003进入oracle,[转载]在windows server 2003平台上安装Oracle 11G图解

    在windows server 2003平台上安装Oracle 11G图解步骤. 1. 双击安装图标,进入Oracle 11G的安装界面,选择"高级安装",点击"下一步& ...

  3. solaris oracle 移机,在 Solaris 11上安装Oracle 11g

    在 Solaris 11上安装Oracle 11g 系统环境: Solaris 11 Express x86 and SPARC oracle版本:Oracle 11g Release 2 安装过程分 ...

  4. 在 Windows 下安装 Oracle 11g XE (Express Edition)

    2019独角兽企业重金招聘Python工程师标准>>> Oracle 11g XE 是 Oracle 数据库的免费版本,支持标准版的大部分功能,11g XE 提供 Windows 和 ...

  5. rad linux下安装mysql_Rad Hat Enterprise Linux 5.5上安装Oracle 11g R2

    学习的进度有点慢,终于在虚拟机上Red Hat Enterprise Linux 5.5系统下安装Oracle 11g R2版本数据库成功了,在这里把安装的经验和大家分享一下!当然,水平有限,请各路大 ...

  6. cent os 7.x上安装oracle 11g

    具体的安装步骤网上有很多人说明在此我不在多说,只是把他们的方法拿过来,本文具体说一说我在安装oracle 遇到的问题.需要特别注意的地方,我会标红,字体放大. 系统版本 Cnet OS 64 位 Or ...

  7. 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 ...

  8. Windows 10上安装Oracle 11g报错: [INS-30131] 执行安装程序验证所需的初始设置失败。无法从节点 “zb-m2004-05243“ 检索 exectask 的版本

    1.报错信息: [INS-30131] 执行安装程序验证所需的初始设置失败.无法从节点 "zb-m2004-05243" 检索 exectask 的版本 本次就是用administ ...

  9. Linux下安装Oracle 11g详细过程

    需要安装Oracle DataGuard,所以先要安装单台Oracle11g,下面是Linux下单台Oracle11g的详细安装过程. 1,安装环境 硬件环境:2台linux虚拟机,CentOS6.4 ...

最新文章

  1. 计算机网络-TCP运输连接管理
  2. 单核工作法15:循序渐进
  3. 汇编语言LAHF和SAHF指令
  4. “MSDN 开发论坛”大煞风景
  5. mac能远程到wjn的linux,linux远程桌面vnc-server安装配置
  6. 转:字符编码笔记:ASCII,Unicode 和 UTF-8
  7. python中str是什么_Python中str字符串的功能介绍
  8. 异步方法的编写与使用
  9. Facebook 游戏开发更新文档 API 参考文档 v5.0
  10. [NOIP2015] 运输计划
  11. SpringBoot自动装配原理与自己写一个starter
  12. 惠普p1106打印机安装步骤_hp打印机P1106安装不了驱动,总是失败,如下图
  13. 【递归算法】递归算法的快速入门
  14. AutoRunner 功能自动化测试项目实训之认识自动化测试工具AutoRunner(二)
  15. 小米游戏本bios更新_小米游戏本 | 笔记本Air 13.3″ 四核 | 笔记本Air 12.5″ | 笔记本Pro 15.6″BIOS设置...
  16. 元宵节动画贺卡制作_2017鸡年元宵节flash电子贺卡模板下载-2017元宵节电子贺卡flash动画模板完整打包下载-东坡下载...
  17. 帝国栏目导航点击显示不同样式的实现
  18. 基于微信小程序的毕业设计题目(31)共享会议室预约小程序(含开题报告、任务书、中期报告、答辩PPT、论文模板)
  19. Redis的KEYS命令引起RDS数据库雪崩,RDS发生两次宕机,造成几百万的资金损失
  20. 使用WinRAR制作属于自己的单文件版软件

热门文章

  1. 【django】自定义中间件
  2. linux kernel中的wait_for_completion和complete总结
  3. System.img是如何打包的
  4. 2021-06-05
  5. 虚拟键码 键盘消息(初稿)
  6. CMap在用CString做key类型时,ARG_KEY要选LPCTSTR
  7. 软件调试学习笔记(三)—— 调试事件的处理
  8. 【NGINX+PHP7.3+MYSQL】安装指南
  9. 【Echarts 3.x】填坑记
  10. deepin 安装 kvm-manager