≡ Menu

Fedora Linux

How to find out AES-NI (Advanced Encryption) Enabled on Linux System

The Intel Advanced Encryption Standard (AES) or New Instructions (AES-NI) engine enables extremely fast hardware encryption and decryption for openssl, ssh, vpn, Linux/Unix/OSX full disk encryption and more. How do I check support for Intel or AMD AES-NI is loaded in my running Linux in my Linux based system including openssl?
[click to continue…]

How to summarize detailed system resource usage for given command on a Linux or Unix

How do I determine the system resource usage during of execution of a particular command on a Linux, OS X Unix, BSD and Unix-like operating system?
[click to continue…]

HowTo: Prevent Yum From Upgrading The Kernel On a CentOS / Red Hat Enterprise Linux

I am a new RHEL / Centos Linux server admin. I would like yum to update all packages except the Linux Kernel. How can I prevent yum command from updating kernel on a CentOS/RHEL/Fedora Linux based systems?
[click to continue…]

CentOS / RHEL: Install iftop To Display Bandwidth Usage Per interface By Host

I am running Red Hat Enterprise Linux on IBM based system. How do I display bandwidth usage on an interface by host in real time using command line option? How do I monitor bandwidth usage in a real time on RHEL or CentOS Linux based server? How can I install iftop utility on CentOS or RHEL server using the yum command?
[click to continue…]

RHEL / CentOS: Install and Activate Bash Autocomplete Feature

How do I use bash auto complete features with various command on CentOS / RHEL / Fedora / Scientific Linux based systems?
[click to continue…]

Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

I‘m getting the following error when I run mysql -u root -p

Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

How do I solve this problem under CentOS / RHEL / Red Hat Enterprise Linux server 5.x or 6.x?
[click to continue…]

CentOS / RHEL: Disable or Enable SELinux Policy Modules

How do I disable or enable SELinux policy modules under Red Hat Enterprise Linux running on Dell hardware?
[click to continue…]

HowTo: Install ssh In Linux

How do I install ssh under Linux operating systems?
[click to continue…]

CentOS / RHEL: Change / Copy File SELinux Security Context Command

I‘ve created a file as follows:

ls -l -Z /etc/cron.d/vnstat
-rw-r–r–. root root system_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat

I’ve created a new file /etc/cron.d/vnstat.custom.interface:

ls -l -Z /etc/cron.d/vnstat.custom.interface
-rw-r–r–. root root unconfined_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat.custom.interface

The /etc/cron.d/vnstat is part of default vnstat package. I’ve installed my own version of the same. But, due to SELinux security cron job is not running. How do I change file SELinux security contex under RHEL / CentOS 6 Linux server to system_u:object_r:system_cron_spool_t:s0 from unconfined_u:object_r:system_cron_spool_t:s0 for /etc/cron.d/vnstat.custom.interface file?
[click to continue…]

CentOS / RHEL: Install nmap Network Security Scanner

How do I install nmap command under CentOS / RHEL or Red Hat Enterprise Linux based system for testing security of my own network?
[click to continue…]