Apexins
Apexins
dbf' size
1g autoextend on next 100m maxsize unlimited;
alter tablespace apex_ts_data add datafile '/d01/oracle/db/data/apex_ts_data01.dbf'
size 1g autoextend on next 100m maxsize unlimited;
alter tablespace apex_ts_data add datafile '/d01/oracle/db/data/apex_ts_data02.dbf'
size 1g autoextend on next 100m maxsize unlimited;
alter tablespace apex_ts_data add datafile '/d01/oracle/db/data/apex_ts_data03.dbf'
size 1g autoextend on next 100m maxsize unlimited;
cd /d01/oracle/db/dbhome_1
mv apex/ apex_orig_15AUG2021
cd /home/oradev/APEX/apex
@apexins.sql apex_ts_data apex_ts_data apex_temp /i/
@apxchpwd.sql
Oracle_123
USERNAME
------------------------------
APEX_200100
APEX_PUBLIC_USER
APEX_INSTANCE_ADMIN_USER
SQL>
User altered.
User altered.
User altered.
alter user APEX_200100 identified by Oracle_123;
@apex_rest_config.sql
Oracle_123
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
APEX_LISTENER OPEN
APEX_REST_PUBLIC_USER OPEN
APEX_200100 EXPIRED
APEX_PUBLIC_USER EXPIRED
APEX_INSTANCE_ADMIN_USER EXPIRED & LOCKED
GETHTTPPORT
-----------
0
Create user:
cd /d01/db/dbhome_1
mv apex/ apex_orig
USERNAME
------------------------------
XX_APEX
cd /d01/db/dbhome_1
unzip /home/oratest/apexins/apex_20.1.zip
cd apex
sqlplus / as sysdba
1 row selected.
QL> @@apxchpwd.sql
...set_appun.sql
================================================================================
This script can be used to change the password of an Application Express
instance administrator. If the user does not yet exist, a user record will be
created.
================================================================================
Enter the administrator's username [ADMIN]
User "ADMIN" does not yet exist and will be created.
Enter ADMIN's email [ADMIN]
Enter ADMIN's password []
Created instance administrator ADMIN.
Oracle_123
USERNAME
------------------------------
APEX_PUBLIC_USER
APEX_200100
APEX_INSTANCE_ADMIN_USER
mv jdk1.8.0_231 jdk8u231
unzip /home/oratest/apexins/ords-19.2.0.199.1647.zip
cd ../apex
cp -r images /d01/oracle/db/dbhome_1/ords/
cd /d01/db/dbhome_1/ords
/home/oradev/apexinstallation/jdk8u231/bin/java -jar ords.war install advanced
shut immediate
orapwd file=/d01/oracle/TEST/oradb/product/11.2.0/dbhome_1/dbs/orapwDBTEST
password=Oracle_123 entries=10
startup
Oracle_123
export JAVA_HOME=/home/oratest/apexins/jdk8u231
LOGFILE=/home/oratest/scripts/log/ords-`date +"%Y""%m""%d"`.log
cd /d01/oracle/TEST/oradb/product/11.2.0/dbhome_1/ords
export JAVA_OPTIONS="-Dorg.eclipse.jetty.server.Request.maxFormContentSize=3000000"
nohup $JAVA_HOME/bin/java ${JAVA_OPTIONS} -Xmx2048m -Xms1024m -jar
/d01/oracle/TEST/oradb/product/11.2.0/dbhome_1/ords/ords.war standalone >> $LOGFILE
2>&1 &
echo "View log file with : tail -f $LOGFILE"