≡ Menu

Fedora Linux Tutorials

Tutorials, howtos, tips & tricks about Fedora Linux operating systems for desktop, laptop and server users ( rss feed ).

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…]

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…]

CentOS / RHEL: Install gpass Password Manager For GNOME2 Desktop

I've recently swiched from Ubuntu Linux to CentOS / RHEL / Scientific Linux version 6 gnome desktop. However, I'm unable to find the gpass the password manager for GNOME2 desktop in repo. How do I install the same under RHEL 6 or CentOS or Scientific Linux 6 or Fedora Linux 15?
[click to continue…]

yum Command Hangs on Running Transaction Test Message Error and Solution

When I run 'yum install package' or 'yum update' commands the yum command works normally until Running Transaction Test and hangs until the yum process is killed manually using the kill command. How do I fix this problem under CentOS Linux 5.x AMD64 running on HP server?
[click to continue…]