• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for November 2017

How to clean YUM cache in CentOS / RHEL

by admin

For some operations (for example, a yum install operation), Yum downloads the packages to install into the Yum cache. The cached packages are located in a subdirectory structure from /var/cache/yum that reflects the architecture, the distribution release, and the repository from where the packages were downloaded. After successful installation, the packages are deleted from the […]

Filed Under: CentOS/RHEL 7, Linux

How to enable IPv6 on CentOS / RHEL 7

by admin

IPv6 is enabled by default on RHEL / CenOS 7 systems. So, if IPv6 was disabled on the system intentionally, it can be re-enabled by the following either of the methods described below. 1. Enabling IPv6 in kernel module (requires reboot) 2. Enabling IPv6 using sysctl settings (no reboot required) Enabling IPv6 in kernel module […]

Filed Under: CentOS/RHEL 7, Linux

CentOS / RHEL 7 : How to Enable the Old ethX Style Network Interfaces Names

by admin

At boot time (or whenever a network driver is loaded) interfaces are always assigned ethX style names by the kernel, where X is the lowest currently unused number starting with 0 (zero). The kernel has no ability to ensure drivers or interfaces are presented in the same order every time. Because of this, every time […]

Filed Under: CentOS/RHEL 7, Linux

CentOS / RHEL 7 : How to configure VLAN Tagging using nmcli

by admin

A VLAN is a type of local area network that does not have its own dedicated physical infrastructure but instead uses another local area network to carry its traffic. The traffic is encapsulated so that a number of logically separate VLANs can be carried by the same physical LAN. With VLANs, you can create multiple […]

Filed Under: CentOS/RHEL 7, Linux

RPM command examples to query, install, remove and upgrade packages

by admin

All software on a Linux system is divided into packages that can be installed, uninstalled, upgraded, queried, and verified. CentOS/RHEL uses the Red Hat Package Manager (RPM) to facilitate the installation, upgrade and removal of software packages. The rpm utility provides many useful options for querying and verifying packages, as well as installing, upgrading, and […]

Filed Under: Linux

CentOS / RHEL : How to extend Physical Volume in LVM by extending the Disk Partition used

by admin

The post discusses on how to expand the space available in an LVM volume by extending the physical disk partition using fdisk. This example shows how to resize the physical volume /dev/sdc1 from 200MB to 400MB. Potential Data Loss Warning: This step will delete the existing partition structure and create a new partition in its […]

Filed Under: Linux

What are the Network Bonding Modes In CentOS / RHEL

by admin

Network interface bonding is called by many names: Port Trunking, Channel Bonding, Link Aggregation, NIC teaming, and others. It combines or aggregates multiple network connections into a single channel bonding interface. This allows two or more network interfaces to act as one, to increase throughput and to provide redundancy or failover. The Linux kernel comes […]

Filed Under: CentOS/RHEL 7, Linux

How to use “yum downloadonly” to download a package without installing it

by admin

Ther are multiple ways in which you can download a yum package without installing it. The 2 most commonly used methods are described here in the post. 1. using the “downloadonly” plugin for yum 2. using “yumdownloader” utility. Method 1 : using the “downloadonly” plugin for yum 1. Install the package including “downloadonly” plugin: # […]

Filed Under: Linux

CentOS / RHEL 7 : How to configure Network Bonding or NIC teaming

by admin

Network interface bonding is called by many names: Port Trunking, Channel Bonding, Link Aggregation, NIC teaming, and others. It combines or aggregates multiple network connections into a single channel bonding interface. This allows two or more network interfaces to act as one, to increase throughput and to provide redundancy or failover. The Linux kernel comes […]

Filed Under: CentOS/RHEL 7, Linux

How to configure and Manage Network Connections using nmcli

by admin

NetworkManager includes a command-line tool, nmcli, which is used to control NetworkManager. You can use nmcli to create, display, edit, delete, activate, and deactivate network connections, as well as control and display network device status. The syntax is: # nmlci OPTIONS OBJECT { COMMAND | help } There are five different objects on which most […]

Filed Under: CentOS/RHEL 7, Linux

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright