第一次在linux下装oracle,还真是不容易。
先是从网上用电驴下载回oracle10g(x86-10_1_0_3),那个慢呀。。。用了几天,不过也算是下完了,共刻成四张盘,根据网上搜索到的安 装经验装了半天未果,于是又登录到oracle的官方站点,直接下载oracle 10g(版本10.2.0)的.deb文件,安装,正高兴着呢,却又看到系统提示swap空间至少要1004M以上:(。
再来,不能放弃:)
将swap变为1400M以后,直接从文件浏览器中点击otnLogin.jsp进行安装,中途发现窗口不动,点开细节查看,原来是要求配置数据库。
于是按要求在终端下运行:
sudo /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]:
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:
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:8080/apex"
默认让其使用8080及1521端口,按要求输入system和sys的口令。
打开firefox输入:http://127.0.0.1:8080/apex,看到了:
用sys或system用户登录。
ok,终于看到oracle运行在我的笔记本上了:)
先是从网上用电驴下载回oracle10g(x86-10_1_0_3),那个慢呀。。。用了几天,不过也算是下完了,共刻成四张盘,根据网上搜索到的安 装经验装了半天未果,于是又登录到oracle的官方站点,直接下载oracle 10g(版本10.2.0)的.deb文件,安装,正高兴着呢,却又看到系统提示swap空间至少要1004M以上:(。
再来,不能放弃:)
将swap变为1400M以后,直接从文件浏览器中点击otnLogin.jsp进行安装,中途发现窗口不动,点开细节查看,原来是要求配置数据库。
![](https://p-blog.csdn.net/images/p_blog_csdn_net/zhrmghl/250148/o_oraclesetup.jpg)
于是按要求在终端下运行:
sudo /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]:
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:
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:8080/apex"
默认让其使用8080及1521端口,按要求输入system和sys的口令。
打开firefox输入:http://127.0.0.1:8080/apex,看到了:
![](https://p-blog.csdn.net/images/p_blog_csdn_net/zhrmghl/250148/o_oraclelogin2.jpg)
用sys或system用户登录。
![](https://p-blog.csdn.net/images/p_blog_csdn_net/zhrmghl/250148/o_oraclesetup22.jpg)
ok,终于看到oracle运行在我的笔记本上了:)