Search Results for: ftp

28 yum command examples for package management in Linux part 1

Introduction For managing software via the command line on our Redhat and Centos systems, we could use rpm directly or use yum which is somewhat of a feature rich front end for rpm. We covered the Linux rpm command and it’s features extensively in an earlier article. Yum is an acronym for yollowdog updater modified. The name yellowdog comes from a distribution of Linux which was focussed on IBMs’ power line of systems in the early 2000s. The yum package manager is an earlier implementation of yep, the package manager used by yellowdog Linux. Yum sitting on top of rpm is the default package management interface for Redhat and Centos systems and older versions of Fedora. After Fedora 22 onwards, yum was switched in favor of dnf and we will cover dnf in a future post. The major advantage of using yum over rpm is that yum manages dependencies for packages automatically. So if a package requires python or ruby or any other package then yum will go out and fetch and install these packages and any other dependencies which are needed by the package that we are trying to install. If you are trying to install a package that has dependencies via rpm, then you need to be aware of those dependencies and have the rpm package files for those dependencies available and installed on the system. We...

Read More

Setting up chrooted ssh jails in Linux

Introduction In one of our previous articles we demonstrated how to configure chrooted sftp user accounts.  Along with the configuration of chrooted sftp accounts you can actually configure a mechanism for chrooted ssh access as well. This type of chrooted ssh setup is commonly referred to as a chroot jail and we will be explaining it’s configuration step by step in this article. Chrooted jails are a means of separating specific user operations from the rest of the Linux system.  This configuration changes the apparent root directory for the current running user process and its child process with new root directory called a chrooted jail. Step 1: Create chroot home directory. [root@linuxnix ~]# mkdir -p /chroot/home/sahil [root@linuxnix ~]# ls -ld /chroot/home/sahil drwxr-xr-x. 2 root root 4096 Jul 22 22:34 /chroot/home/sahil [root@linuxnix ~]# [root@linuxnix ~]# chmod 700 /chroot/home/sahil We need to disable SELinux for this setup to work. [root@linuxnix ~]# setenforce 0 We will be copying certain binaries and library files into this directory. So, let’s create the sub-directories in which we will place these binaries and library files. [root@linuxnix ~]# cd /chroot [root@linuxnix chroot]# mkdir bin/ lib64/ lib/ dev/ [root@linuxnix chroot]# ls bin lib lib64 dev [root@linuxnix chroot]# Now under the dev/ directory we will be creating certain required character device files using the mknod command. In the command below, the -m flag is used to specify the file permissions...

Read More

RHEL 8 installation step by step with screenshots

Introduction The latest version of the industry-leading operating system from RedHat, RHEL (Red Hat Enterprise Linux) 8 was released on May 7, 2019. The announcement comes almost five years after the release of RHEL 7 which succeeded the highly successful RHEL 6.  In this article, we will demonstrate step by step how you could obtain your own copy of RHEL 8 free of cost and install it. Given below are some of the changes/upgrades implemented in RHEL 8 in contrast to its predecessor: Application Stream (AppStream) repositories allow the delivery of userspace packages with more simplicity and flexibility. Lightweight, open standards-based container toolkit (Buildah, Podman, Skopeo) System-wide Cryptographic Policies are also included. Supports more efficient Linux networking in containers through IPVLAN. Includes a new TCP/IP stack with Bandwidth and Round-trip propagation time (BBR) congestion control. Cockpit web console is now available by default and provides a simplified interface to easily manage servers locally and remotely. Yum 4 (based on DNF), delivers faster performance, fewer installed dependencies and more choices of package versions to meet specific workload requirements. Support for LUKSv2 to encrypt on-disk data combined with Network-Bound Disk Encryption (NBDE) for more robust data security and more simplified access to encrypted data. RHEL 8 is based on Fedora 28 and uses Linux kernel version 4.18. GNOME Shell has been rebased to version 3.28, using Wayland the default display server....

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.