ubuntu 安装oracle-xe


从oracle中国下载 oracle-xe-universal_10.2.0.1-1.0_i386.deb 安装包;
安装前提:
1.swap分区>1024M,不够的自己补;
2.安装时可以获取管理员权限;

双击deb包自动安装完毕,配置账户:
1.将当前用户(使用oracle的)加入dba组(系统–用户和组);
2.激活oracle账户(启用,设置密码);
重启系统;

ubuntu@ubuntu:~$ free -m
total used free shared buffers cached
Mem: 497 490 6 0 85 145
-/+ buffers/cache: 260 237
Swap: 1085 0 1085
ubuntu@ubuntu:~$ sudo service oracle-xe start
[sudo] password for ubuntu:
查询oracle-xe服务状态:
ubuntu@ubuntu:~$ sudo service oracle-xe status
Oracle Database 10g Express Edition is not configured. You must run
‘/etc/init.d/oracle-xe configure' as the root user to configure the database.
需要配置,执行配置命令:
ubuntu@ubuntu:~$ 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 to accept the defaults.
Ctrl-C will abort.
默认的http端口是8080:
Specify the HTTP port that will be used for Oracle Application Express [8080]:
默认的监听器端口1521:
Specify a port that will be used for the database listener [1521]:
设置sys,system账户密码:(默认:manager)
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:

Passwords do not match. Enter the password:
Confirm the password:
设置是否开机启动,内存小的就不要启动了,
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:n

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 “https://127.0.0.1:8080/apex”
安装完毕;

从菜单或者浏览器输入:https://127.0.0.1:8080/apex,登录http管理控制台:
输入:system,manager(密码):

声明: 除非转自他站(如有侵权,请联系处理)外,本文采用 BY-NC-SA 协议进行授权 | 智乐兔
转载请注明:转自《ubuntu 安装oracle-xe
本文地址:https://www.zhiletu.com/archives-372.html
关注公众号:智乐兔

赞赏

wechat pay微信赞赏alipay pay支付宝赞赏

上一篇
下一篇

相关文章

在线留言

你必须 登录后 才能留言!

在线客服
在线客服 X

售前: 点击这里给我发消息
售后: 点击这里给我发消息

智乐兔官微