I am installing Oracle 19c on Oracle Linux (7.6) on Microsoft Azure. I am at point where i ran as a root user
$ /etc/init.d/oracledb_ORCLCDB-19c configure
$ ./sqlplus / as sysdba
where it is asking me to provide credentials, I tried SYS, SYSDBA with password " change_on_install " ( followed this article ), did not work, tired user oracle user-name and password, no luck. I cannt get pass through this with out this credentials. I dont remember of setting credentials in entire setup. What am i missing here?
Make sure you set the appropriate environment variables:
You can use this script:
$ . /usr/local/bin/oraenv
It all depends on how you plan log in to your system on a regular basis. One approach is to put the required environment variables in your .bash_profile, assuming you are using bash. It's not best practice to do that for the oracle user, in case you end up running more than one database (and thus have more than one SID).
I recommend reading read the documentation on how to set your environment permanently:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.