[转]在Fedora上安装Oracle 11g XE
来源:互联网 发布:sigil mac 编辑:程序博客网 时间:2024/04/29 19:35
在某处看到一篇介绍关于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.
[plain] view plaincopy
- 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:
[plain] view plaincopy
- sudo sh
In this root
shell, you run the Oracle 11g XE configuration with this command:
[plain] view plaincopy
- /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.
[plain] view plaincopy
- # 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
- 在centos 5.5 i386 上安装 oracle 10g xe
- Oracle 10G在fedora core4上的安装Oracle 10G在fedora core4上的安装
- Ubuntu14.04 安装 Oracle 11g XE
- ubuntu 安装 oracle 11g xe
- 在Redhat Linux上安装Oracle XE
- 在Fedora 17 64位系统上安装Oracle 11g R2
- oracle 10g xe 在mandriva 2008.0 上安装时报告不能安装 libaio>=0.3.96
- ubuntu安装Oracle 11g XE在Configure时的罕见问题?
- 在Windows下安装Oracle 11g的XE(Express版)
- gentoo上安装oracle-xe
- 在CentOS上安装Oracle 11g
- 在RHEL5上安装oracle 11g
- Oracle 11G XE 安装笔记(新手向)
- oracle Database 11g fedora 安装
- oracle 11g 安装过程(fedora )
- 在Fedora 8上安装Oracle 10.2
- 在Fedora 8 上新装了Oracle 10g
- 在Ubuntu/mint里安装VMware tools(虚拟机增强工具)
- Fedora17 开启ssh服务
- (转)Fedora 17 安装完全指南
- [转] fedora linux下安装vmware tools的最好方法
- 【转】usermod 添加用户多个附属组
- [转]在Fedora上安装Oracle 11g XE
- 【转】 Ubuntu 11.04 下安装配置 JDK 7
- [转]linux系统增加swap大小方法(安装oracle可能需要)
- opensuse 升级内核
- windows 连接虚拟机的oracle 11g xe
- [转]sqlplus中不能上下键选择前一条命令解决方法
- [转]opensuse vim 的语法高亮
- 【转】各进制转换
- 【转】解决:ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode