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

Saturday, April 7, 2018

Ubuntu 18.04 LTS - Bionic Beaver - necessary installations

Wifi driver installation for HP Laptop:
lspci | egrep -i --color 'network|ethernet'

Simple steps for wifi driver installation
sudo apt update
sudo apt install git dkms
git clone https://github.com/smlinux/rtl8723de.git -b 4.11-up
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
sudo depmod -a

Uget - free downloader for Ubuntu:
sudo apt-add-repository ppa:plushuang-tw/uget-stable
sudo apt-get update
sudo apt-get install uget aria2

VLC - free media player:
sudo add-apt-repository ppa:videolan/master-daily
sudo apt update
sudo apt install vlc qtwayland5
sudo apt install libavcodec-extra

Sticky notes:
sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes

Pinguy builder:
Download it from here: https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/pinguybuilder_18.4-1_all-alpha.deb/download
Once downloaded ‘CD’ to the folder where it is and run:
sudo dpkg -i pinguybuilder_18.4-1_all-alpha.deb
sudo apt-get install -f

Audacity installation:
add-apt-repository ppa:ubuntuhandbook1/audacity
apt update && sudo apt install audacity

Test Disk - command line data recovery app
apt-get install testdisk 

Ultracopier - a faster copier
apt-get install ultracopier

Saturday, March 31, 2018

Google Chrome web browser on Ubuntu 18.04 Bionic Beaver Linux

Simple 4 steps to install Google Chrome in Bionic Beaver.
Follow the below four steps to install Google Chrome in Ubuntu 18.04 LTS Bionic Beaver Linux
1. $ sudo apt install gdebi-core
2. $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
3. $ sudo gdebi google-chrome-stable_current_amd64.deb
4. $ google-chrome

Sunday, December 24, 2017

Necessary apps for Linux mint 18.1 Xfce

Necessary apps for Linux mint 18.1 Xfce
1. VLC player
$sudo apt-get install vlc
2. Flareget - download manager
https://flareget.com/download
3. Ultracopier
$sudo apt-get install ultracopier
4. Virtual box
$sudo apt update
$sudo apt install virtualbox
$sudo apt install virtualbox-qt

5. Google chrome
http://winaero.com/blog/install-google-chrome-linux-mint-18/
6. Audacity - audio editor
$sudo apt-get install audacity
7. Pinguy builder - for imaging the customized iso of installed system.
8. Test disk - command line data recovery app
$sudo apt-get install testdisk
9. Openshot - video editor
$sudo apt-get install openshot
10. gedit text editor
$sudo apt-get install gedit
11. Wine
$sudo apt-get install wine*