This Video Teach you how to install Oracle Database 21c On VirtualBox
// Switch to Super User
// Install Oracle
yum install -y oracle-database-preinstall-21c
// Set Oracle Password
passwd oracle
// Create Required directories
mkdir -p /u01/app/oracle/product/21c/db_1/
mkdir -p /u01/app/oracle/oradata/
mkdir -p /u01/app/oracle/FRA/
chown -R oracle:oinstall /u01/
chmod -R 775 /u01/
// Switch to Superuser oracle
// Enter to bash_profile i.e
vi .bash_profile
// When in bash_profile oracle Insert this command, and then save it:
export ORACLE_TERM=xterm
export BASE_PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$BASE_PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:
$ORACLE_HOME/rdbms/jlib
// Checking the bash profile
. .bash_profile
// Switch to super user to configure the limits
// Change the limit comand using super user
vi /etc/security/limits.conf
// insert command :
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728
// Checking the limits
./etc/security/limits.conf
// Disable firewall server using command:
systemctl stop firewalld
systemctl disable firewalld
// Switch to super user oracle
// Creating directory filewin
mkdir filewin
// Enabled Shared folder filewin to the vm
// Switch to super user
// mount file inputvm
mount -t vboxsf inputvm /home/oracle/filewin
// Switch to default user
exit
// checking what inside on directory
ls
// opening filewin directory
cd filewin
// checking what inside on directory filewin
ls
// Select the linux zip file to be copied from filewin to home
cp LINUX_X64_213000_db_home.zip $ORACLE_HOME
// Opening $ORACLE_HOME
cd $ORACLE_HOME
// Checking directory location
pwd
// Checking what inside $ORACLE_HOME
ls
// Unzip LINUX_X64_213000_db_home.zip
unzip LINUX_X64_213000_db_home.zip
// If finish switch user to oracle
// Opening ORACLE_HOME
cd $ORACLE_HOME
// Checking what inside on ORACLE_HOME
ls
// Run installer Oracle 21c
./runInstaller
// If Shown Verification Result
// Open new tab terminal
// Switch to Super User
// Disable Swapoff using command :
swapoff -add if=/dev/zero of=/swapfile bs=1G count=4
mkswap /swapfileswapon /swapfile
// Execute Configuration Scripts
// Open Terminal then execute
/u01/app/oraInventory.oraInstRoot.sh
/u01/app/oracle/productdb_1root.sh
// If Finish Enter
sqlplus
// User
sys as sysdba
Thanks For Watching
Subscribe
Негізгі бет Oracle Database 21c Installation - Oracle Linux on VirtualBox
Пікірлер: 3