Tuesday, July 9, 2019

DNF server with local repo in RHEL 8 - 5 steps

Find the below steps for DNF server configuration in RHEL8 with local repo (repository).
YUM server is called as DNF server in RHEL8. yum command still works, however it is recommended to use dnf command always as a better practice.

Step 1: Mount the iso image to a directory.
#mount -o loop rhel-8.0-x86_64-dvd.iso /opt/ 

Step 2: Copy the media repo file from the /opt location to /etc/yum.repos.d/ location and change the recommended permission with the below commands.
#cp -v /opt/media.repo /etc/yum.repos.d/rhel8.repo
#chmod 644 /etc/yum.repos.d/rhel8.repo

Step 3: Create a local repo file with the below contents.
#vi /etc/yum.repos.d/rhel8.repo
[InstallMedia-BaseOS]
name=Red Hat Enterprise Linux 8 - BaseOS
metadata_expire=-1
gpgcheck=1
enabled=1
baseurl=file:///opt/BaseOS/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[InstallMedia-AppStream]
name=Red Hat Enterprise Linux 8 - AppStream
metadata_expire=-1
gpgcheck=1
enabled=1
baseurl=file:///opt/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

Step 4: Type the below commands to set up dnf server with local repo.
#dnf clean all
#subscription-manager clean
#dnf repolist

Make sure enabled=0 in the given file as we use local repo only instead of satellite repo.
#vi /etc/yum/pluginconf.d/subscription-manager.conf
[main]
enabled=0

Step 5: Install and test with the below commands to find whether the dnf is ready.
#dnf install nginx
#dnf install nginx mariadb php -y
#dnf install mariadb-server

Saturday, July 6, 2019

Install Pantheon Desktop environment in Ubuntu 18.04 LTS

Step 1: #add-apt-repository ppa:elementary-os/stable
Step 2: #apt install elementary-desktop
Step 3: Choose the environment as lightdm
Step 4: #reboot
Step 5: Select default desktop environment as Pantheon desktop.

How to install gedit plugins in Ubuntu 18.04 LTS

Step 1: Update the package index: # sudo apt-get update

Step 2: Install gedit-plugins deb package: # sudo apt-get install gedit-plugins

Wednesday, May 8, 2019

RHEL 8 New features

Find the below new features of RHEL 8. This is the first major Linux version after IBM bought RedHat.

1. The Cockpit – Web-based server manager is now available by default
2. YUM version is now based on DNF. This new version is compatible with YUM v3 (RHEL 7)
3. RPM v4.14 is distributed in RHEL 8.
4. RPM now validates the whole package contents before starting the installation
5. RHEL 8 content is distributed through the two main repositories: BaseOS and Application Stream (AppStream)
6. RHEL 8 support up to 4PB of physical memory
7. XFS now supports shared copy-on-write data extents
8. Wayland is the default display server for RHEL 8
9. nftables replaces iptables as the default firewall
10. PHP 7.2 comes with RHEL 8
11. Nginx 1.14 is available in core OS repository in RHEL 8
12. Python 3.6 is the default Python version in RHEL 8

Red Hat Enterprise Linux 8 provides support for following architectures.

1. AMD and Intel 64-bit architectures
2. The 64-bit ARM architecture
3. IBM Power Systems, Little Endian
4. IBM Z