如何在Linux上重新配置Oracle 10g XE [英] How to reconfigure Oracle 10g xe on Linux

查看:121
本文介绍了如何在Linux上重新配置Oracle 10g XE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从Linux上的deb文件安装了Oracle 10g xe,然后开始使用此终端命令对其进行配置

I have installed Oracle 10g xe from a deb file on linux, and then started to configure it using this terminal command

sudo/etc/init.d/oracle-xe配置

sudo /etc/init.d/oracle-xe configure

但是在完成配置后我忘记了密码,所以当我使用收到的上一条命令时,如何像现在一样重新安装后再次重新配置它

but after finishing configuration I forgot the password, so how can I reconfigure it again after reinstallation as now when I use the previous command I receive

Oracle Database 10g Express Edition已配置

Oracle Database 10g Express Edition is already configured

谢谢

推荐答案

Oracle创建一个名为oracle的系统帐户.要更改该帐户的密码,只需使用

Oracle creates a system account named oracle. To change password to that account just use

passwd oracle

如果您从数据库忘记了另一个密码,请以oracle用户身份登录并使用

if you forgot another password from DB then log in as oracle user and use

sqlplus / as sysdba

更改各种数据库帐户的密码.

to change the password for various DB accounts.

要重新配置/etc/default/oracle-xe中的更改

To reconfigure change in /etc/default/oracle-xe

CONFIGURE_RUN=true 

CONFIGURE_RUN=false

然后重新运行

sudo /etc/init.d/oracle-xe configure 

这篇关于如何在Linux上重新配置Oracle 10g XE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆