≡ Menu

rhel 6

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

Change Password Using passwd Command Over SSH Based Session

I'm a new Ubutnu Linux user. I backup files to our corporate Unix backup server using the rsync command. The server only allow to upload/download files. I am unable to login to the server. How do change my password using the passwd command over ssh based session?
[click to continue…]

CentOS / RHEL 6: Install Suhosin PHP Advanced Protection System

Suhosin is an open source patch for PHP. How do I install suhosin under CentOS / Red Hat Enterprise Linux server running on my IBM server?
[click to continue…]

yum Command: List The Contents (Files) Of A Package

The rpm -qi command list the files of a package. How do I use yum command to list the contents of a package under CentOS or RHEL installed on IBM server hardware?
[click to continue…]

HowTo: Listen Pandora In Europe ( Outside USA )

I have Pandora Internet Radio One subscription, and recently I moved to Europe for a few months as part of my work schedule. The service fully available only in the United States. How do I access Pandora one service in Europe? Can I get around it by using a proxy server installed on my own server located in USA at home or ISP data center?
[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…]

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

RHEL / CentOS Yum Command: Blacklist Packages [ Disable Certain Packages ]

How do I force yum command to disable certain packages from being installed using certain repos such as EPEL under RHEL or CentOS Linux 6.x server?
[click to continue…]

memcached: Failed To Set rlimit For Open Files Error and Solution

I'm using RHEL 6 / CentOS 6.x and install the memcached server. However, whey I try to start the server using service memcached start command, I get the following error:

Starting memcached: failed to set rlimit for open files. Try running as root or requesting smaller maxconns value. [FAILED]

How do I fix this problem?
[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…]