2. Upload the zip file to your server
3. Unpack to any directory. $ORACLE_HOME/demo/schema is a good candidate
4. Prepare your file by running this perl command which replaces occurrences of the token `__SUB__CWD__` with your current directory:
perl -p -i.bak -e 's#__SUB__CWD__#'$(pwd)'#g' *.sql */*.sql */*.dat4. Make sure you know the system and the sys password, and execute
sqlplus /nolog @mksample systempwd syspwd hrpwd oepwd pmpwd ixpwd shpwd bipwd EXAMPLE TEMP /u01/oracle/18c/demo/schema/log/ mydbThe list of arguments is pretty obvious:
1. system password
2. sys password
3-6: passwords for the sample schemas you are about to install
7. default tablespace for the samples schemas
8. temporary tablespace for the sample schemas
9. log locatation
10. connect string. When using multitenant, you need to pass a pdb name as an argument. The cdb cannot be used
Read more here
No comments:
Post a Comment