Skip to main content

Oracle Database 11gR2 on Solaris 11.1 on virtual Box

In this post I am demonstrating step-by-step procedure for Installation of  Oracle database 11.2.0.3 on Oracle Solaris 11 X86-64bit using Oracle Virtual box.

Oracle solaris 11 comes with all default required packages for oracle database  Installation.

Only version 11.2.0.3 is certified to be Installed on Oracle Solaris 11.



Hardware Requirement:

CPU        - Min Single Core - (>1 GHz)
RAM        - 2 GB
SWAP       - 4GB
HDD        - 10GB

Information of Oracle Solaris 11 Installation and configuration:

- Oracle Solaris has been Installed using sol11-text-media
- IPS has been configured for additional package Installation

High Level Steps:

1) Create virtual Machine using Oracle VirtualBOX
2) Install Oracle Solaris 11.1 using text media
3) Configure Local repository using NFS protocol
4) Install package (slim_install) to enable GUI
5) Perform all OS pre-requisites for 11g (11.2.0.3) Database Installation
6) Install Oracle Database 11.2.0.3

1) Create virtual Machine using Oracle Virtual Box


 












 
2) Install Oracle Solaris 11.1 using text media

Power ON the virtual Machine and Install Solaris 11



    
 



 


- Remove DVD from vitual Box





- Oracle Solaris 11.1 text Install login screen


3) Configure Local repository using NFS protocol

Merge two iso  repository images of Solaris 11.1 for creating 1 DVD with full repository.



I have already merged this DVD into 1 single DVD on another solaris machine. 

Now Just i will insert this DVD in a virtual box  and configure repository.


- Create Mount Point for storing IPS repository:



- Copy Image repository from media to local Disk:



- Enable NFS share on directory where you have copied IPS repositroy:




- Set package Publisher:


- Verify Publisher:



4) Install package (slim_install) to enable GUI

 - Install package slim_install and reboot machine



- After reboot you should able to see GUI enabled login screen


5) Perform all OS per-requisites for 11g (11.2.0.3) Database Installation:

- Create OS group and user:

root@dbsol11:~#groupadd dba
root@dbsol11:~#useradd -g dba -d /export/home/ora11g -m ora11g
 
root@dbsol11:~#zfs create -o mountpoint=/oradb rpool/oradb
root@dbsol11:~#mkdir -p /oradb/oracle
root@dbsol11:~#chmod -R 775 /oradb/oracle
root@dbsol11:~#chown -R ora11g:dba /oradb/oracle
 

Configure Kernel Parameters:
root@dbsol11:~# projadd ora11g
root@dbsol11:~# cat /etc/user_attr
#
# The system provided entries are stored in different files
# under "/etc/user_attr.d".  They should not be copied to this file.
#
# Only local changes should be stored in this file.
# This line should be kept in this file or it will be overwritten.
#
root@dbsol11:~# vi /etc/user_attr
root@dbsol11:~# cat /etc/user_attr
#
# The system provided entries are stored in different files
# under "/etc/user_attr.d".  They should not be copied to this file.
#
# Only local changes should be stored in this file.
# This line should be kept in this file or it will be overwritten.
#
ora11g::::project=ora11g
root@dbsol11:~# 

- Add listed above entry in file /etx/user_attr

- Login with ora11g user in any 1 terminal to modify project file

root@dbsol11:~# prctl -n project.max-shm-memory -v 4gb -r -i project ora11g
root@dbsol11:~# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" ora11g
root@dbsol11:~# 


root@dbsol11:~# cat /etc/project 
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
ora11g:100::::project.max-shm-memory=(priv,4294967296,deny)
root@dbsol11:~# 

- Install package pkg://install/library/motif. If you do not Install this package runInstaller will not work








- Make sure that swap (double value of RAM) and /tmp (min 1GB) directory are configure properly I Have configured swap value to 4GB - Insert 11.2.0.3 Database media in virtual box guest and copy
software to local directory on server








 - Login to oracle user, set proper Display variable and check GUI working properly 








 6) Install Oracle Database 11.2.0.3

- Execute script runInstaller from 11.2.0.3 stage directory





















- Specify location of Oracle base, oracle Home & oracle Inventory directory

 











- Now database creation in progress










- Now execute root.sh script in sequence from root user






- Installation completed succesfully







- Now login to database with EM and CLI




- Host OS - Solaris 11




- Create environment file for connecting to database using CLI



The Installation of oracle database 11.2.0.3 on Solaris 11.1  completed successfully. These steps will be helpful for individuals who are looking for some document for Installation of oracle database on solaris 11

In next article i will demonstrate how to configure Stand alone 11.2.0.3 GI in Solaris 11 OS.

Hope this article is helpful :)

thanks for reading.

regards,
X A H E E R


Comments

Sean said…
I have been trying to create a database on this same system. I have a question as I am new to Solaris/Unix. You say: Login with ora11g user in any 1 terminal to modify project file. How do I do this?
Syed Zaheer said…
Hi sean,

Thanks for reading this article. For modifying kernel parameters using projects file you have to be logged in as that user so that it can read and exucute projects commands successfully.

What you have to do is just open a new terminal and login as ora11g user and execute projects commmand as root user.

Hope its clear.

regards,
X A H E E R
Sean said…
I opened a new terminal window and su to ora11g. Tried to sign in as the root on that terminal and get the following:
ora11g@solaris:~$ su
Password:
Roles can only be assumed by authorized users
su: Sorry
ora11g@solaris:~$

How can I correct this? Sorry for the questions, but this is a great article that has been really helpful.

Popular posts from this blog

Disable Firewall on Oracle Linux 8

In this blogpost we will see how we can stop/disable the firewall on Oracle Linux 8, the firewall command is same in both linux 7 an linux 8. The below listed is the procedure for stopping and disabling the  firewall on Oracle Linux 8. - Here we can see the firewall deamon in active state - Here when we stop the firewall in previous command, now the firewall daemon is dead - For permanent disabling the firewall on server, we can use "disable" option The following commands will be helpful: #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #systemctl enable firewalld #systemctl start firewalld Hope it helps !! Thanks for reading :) regards, X A H E E R

Enable Desktop on Oracle Solaris 11.4

Oracle Solaris 11 installation has multiple options to choose for installation of an Operating Environment, but mostly Oracle Solaris text install media is used and this installation media doesn't offer the GUI Desktop Environment by default after the installation. This blog post will explain how we can enable the desktop for Oracle Solaris 11.4 operating system, after the completion of installation. We have to install "solaris-desktop" package and reboot the machine and GUI desktop will be enabled for the Operating System. In this blog post my virtual machine is connected to the internet and hence I am able to use available pupblic repository for package installation, if in case internet is not available for the server/machine then we have configure the local/Server  repository for the installation. Follow the below steps for desktop package installation: After installation of dekstop package we are now able to login with GUI desktop environment...

Oracle Applications R12.2 Installation on Linux using virtual box

Oracle E-Business suite R12.2 is released a month ago. I received too many requests from my followers to demonstrate this Installation. This is a step by step detailed article for Installing Oracle E-business suite R12,2 on Oracle Enterprise Linux 5.7 (64-bit). I've used oracle virtual box for Installing Linux. Note:  This Installation is demonstrated on virtual machine with 8GB RAM and Installation completed in 7 hours. I am not sure whether this Installation will work with less than this .  My Virtual Machine configuration: CPU    = 1 core RAM   = 8 GB HDD   =  380 GB Software's Required: 1) Oracle Virtual Box 2) Oracle Enterprise Linux 5.7 (64-bit) 3) Oracle E-Business suite R12.2 for LinuxX86-64-bit Installation Steps: Hardware requirements Create virtual machine and Install operating system Operating System pre-requisites Prepare Stage Area Install Oracle EBS R12.2 software Verify Insta...