-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Oracle Linux Cookbook
By :

Automated installations are great, but for some admins, the complexity of configuring and maintaining the infrastructure to support an automated installation is more effort than doing a manual installation. This recipe will go over how the manual installation works.
To do this, you will need a system to install from. In the example, Oracle VM VirtualBox will be used, but it could just as easily be on a bare-metal server or a different hypervisor. You will also need installation media. Normally, an ISO works fine, but you can also use a boot ISO and an HTTP server, an FTP server, or even a network file share.
Regardless of whether you boot from an ISO, a USB stick, or even a kickstart file with a graphical installation option set, the process is the same!
If you are booting from a boot-only image, you will need to enable the network and then point to an installation source. This is shown in the next few steps. If you are installing from an ISO or USB, skip to the How it works… section:
Figure 2.15 – Linux installer boot
Figure 2.16 – Install language
Figure 2.17 – Installation Summary
For now, we need to do two tasks:
To enable the network, click on the Network & Host Name option.
Figure 2.18 – Network & Host Name
Figure 2.19 – Installation Source
In this example, we are using the Oracle Public YUM server as the installation source. You can optionally add additional repositories if needed, as well as set any proxy settings if required. You can also set an FTP://
patch for an NFS server path. Once you have a path, select Done.
Figure 2.20 – Selecting Installation Source
Manually network booting is otherwise the same as an ISO or USB boot.
A manual boot process is fairly simple to do. Once booted, on the INSTALLATION SUMMARY screen, you have many options:
Generally, the first setting that is set is the network. This is key for not only network installations but also setting up NTP for time synchronization:
Figure 2.21 – Setting hostname and IP info
By default, the network port is not enabled and the hostname is not set. You can manually set the hostname. Don’t forget to use an FQDN when setting the hostname. This should include the name and the domain name. When you enable the network, the system will automatically grab DHCP IP info. If you want to manually configure this, click on Configure…:
Figure 2.22 – Accessing manual network settings
Figure 2.23 – Manual network settings
Figure 2.24 – Accessing NTP settings
Figure 2.25 – NTP settings
You can also set what RPM groups are installed, along with any additional software. This is done under SOFTWARE SELECTION:
Figure 2.26 – Software Selection
From here, you should see the physical and logical drives available to the system. The default is to set Storage Configuration as Automatic, but let’s explore a different boot disk structure by selecting a custom configuration. Once Custom is selected, click on the Done button.
Figure 2.27 – Installation Destination
Figure 2.28 – Manual Partitioning
Don’t forget to click Done and accept all the changes to the layout.
Figure 2.29 – Btfrs partitioning
Btrfs will look a little different, as the system combines the role of volume manager and filesystem into one system. This means at the time of installation, all of the filesystems will show all the space available. This can be updated after the OS is installed and a quota is set for each directory that needs to be limited. This is covered in the Btfrs recipes in Chapter 4.
You could finish up now by just giving root a password… but there is one more basic task, and that is to apply a security policy to the system. The security policy allows the installer to preconfigure the system to follow the policy set. This is very helpful when installing systems that support workloads such as HIPPA, PCI DSS for credit card processing, or STIG for public sector workloads.
Figure 2.30 – Security Policy
Figure 2.31 – Applying a security policy
You will now see the policy and a list of all the changes being made to the system. You will also see some changes that may need to be made to the filesystem layout. This is seen in policies such as STIG, where /var
and /var/log
need to be separate filesystems.
Once done, from the Installation Summary, click on Begin Installation to start the install.
Change the font size
Change margin width
Change background colour