It's much more easier to install Oracle 12c using docker, rather than install it on the Windows 10 directly. And it's pretty clean and fast.
1. docker search oracle
2. docker pull truevoly/oracle-12c
3. docker run -d -p 8080:8080 -p 1521:1521 truevoly/oracle-12c
4. docker images
docker ps -a
5. docker logs -f 1cfd95628164
Database ready to use. Enjoy! ;)
Ctrl+C
6. docker exec -it 1cfd95628164 /bin/bash
su oracle
$ORACLE_HOME/bin/sqlplus / as sysdba (need with $ORACLE_HOME/bin/ or bash: sqlplus: command not found)
. oraenv
SQL> conn system/oracle as sysdba
SQL> select name,open_mode from v$database;
SQL> alter user scott identified by tiger;
SQL> alter user scott account unlock;
No comments:
Post a Comment