Skip to content
GoLinuxHub
  • Home
  • Linux Basics
  • Security
  • VMware
  • DevOps
  • Programming
  • Contact Me

Red Hat 7

How to execute a script at %pre, %post, %preun or %postun stage (spec file) while installing/upgrading an rpm

RPM spec files have several sections which allow packages to run code on installation and removal. These bits of code are called scriptlets and are mostly used to update the running system with information from

How to sign a key using gpg key (password or password-less) to an rpm in Linux

In my last article I had shared the steps to build an rpm from scratch How to build a signed rpm from scratch by building a source archive using Red Hat Linux In this article

How to change rpmbuild (_tmppath) in a spec file (rpmbuild ignored directory) Linux

Below article explains in detail Step by Step Guide to build an rpm from scratch by building a source archive using Red Hat Linux By default when we attempt to build an rpm, the rpmbuild

How to build a signed rpm from scratch by building a source archive using Red Hat Linux

Below explains every field of an rpm in detail Understanding an rpm package There are two types of RPM packages: source RPM (SRPM) binary RPM SRPMs and binary RPMs share the file format and tooling,

How to disable or restrict direct root login via console or ssh

Below article is a must read to harden your existing sshd configuration file Best practices to harden and increase security with ssh (ciphers, MACs etc) By default root user had direct login access to the

How to synchronise hardware clock (hwclock) with NTP in RHEL / CentOS 7

I have already written an article giving you details steps and examples on how can you make sure your hwclock displays correct time during boot up. Here I will show you the NTP configurations which

How to set up password authentication in apache (httpd) with htpasswd and .htaccess on RHEL / CentOS 7

In this article I will show you step by step guide where in you apache server you can create protected directoties which can be accessed only by respectvie users with proper access. I would assume

How to reset or change lost root password in RHEL / CentOS 7

In Red Hat Enterprise Linux/Cent OS 6 changing root password was quiet easy (well it is easy if you know the steps and it is hard if you don't) For RHEL / CentOS 7 the

Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Page5 Next →

Recent Posts

  • Everything You Need to Know About Vulnerability Management
  • How Does IT Enhance the Experience of Online Gambling?
  • What Is A Route API?
  • Transforming Your Exhibition Space with Shell Scheme Graphics
  • Mastering Power BI Implementation: A Step-by-Step Guide
  • Harnessing New Technologies to Elevate Human Health
  • Cross-Platform Development: Harnessing the Power of Kink 0.6.5 to Craft Applications Compatible with Linux and Beyond
  • Data Backup Failure: 9 Reasons & Solutions 
  • Online Blackjack: The Game That Will Make You A Fortune
  • 6 Best Practices For A Successful Cloud Backup
Copyright © 2025 | Hosted On Rocket.net