By crashsensei | November 17, 2017 | 0 Comment
This article is a continuation of the “Installing Oracle Linux 7”.
su - oracle
[ `env | grep DISPLAY` ] && echo "Display already set" || \ export DIPLAY=<MACHINE-NAME>:0.0
cd /opt/oracle/dump/database ./runInstaller
orcl, deselect Create as Container database, and click Next
# /opt/oracle/app/oraInventory/orainstRoot.sh Changing permissions of /opt/oracle/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /opt/oracle/app/oraInventory to oinstall. The execution of the script is complete.
# /opt/oracle/app/oracle/product/12.2.0/dbhome_1/root.sh Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /opt/oracle/app/oracle/product/12.2.0/dbhome_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] : yes Installing Oracle Trace File Analyzer (TFA). Log File: /opt/oracle/app/oracle/product/12.2.0/dbhome_1/install/root_oraman13c.washco.org_2017-11-02_11-11-58-046599678.log Finished installing Oracle Trace File Analyzer (TFA)
chdb orcl sqlplus / as sysdba
exec DBMS_XDB_CONFIG.SETHTTPSPORT(0); exec DBMS_XDB_CONFIG.SETHTTPPORT(0);
shutdown immediate; exit
cp /opt/linearsoft/toolbag/oracle/systemd/oralsnr@.service /etc/systemd/system/oralsnr@.service systemctl enable email@example.com systemctl start firstname.lastname@example.org cp /opt/linearsoft/toolbag/oracle/systemd/orashutdown.service /etc/systemd/system/orashutdown.service systemctl enable orashutdown.service systemctl start orashutdown.service