You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database. [root@node1 Disk1]# (4)配置 [root@node1 Disk1]# /etc/init.d/oracle-xe configure Oracle Database 11g Express [root@node1 ~]# yum remove oracle-xe 已加载插件:fastestmirror 正在解决依赖关系 --> 正在检查事务 ---> 软件包 oracle-xe.x86_ 正在创建信箱文件: 文件已存在 You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database [root@node1 oracle-xe]#
如安装于 Linux 上,先运行 /etc/init.d/oracle-xe start,再运行 /etc/init.d/oracle-xe stop 即可。
顺利的话,应该很快就能完成(如果安装失败,再上面的步骤逐步检查) c) 配置数据库 输入 /etc/init.d/oracle-xe configure ? 再补充几个实用的命令: /etc/init.d/oracle-xe --help 可以看到很多选项 Usage: /etc/init.d/oracle-xe {start|stop|restart|force-reload start 可以用来手动启动oracle,stop当然是停止oracle,status可以用来查看状态,会显示很多有用的信息(包括监听文件的位置) [root@oracle ~]# /etc/init.d/oracle-xe 关于oracle xe,再补充几条cent os里的命令,用于启动、停止oracle服务,输入 service oracle-xe ,系统将提示详细的参数,然后大家应该知道怎么做了,参考下图: ?
所以一定要提前安装依赖啊....下面是错误示范.. 7.安装成功之后, 进行配置 # /etc/init.d/oracle-xe configure 这里设置的密码, 就是后面system登录的密码哟
首先准备Oracle环境,这里我安装的oracle-xe 11g 。管理员密码orale,sid:XE,端口1521。