Skip to main content

Installation of ZFS rpm's on Oracle Linux 8

In this blog post, we will see how we can install the ZFS rpm packages on Oracle Linux 8 operating system. Install pre-requiste package:
[root@localhost ~]# dnf install -y yum-utils
Last metadata expiration check: 1:16:13 ago on  25 May 2023 03:34:37 AM EDT.
Package yum-utils-4.0.21-19.0.1.el8_8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]#
Install the EPEL repository:
[root@localhost ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Last metadata expiration check: 1:17:42 ago on Wed 31 May 2023 03:34:37 AM EDT.
epel-release-latest-8.noarch.rpm                                                                                                                                                    33 kB/s |  25 kB     00:00    
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                              Architecture                                   Version                                            Repository                                            Size
===================================================================================================================================================================================================================
Installing:
 epel-release                                         noarch                                         8-19.el8                                           @commandline                                          25 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total size: 25 k
Installed size: 35 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : epel-release-8-19.el8.noarch                                                                                                                                                              1/1 
  Running scriptlet: epel-release-8-19.el8.noarch                                                                                                                                                              1/1 
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-8-19.el8.noarch                                                                                                                                                              1/1 

Installed:
  epel-release-8-19.el8.noarch                                                                                                                                                                                     

Complete!
[root@localhost ~]# yum repolist
repo id                                                                        repo name
docker-ce-stable                                                               Docker CE Stable - x86_64
epel                                                                           Extra Packages for Enterprise Linux 8 - x86_64
ol8_UEKR7                                                                      Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream                                                                  Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest                                                              Oracle Linux 8 BaseOS Latest (x86_64)
ol8_codeready_builder                                                          Oracle Linux 8 CodeReady Builder (x86_64) - Unsupported
ol8_distro_builder                                                             Oracle Linux 8 Distro Builder (x86_64) - Unsupported
[root@localhost ~]# 
Enable the EPEL repository:
[root@localhost ~]# yum config-manager --enable epel
[root@localhost ~]#
Check the repository:
[root@localhost ~]# yum repolist
repo id                                                                        repo name
docker-ce-stable                                                               Docker CE Stable - x86_64
epel                                                                           Extra Packages for Enterprise Linux 8 - x86_64
ol8_UEKR7                                                                      Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream                                                                  Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest                                                              Oracle Linux 8 BaseOS Latest (x86_64)
ol8_codeready_builder                                                          Oracle Linux 8 CodeReady Builder (x86_64) - Unsupported
ol8_distro_builder                                                             Oracle Linux 8 Distro Builder (x86_64) - Unsupported
[root@localhost ~]# 
Install the "dkms" rpm package:
[root@localhost ~]#  yum install -y dkms
Last metadata expiration check: 0:00:24 ago on  25 May 2023 04:58:25 AM EDT.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                Architecture                            Version                                                   Repository                                          Size
===================================================================================================================================================================================================================
Installing:
 dkms                                                   noarch                                  3.0.11-1.el8                                              epel                                                90 k
Installing dependencies:
 elfutils-libelf-devel                                  x86_64                                  0.187-4.el8                                                        

Complete!
[root@localhost ~]# 
Download the ZFS rpm file:
[root@localhost ~]# rpm -Uvh http://download.zfsonlinux.org/epel/zfs-release.el8_2.noarch.rpm
Retrieving http://download.zfsonlinux.org/epel/zfs-release.el8_2.noarch.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:zfs-release-1-9                  ################################# [100%]
[root@localhost ~]# 
Installation of ZFS rpm:
[root@localhost ~]# yum install -y zfs
ZFS on Linux for EL8 - dkms                                                                                                                                                         47 kB/s |  89 kB     00:01    
Last metadata expiration check: 0:00:03 ago on  25 May 2023 05:15:39 AM EDT.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                         Architecture                           Version                                                            Repository                                         Size
===================================================================================================================================================================================================================
Installing:
 zfs                                             x86_64                                 0.8.5-1.el8                                                        zfs                                               516 k
Installing dependencies:
 libnvpair1                                      x86_64                                 0.8.5-1.el8                                                        zfs                                                37 k
 libuutil1                                       x86_64                                 0.8.5-1.el8                                                        zfs                                                31 k
 libzfs2                                         x86_64                                 0.8.5-1.el8                                                        zfs                                               217 k
 libzpool2                                       x86_64                                 0.8.5-1.el8                                                        zfs                                               874 k
 lm_sensors-libs                                 x86_64                                 3.4.0-23.20180522git70f7e08.el8                                    ol8_baseos_latest                                  59 k
 sysstat                                         x86_64                                 11.7.3-9.0.1.el8                                                   ol8_appstream                                     427 k
 zfs-dkms                                        noarch                                 0.8.5-1.el8                                                        zfs                                               6.1 M

Transaction Summary
===================================================================================================================================================================================================================
Install  8 Packages

Total download size: 8.3 M
Installed size: 37 M
Downloading Packages:
(1/8): lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64.rpm                                                                                                                   69 kB/s |  59 kB     00:00    
(2/8): sysstat-11.7.3-9.0.1.el8.x86_64.rpm                                                                                                                                         391 kB/s | 427 kB     00:01    
(3/8): libnvpair1-0.8.5-1.el8.x86_64.rpm                                                                                                                                            32 kB/s |  37 kB     00:01    
(4/8): libuutil1-0.8.5-1.el8.x86_64.rpm                                                                                                                                             38 kB/s |  31 kB     00:00    
(5/8): libzpool2-0.8.5-1.el8.x86_64.rpm                                                                                                                                            670 kB/s | 874 kB     00:01    
(6/8): libzfs2-0.8.5-1.el8.x86_64.rpm                                                                                                                                              136 kB/s | 217 kB     00:01    
(7/8): zfs-0.8.5-1.el8.x86_64.rpm                                                                                                                                                  399 kB/s | 516 kB     00:01    
(8/8): zfs-dkms-0.8.5-1.el8.noarch.rpm                                                                                                                                             3.1 MB/s | 6.1 MB     00:01    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              1.8 MB/s | 8.3 MB     00:04     
ZFS on Linux for EL8 - dkms                                                                                                                                                        146 kB/s | 1.7 kB     00:00    
Importing GPG key 0xF14AB620:
 Userid     : "ZFS on Linux zfs@zfsonlinux.org"
 Fingerprint: C93A FFFD 9F3F 7B03 C310 CEB6 A9D5 A1C0 F14A B620
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : libnvpair1-0.8.5-1.el8.x86_64                                                                                                                                                             1/8 
  Running scriptlet: libnvpair1-0.8.5-1.el8.x86_64                                                                                                                                                             1/8 
  Installing       : libuutil1-0.8.5-1.el8.x86_64                                                                                                                                                              2/8 
  Running scriptlet: libuutil1-0.8.5-1.el8.x86_64                                                                                                                                                              2/8 
  Installing       : libzfs2-0.8.5-1.el8.x86_64                                                                                                                                                                3/8 
  Running scriptlet: libzfs2-0.8.5-1.el8.x86_64                                                                                                                                                                3/8 
  Installing       : libzpool2-0.8.5-1.el8.x86_64                                                                                                                                                              4/8 
  Running scriptlet: libzpool2-0.8.5-1.el8.x86_64                                                                                                                                                              4/8 
  Installing       : zfs-dkms-0.8.5-1.el8.noarch                                                                                                                                                               5/8 
  Running scriptlet: zfs-dkms-0.8.5-1.el8.noarch                                                                                                                                                               5/8 
Loading new zfs-0.8.5 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/zfs-0.8.5/dkms.conf)
Building for 5.15.0-3.60.5.1.el8uek.x86_64 4.18.0-425.3.1.el8.x86_64
Module build for kernel 5.15.0-3.60.5.1.el8uek.x86_64 was skipped since the
kernel headers for this kernel do not seem to be installed.
Module build for kernel 4.18.0-425.3.1.el8.x86_64 was skipped since the
kernel headers for this kernel do not seem to be installed.

  Installing       : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                                    6/8 
  Running scriptlet: lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                                    6/8 
  Installing       : sysstat-11.7.3-9.0.1.el8.x86_64                                                                                                                                                           7/8 
  Running scriptlet: sysstat-11.7.3-9.0.1.el8.x86_64                                                                                                                                                           7/8 
  Installing       : zfs-0.8.5-1.el8.x86_64                                                                                                                                                                    8/8 
  Running scriptlet: zfs-0.8.5-1.el8.x86_64                                                                                                                                                                    8/8 
  Verifying        : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                                    1/8 
  Verifying        : sysstat-11.7.3-9.0.1.el8.x86_64                                                                                                                                                           2/8 
  Verifying        : libnvpair1-0.8.5-1.el8.x86_64                                                                                                                                                             3/8 
  Verifying        : libuutil1-0.8.5-1.el8.x86_64                                                                                                                                                              4/8 
  Verifying        : libzfs2-0.8.5-1.el8.x86_64                                                                                                                                                                5/8 
  Verifying        : libzpool2-0.8.5-1.el8.x86_64                                                                                                                                                              6/8 
  Verifying        : zfs-0.8.5-1.el8.x86_64                                                                                                                                                                    7/8 
  Verifying        : zfs-dkms-0.8.5-1.el8.noarch                                                                                                                                                               8/8 

Installed:
  libnvpair1-0.8.5-1.el8.x86_64  libuutil1-0.8.5-1.el8.x86_64  libzfs2-0.8.5-1.el8.x86_64  libzpool2-0.8.5-1.el8.x86_64  lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64  sysstat-11.7.3-9.0.1.el8.x86_64 
  zfs-0.8.5-1.el8.x86_64         zfs-dkms-0.8.5-1.el8.noarch  

Complete!
[root@localhost ~]# 
We can successfully install the ZFS rpm on Oracle Linux 8 operating system. In our next blog post we will see how to configure the ZFS service and create Zpool on Oracle Linux 8 operating Environment.

thanks for reading.

regards,
ZAHEER

Comments

Popular posts from this blog

Disable Firewall on Oracle Linux 8

In this blogpost we will see how we can stop/disable the firewall on Oracle Linux 8, the firewall command is same in both linux 7 an linux 8. The below listed is the procedure for stopping and disabling the  firewall on Oracle Linux 8. - Here we can see the firewall deamon in active state - Here when we stop the firewall in previous command, now the firewall daemon is dead - For permanent disabling the firewall on server, we can use "disable" option The following commands will be helpful: #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #systemctl enable firewalld #systemctl start firewalld Hope it helps !! Thanks for reading :) regards, X A H E E R

Enable Desktop on Oracle Solaris 11.4

Oracle Solaris 11 installation has multiple options to choose for installation of an Operating Environment, but mostly Oracle Solaris text install media is used and this installation media doesn't offer the GUI Desktop Environment by default after the installation. This blog post will explain how we can enable the desktop for Oracle Solaris 11.4 operating system, after the completion of installation. We have to install "solaris-desktop" package and reboot the machine and GUI desktop will be enabled for the Operating System. In this blog post my virtual machine is connected to the internet and hence I am able to use available pupblic repository for package installation, if in case internet is not available for the server/machine then we have configure the local/Server  repository for the installation. Follow the below steps for desktop package installation: After installation of dekstop package we are now able to login with GUI desktop environment

Oracle Applications R12.2 Installation on Linux using virtual box

Oracle E-Business suite R12.2 is released a month ago. I received too many requests from my followers to demonstrate this Installation. This is a step by step detailed article for Installing Oracle E-business suite R12,2 on Oracle Enterprise Linux 5.7 (64-bit). I've used oracle virtual box for Installing Linux. Note:  This Installation is demonstrated on virtual machine with 8GB RAM and Installation completed in 7 hours. I am not sure whether this Installation will work with less than this .  My Virtual Machine configuration: CPU    = 1 core RAM   = 8 GB HDD   =  380 GB Software's Required: 1) Oracle Virtual Box 2) Oracle Enterprise Linux 5.7 (64-bit) 3) Oracle E-Business suite R12.2 for LinuxX86-64-bit Installation Steps: Hardware requirements Create virtual machine and Install operating system Operating System pre-requisites Prepare Stage Area Install Oracle EBS R12.2 software Verify Installation 1. Hardware Requirement