To install the Oracle 11g database on Ubuntu, first download Ubuntu with a generic kernel from Ubuntu, and then release the link. Once the process is over, download Oracle version 11gr2 from the official Oracle link. X server is required to install Oracle on Ubuntu but before this disable the "Deny TCP connections to X server feature, to enable the server database to connect to the desktop.
The X server restarts soon after. Once this is done, update all Ubuntu "anf" programming packs, then connect it through SSH and enter the root after the commands are given and then restart it again. Installing Oracle requires many packages by connecting through SSH. Go to root and give the command. Proceed to update the shell to bash and then make the required modifications in the configuration of the system users and along with that, modify some system files by adding and integrating, and lastly, validating some important parameters, such as the size of shared memory. It is recommended to restart the system or force the handling of parameters. Proceed with installing Oracle after completing the post-installation updates to the system configuration file.
The installation was made on a UBUNTU 18.104.22.168 with a 2.6.24-24-generic kernel available for download from the following link
The Oracle version used is 11gr2, available for download from this link
X server configuration
An X server is required for this installation of Oracle. Note that we must disable the "Deny TCP connections to X server" feature to enable the server database to connect to the desktop.
To disable this option from your desktop:
Go to System > Administration > Login Window
In the Security tab, uncheck the option Deny TCP connections to X server
Once this is done it will restart the X server.
We must update UBUNTU and all packages:
Connect via ssh
Switch to root:
Launch the following commands:
Installing packages needed for pre-installation
A number of packages are required for installing Oracle:
build-essential, libaio1, gawk, ksh, libmotif3, alien, libtool, and lsb-rpm.
To install them simply connect through ssh, switch to root and issue the command: