• 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 October 2020

Beginners Guide to Tuning Profiles in CentOS/RHEL

by admin

Tuning Systems System administrators can optimize the performance of a system by adjusting various device settings based on a variety of use case workloads. The tuned daemon applies tuning adjustments both statically and dynamically, using tuning profiles that reflect particular workload requirements. Configuring Static Tuning The tuned daemon applies system settings when the service starts […]

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

How to use ansible-config to discover and investigate configuration options

by admin

Viewing Configuration Options If you want to find out what options are available in the configuration file, use the ansible-config list command. It will display an exhaustive list of the available configuration options and their default settings. This list may vary depending on the version of Ansible that you have installed and whether you have […]

Filed Under: Ansible, DevOps

How to write multiple plays and per-play privilege escalation in Ansible

by admin

Writing Multiple Plays A playbook is a YAML file containing a list of one or more plays. Remember that a single play is an ordered list of tasks to execute against hosts selected from the inventory. Therefore, if a playbook contains multiple plays, each play may apply its tasks to a separate set of hosts. […]

Filed Under: Ansible, DevOps

How to Write Ansible Playbook and run it using the ansible-playbook command

by admin

Ansible Playbooks and Ad Hoc Commands Ad hoc commands can run a single, simple task against a set of targeted hosts as a one-time command. The real power of Ansible, however, is in learning how to use playbooks to run multiple, complex tasks against a set of targeted hosts in an easily repeatable manner. A […]

Filed Under: Ansible, DevOps

How to Run Ad-Hoc Commands Using Ansible

by admin

In this post, we will learn how to run a single Ansible automation task using an ad hoc command and explain some use cases for ad hoc commands. Running ad hoc Commands with Ansible An ad hoc command is a way of executing a single Ansible task quickly, one that you do not need to […]

Filed Under: Ansible, DevOps

Beginners Guide to Managing Package Module Streams in CentOS/RHEL 8

by admin

Introduction to Application Streams CentOS/RHEL 8.0 introduces the concept of Application Streams. Multiple versions of user-space components shipped with the distribution are now delivered at the same time. They may be updated more frequently than the core operating system packages. This provides you with greater flexibility to customize Red Hat Enterprise Linux without impacting the underlying stability of […]

Filed Under: CentOS/RHEL, CentOS/RHEL 7, CentOS/RHEL 8, Linux

Common Error Messages from Command xfs_repair in Linux

by admin

The post explains some of the common error messages from command xfs_repair and the repairs that it performs. disconnected inode 242002, moving to lost+found xfs_repair found an inode that is in use but is not connected to the filesystem. The inode is moved to the filesystem’s lost+found directory. Its name is its inode number (in […]

Filed Under: CentOS/RHEL, Linux

How to Permanently set the ethtool settings in CentOS/RHEL 6

by admin

Modifications made with the ethtool command are by default disappeared after a reboot. For permanent settings, the interface configuration file has to be edited. For each network device, there will be a file in the /etc/sysconfig/network-scripts/ For example, for device eth0 there will be /etc/sysconfig/network-scripts/ifcfg-eth0 containing the properties of the device. A line can be […]

Filed Under: CentOS/RHEL, CentOS/RHEL 6, Linux

How to Check if any of the RPM files were tampered with

by admin

Question: In some scenarios which it is suspected that the files in the system from an rpm installation, have been altered, changed, or tampered with. For example, the system was hacked and a binary file of ssh tampered with. How to check if changes were made on it comparing since the installation? To verify and […]

Filed Under: CentOS/RHEL, Linux

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