scientific linux 中 Database 10 g Express Edition 安装与基本配置
在oracle官网: http://www.oracle.com/technetwork/database/express-edition/downloads/102xelinsoft-102048.html 下载 Database 10 g Express Edition(oralce数据库10G 快捷版) 放在用户家目录: su先
[root@bogon sign]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm Preparing... ########################################### [100%] 1:oracle-xe-univ ########################################### [100%] Executing Post-install steps...
You must run ''/etc/init.d/oracle-xe configure'' as the root user to configure the database.
[root@bogon sign]# /etc/init.d/oracle-xe configure # 配置基本的设置
Oracle Database 10g Express Edition Configuration ------------------------------------------------- This will configure on-boot properties of Oracle Database 10g 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]:8080 # 设置HTTP端口:8080
Specify a port that will be used for the database listener [1521]:1521
# 设置数据库JianTingQi端口
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 10g Express Edition to be started on boot (y/n) [y]:n # 是否开机启动oracle数据库服务
Starting Oracle Net Listener...Done Configuring Database...Done Starting Oracle Database 10g Express Edition Instance...Done Installation Completed Successfully. To access the Database Home Page go to "http://127.0.0.1:8080/apex"
打开浏览器: URL: http://127.0.0.1:8080/apex 就可以进入数据库首页进行操作了,到此oracle10G 基本配置结束,可以使用. 安装oracle的时候,会自动创建oracle 这个用户,属于DBA群组; oracle官网有一个软件类似PL.SQL.Developer的数据库管理软件:sqldeveloper,windows与linux版本都有,功能很强大界面友好; 下载链接:http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html 需要预先安装JDK ,也有自带的JDK 版本可选择. ===========================================
配置oracle sqldeveloper(数据库管理工具) 安装: rpm -ivh 软件名
sqldeveloper运行需要JDK的支持,要配置JDK: 1)whereis 查出JDK 与sqldeveloper位置; jdk1.6: /usr/local/jdk1.6.0_24 sqldeveloper: /usr/local/bin/sqldeveloper
1)运行:sqldeveloper: /usr/local/bin/sqldeveloper; 2)输入JDK位置;
oracleJianTingQi无法打开解决办法:
更改hosts文件: /etc/hosts (更改前备份) 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
本文出自 “sign 的空间” 博客,请务必保留此出处 |
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |