Oracle Database 18.3.0 is available on Linux since July 23, 2018. And I wanted to quickly sneak into the Oracle Database 18.3.0 installation on premises. I did blog about the Oracle 18c installation a few weeks ago but this was a plain 18.1.0. This time I install the 18.3.0 on-prem edition for Linux.
Oracle Database 18.3.0 installation on premises
Are the any differences between an 18.1.0 and the 18.3.0 installation? No, there aren’t any (at least not anything I recognized). The most important thing: you must unzip the downloaded file into your future destination directory.
In my case I unzip:
mkdir /u01/app/oracle/product/18 cd /u01/app/oracle/product/18 unzip /media/sf_TEAM/LINUX.X64_180000_db_home.zip
Then call the install script:
./runInstaller
This short video demonstrates the installation process:
.
And finally run root.sh:
su root passwd: oracle cd /u01/app/oracle/product/18 ./root.sh exit
That’s it.
One addition: If you wonder about the new environment variables ORACLE_BASE_HOME
and ORACLE_BASE_CONFIG
: Those are used to the Read-Only Home feature since Oracle 18c. Find more information in MOS Note:2409465.1 (Oracle 18c – Configuring Read Only OracleHome / DBCA / Patching / Upgrade).
Further Information
- Installing Oracle Database 18c (18.1.0)
- Upgrading to Oracle Database 18.3.0 on-prem (will be available on July 26, 2018)
- Why does the Oracle 18.3.0 on premises include 1.4GB patches? (will be available on July 27, 2018)
–Mike
write error (disk full?). Continue? (y/n/^C) n
When unzipping, Am getting this warning:
write error (disk full?). Continue? (y/n/^C) n
Am really fed up of digging into google for each and every step I progress.
“C”
I received a similar error with my Mac, downloaded again, same error.
And I agree. But actually in this case I don’t even know to whom I should sent my (and your) complaint 🙁
Cheers, and sorry for the inconvenience.
PS: When you say “C” it completes and you will see no error afterwards …
I got it through with the help of the following commands:
From 50GB moved it to 300GB. Please don’t take this seriality.
I just forgot the order of these commands used for the purpose.
1) [mohan@mohan 18]$ sudo xfs_growfs /dev/mapper/ol-root
2)[mohan@mohan 18]$ df -Th
3) [mohan@mohan 18]$ df -kh
4) [mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-root
5) [mohan@mohan 18]$ sudo lvresize –size 300G /dev/mapper/ol-root
6) [mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-root
7) [mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-home
8) [mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-root
9) [mohan@mohan 18]$ cd /u01/app/oracle/product/18
10) [mohan@mohan 18]$ ls -l
Hope this gives a thoroughfare.
All the best dear Mike.Dietrich.
Hi Mr Mike,
One more time I am putting the entire list of commands I used for reaching to ./runInstall cmd.
For the benefit of the next victims in the row after me.
[mohan@mohan 18]$ sudo chown -R mohan /u01
[mohan@mohan 18]$ sudo mkdir app/oracle/product/18
[mohan@mohan 18]$ df -h /tmp
[mohan@mohan 18]$ df -h /u01
[mohan@mohan 18]$ rpm -qf
[mohan@mohan 18]$ df -kh
[mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-root
[mohan@mohan 18]$ sudo lvdisplay /dev/mapper/ol-home
[mohan@mohan 18]$ sudo lvresize –size 300G /dev/mapper/ol-root
[mohan@mohan]$ cd /u01/app/oracle/product/18
[mohan@mohan 18]$ sudo xfs_growfs /dev/mapper/ol-root
[mohan@mohan 18]$ unzip /media/LINUX.X64_180000_db_home.zip
More commands related to INCREASE THE SWAP:
How to increase swap from the original 5GB TO 10GB?
1) [root@mohan ~]# df -h
2)[root@mohan ~]# free -m
3)[root@mohan ~]# dd if=/dev/zero of=/techswap bs=1G count=5
4) [root@mohan ~]# mkswap /techswap
5) [root@mohan ~]# swapon /techswap
6) [root@mohan ~]# free -m
7) Now open the /etc/fstab file and add a line:
/techswap swap swap defaults 0 0
save the file and close.
Now reboot and check with
free -m
command at the terminal.
You will find the swap is increased to 10GB from the original 5GB.
Enjoy.