In this article I will describe how to perform a basic Oracle Linux 8 installation by using DVD or ISO in graphical mode. For detail instruction on installation refer oracle doc here.
Boot from the DVD or ISO from to start the installation. Select “install Oralce Linux 8.2.0”
2. From the language list select the Language and click on Continue button .
3. From the installation summary screen select the below options and configure the settings:
Choose the Time & Date
Software Selection
Installation Destination for Device selection
Network and Hostname
Choose the Time & Date: Pick the Region and City by the drop down list
Installation Destination: choose where to install the software and configure the storage
Network & Hostname: Click Configure to configure the network settings, or this can be configure after the system boots.
4. Once all configurations are down, Click on “Begin Installation” to start the OS installation
5. Set the root password: Click on Root Password and set the root Password
6. Once the installation completes, click “Reboot” button
7. Accept the License agreement: Click on “License Information” and check the “I accept the “License Agreement” button and click on “Done” Button. And click on “Finish Configuration“
In this article I will describe how to perform a basic Oracle Linux 7 installation by using DVD or ISO in graphical mode. For detail instruction on installation refer oracle doc here.
Boot from the DVD or ISO from to start the installation. Select “install Oralce Linux7.0”
2. . From the language list select the Language and click on Continue button.
3. From the installation summary screen select the below options and configure the settings:
Choose the Time & Date
Software Selection
Installation Destination for Device selection
Network and Hostname
Choose the Time & Date: Pick the Region and City by the drop down list
From the software Selection screen select the Base Environment
Network & Hostname: Click Configure to configure the network settings, or this can be configure after the system boots.
Installation Destination: choose where to install the software and configure the storage
4. Once all configurations are down, Click on “Begin Installation” to start the OS installation
5. Set the root password: Click on Root Password and set the root Password
6. Once the installation completes, click “Reboot” button
7. After the system reboot, Click on Root Password and set the root password
8. Accept the License agreement: Click on “License Information” and check the “I accept the “License Agreement” button and click on “Done” Button. And click on “Finish Configuration“
9. Enable Kdump if required and click on Forward button
10. Set up the Software Updates and click Forward button
Copy the VNC configuration file /lib/systemd/system/vncserver@.service to /etc/systemd/system directory and mention the port which has to connect. By default VNC will listen to port 5900.
Here I have mentioned port 2, so that the VNC Desktop will be accessible on port 5902.
Manually edit the copied file /etc/systemd/system/vncserver@:2.service and replace <USER> to your username In the below example I have replaced <USER> with oracle
# sed -i 's/<USER>/oracle/g' /etc/systemd/system/vncserver@:2.service
3. Start the VNC Service
Switch to Oracle user and start the VNC Service
# vncserver
Output:
[oracle@ol7-dev ~]$ vncserver
Warning: ol7-dev:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server ol7-dev:1
xauth: file /home/oracle/.Xauthority does not exist
New 'ol7-dev:2 (oracle)' desktop is ol7-dev:2
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/ol7-dev:2.log
[oracle@ol7-dev ~]$
4. Enable the VNC Service
Switch to root user and enable the vncserver service for oracle user on port 5902. This will also enable autostart on system boot.
Switch to root user:
# su -
Reload systemd’s configuration
# systemctl daemon-reload
Configure the VNC password for user oracle
# vncpasswd oracle
Start and enable the VNC Server service. This will enable the auto start on system boot