Faruque Ahmed : MCP, MCSA, MCSE, MCTS, MCIT, CCNA, OCA, OCP, GCP
mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
mkdir -p /u02/oradata
chown -R oracle:oinstall /u01 /u02
chmod -R 775 /u01 /u02
175.29.175.118 root Amg_645912
mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
mkdir -p /u01/app/oraInventory
chown -R oracle:oinstall /u01/app/oracle/
chown -R oracle:oinstall /u01/app/oraInventory
mkdir -p /u02/oradata
chown -R oracle:oinstall /u02/oradata
chown -R oracle:oinstall /u01 /u02
chmod -R 775 /u01 /u02
https://oracle-base.com/articles/19c/oracle-db-19c-installation-on-oracle-linux-8
https://medium.com/@avanioracle/oracle-database-19c-installation-on-rhel-8-with-oui-f271e4bf8491
------------------------------------
export CV_ASSUME_DISTID=OEL7.8
export CV_ASSUME_DISTID=RHEL8.0
---------------------------------
NAME="AlmaLinux"
VERSION="8.10 (Cerulean Leopard)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
SUPPORT_END=2029-06-01
Display
# yum install *X11*
# yum install xorg-x11-utils -y
# cd $ORACLE_HOME
$ dbca
$ lsnrctl status
$ netca
$ export CV_ASSUME_DISTID=OEL7.5
# dnf -y install xorg-x11-utils -y
$ vi .bash_profile
-----------------------------------------
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=erp.al-muslimgroup.com; export ORACLE_HOSTNAME
ORACLE_UNQNAME=cdb19c; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1; export ORACLE_HOME
ORACLE_SID=cdb19c; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
------------------------------------------------------
$ . .bash_profile
#################################################3
[root@erp ~]# su - oracle
[oracle@erp ~]$ id oracle
[oracle@erp ~]$ cd /home/oracle
[oracle@erp ~]$ ls -la
total 28
drwx------. 5 oracle oinstall 4096 Feb 23 06:29 .
drwxr-xr-x. 4 root root 44 Feb 23 05:03 ..
-rw-------. 1 oracle oinstall 148 Feb 23 07:37 .bash_history
-rw-r--r--. 1 oracle oinstall 18 May 23 2024 .bash_logout
-rw-r--r--. 1 oracle oinstall 141 May 23 2024 .bash_profile
-rw-r--r--. 1 oracle oinstall 376 May 23 2024 .bashrc
drwx------. 2 oracle oinstall 6 Feb 23 06:13 .cache
drwxr-xr-x. 3 oracle oinstall 27 Feb 23 06:23 .java
-rw-r--r--. 1 oracle oinstall 172 Apr 6 2024 .kshrc
drwxr-xr-x. 4 oracle oinstall 51 Feb 18 02:49 .mozilla
-rw-r--r--. 1 oracle oinstall 658 Oct 12 2022 .zshrc
[oracle@erp ~]$ vi /home/oracle/.bash_profile
[oracle@erp ~]$ cat /home/oracle/.bash_profile
-----------------------------------------------------------------------
# .bash_profile
------------------------------------------------------------------------------
[oracle@erp ~]$ . .bash_profile
[oracle@erp ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/19.0.0/dbhome_1
[oracle@erp ~]$ clear
[oracle@erp ~]$ export DISPLAY=:0.0