CentOS下安装Oracle Express

    想写一篇文章记录一下本人在CentOS上安装Oracle Express的经历,也作为自己的一点小小积累吧。

    当然,首先需要从Oracle官网下载Oracle的express版本了,我下载的是oracle-xe-univ- 10.2.0.1-1.0.i386.rpm,下载是需要有Oracle的帐号,这个只要自己注册就可以了.安装过程如下

[Xredman@localhost ~]$ su//安装时需要root用户权限
口令:
[root@localhost Xredman]# 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@localhost Xredman]# /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]:9999//配置HTTP端口         

Specify a port that will be used for the database listener [1521]:1521//配置数据库端口,就用默认的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://输入密码
Password can't be null. Enter password:
Confirm the password://密码确认

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

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:9999/apex"

OK,安装完成,你可以输入http://127.0.0.1:9999/apex访问,不过偶习惯于用sqlplus.

你可能感兴趣的:(oracle,.net,centos,Access,Go)