Installation Of Oracle Linux 8

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search

Your server must be able to access update.viavisolutions.com, yum.oracle.com and yum.postgresql.org to complete installation

The Oracle 8.4 Boot ISO is available here(https://yum.oracle.com/ISOS/OracleLinux/OL8/u4/x86_64/x86_64-boot.iso)

1. Preparation

Ensure that CD/DVD/ISO is mounted on the system and launch it via the BIOS boot menu

2. Language setup

In Oracle Linux, Select English->English (United States)


3. Network & Host Name setup

Click on "Network & Host Name"

Select The first Ethernet Adapter and make sure its set to "On"

You may see it's connected and the DHCP IP Address.

Click on "Configure"

Make sure that the "Connect automatically with priority" is ticked in the "General" tab

Set up static IP (optional):

Use the "IPv4 Settings " tab to change the IP address (Set method to manual and then press the add button). 
Make sure you have entered a valid DNS server

Click on done when ready


4. Installation Source setup

Click on "Installation Source"

Select "On the network"

Enter

https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64 as the main installation source.

Add in to 2 repos

Name: ol8_AppStream
URL: https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
Type:  Repository URL
Name: ol8_UEKR6
URL: https://yum.oracle.com/repo/OracleLinux/OL8/UEKR6/x86_64/
Type:  Repository URL

Press Done when ready

You should see "Downloading...." messages under both the "Installation Source" and "Software Selection".

If you get an error under "installation Source" or "Software Selection" Go Back into "Installation Source" and double check the URLs entered

When they have finished downloading, you should see a "Please Confirm Software Selection"


5. Software Selection setup

Click on "Software Selection"

Under "Software selection" Select "Server with GUI" On the right side list select System Tools

Press Done


6. root user and password setup

Set root user and password


7. Timezone setup

Set timezone


8. Installation Destination setup

Click on the "Installation Destination" option

Click on your OS drive pf choice, it should now have a tick on it.

Select "Custom" for Storage Configuration and click on "Done"

If it says you do not have enough space, click on the "Reclaim Space" option Click on the "Delete All" option to remove existing partitions and click on the "Reclaim Space" button

If there is an "Unknown" section, expand it

Select each of the entries under "Unknown" and click on the "-" button

If prompted for "Are you sure you want to delete....." click on the tick box and click "Delete It"

If you are prompted to "Delete all file systems which are only used by Unknown"

Select the tick box and press "Delete It"

No Click on the "Click here to create them atuomatically" Option

On the list presented, delete the /home partition

Click on the + button to add a new partition, Mount on /opt and assign recommended 400GB, click on "Add mount point"

Click on the + button again and a new partition, Mount on /home and assign 100%, click on "Add mount point"

Press the done button

Click on "Accept Changes"


9. Begin installation

If there are no errors, click on "Begin Installation"

When installation is complete, click on "Reboot System"

After Rebooting accept the license if there is any and then you should see the "Welcome" screen.


10. Post installation setup

Click Next

Set location services to "Off" and cick next

Skip the "Connect your online accounts" page

Enter "viavi" For the full name on the "About You" page and click next

Enter your password (admin by default) and click next

Click on the "Start Using Oracle Linux Server" button

Click on the "Activities"menu option in the top left of the screen and select "Terminal"

When the terminal opens, enter "sudo bash" and press enter

Enter the following commands

systemctl enable --now cockpit.socket
systemctl start cockpit

Goto "Activities" and "Firefox"

Enter the following url

http://127.0.0.1:9090

Login as root

In the "Usage" card, click on the "View details and history" link

Scroll down to the bottom of the page and click on the "Install cockpit-pcp" button

Click "install"

When done, click on the "Log out" button and then "Reconnect" as root

On the top right of the page click on "Metrics Settings"

In the popup, enable the "Collect Metrics" option and press save

Close firefox


Hardening

systemctl stop rpcbind.service
systemctl disable rpcbind.service

Install all updates

yum -y update

Reboot end ensure system starts by itself

shutdown -r now