Friday, May 2, 2025

Install Oracle using VNC

Install Oracle using VNC

Follow the below steps to install Oracle on a Ubuntu Host.

1.      Log in to the Ubuntu host as root user.

2.      Install the VNC viewer on the Ubuntu host using the command.

a.      For Ubuntu:
sudo apt update
sudo apt install xfce4 xfce4-goodies

b.      For Centos/RHEL/OEL:
yum install vnc-server

3.      Login to the Ubuntu Host as an oracle user. (In case an oracle user is not present, create a new user)

4.      Start the vnc server as oracle user by using command as an oracle user

vncserver

a.      The command will require the user to enter the host password.

5.      Check that the VNC server is running on the host using the command
ps -ef | grep vnc

[oracle@oraclelab1 ~]$ ps -ef | grep vnc

oracle    8883     1  0 00:56 pts/3    00:00:00 /bin/Xvnc :3 -auth /home/oracle/.Xauthority -desktop oraclelab1.localdomain.com:1 (oracle) -fp catalogue:/etc/X11/fontpath.d -geometry 1024x768 -pn -rfbauth /home/oracle/.vnc/passwd -rfbport 5901 -rfbwait 30000

oracle    8890     1  0 00:56 pts/3    00:00:00 /bin/sh /home/oracle/.vnc/xstartup

oracle    9963  9886  0 00:57 pts/4    00:00:00 grep --color=auto vnc

[oracle@oraclelab1 ~]$

6.      Get the port number and the display port number from the above command.

a.      From the above picture, the port number is the value of the -rfbport flag which is 5901 by default.

b.      From the above picture, the display port is :1 . It is defined by the flag -desktop whose value is <hostname><display port>.

7.      Set the display parameter to the display port using the command.

export DISPLAY=<Display port>

8.      Open the Real VNC app on the UI.

a.      In the RVNC connect, provide the host IP and the port number to connect to the ubuntu host.

b.      Enter the host password and the host UI will open up on Real VNC

9.      Get the required Oracle version zip file from the oracle repository.

10.   Unzip the file to a new folder.

11.   Go to the unzipped folder. There will be file runInstaller. Run the file.

./runInstaller

12.   This should open the GUI installer on the Host UI running on the Real VNC.

13.   Follow the steps on the wizard to install the Oracle Software on the host.

 

    

 

 

 

No comments:

Post a Comment

-bash: oraenv: No such file or directory

-bash: oraenv: No such file or directory What Are Root.sh And OrainstRoot.sh Scripts In A Standalone RDBMS Installation? (Doc ID 1493121.1) ...