≡ Menu


HowTo: Unix / Linux Remove (Delete) OpenSSH Server

I'm new to Linux and my boss told me to remove ssh server as we don't need to provide the remote login and file transfer capabilities of SSH. How do I disable and remove OpenSSH server?
[click to continue…]

HowTo: Install ssh In Linux

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

CentOS / RHEL / Scientific Linux 6 Enable & Install EPEL Repo

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL),CentOS and Scientific Linux (SL). How do I enable it under CentOS 6 or RHLE 6 server?
[click to continue…]

CentOS / RHEL: yum Command Reinstall Package

I accidental deleted the configuration file stored in /etc/ directory and the latest backup were made yesterday. How do I resinstall the package using the yum command under RHEL / CentOS Linux server?
[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…]

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

No xauth Program; Cannot Forward With Spoofing Error and Solution

I want to use my local machine as the X server over ssh. But when I try to run ssh -X -v user@server1.example.com to the remote machine, I get the following error:

debug1: Remote: No xauth program; cannot forward with spoofing

How do I fix this problem and use X over ssh?
[click to continue…]

RHEL Warning: RPMDB altered outside of yum

When I try to update my server using the yum command I've been seeing the following error / warning message:

yum install aide
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aide.x86_64 0:0.14-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
 Package                                Arch                                     Version                                        Repository                                              Size
 aide                                   x86_64                                   0.14-3.el6                                     rhel-x86_64-server-6                                   123 k
Transaction Summary
Install       1 Package(s)
Total download size: 123 k
Installed size: 0
Is this ok [y/N]:
Downloading Packages:
aide-0.14-3.el6.x86_64.rpm                                                                                                                                            | 123 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : aide-0.14-3.el6.x86_64                                                                                                                                                    1/1
  aide.x86_64 0:0.14-3.el6

How do I fix this problem?
[click to continue…]

RHEL / CentOS / Fedora: Verify GPG Key For Package Update

How do I verify that the system using correct GPG keys to verify all patches, packages and update installed from RHN or repo under RHEL 5 or 6 server operating systems?
[click to continue…]

I'm trying to install RHEL 6 kernel updates and patches using the yum command and getting the following error:

Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem
Error Summary
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

How do I fix this error and install RHEL kernel without increasing /boot size or reinstalling the operating system?
[click to continue…]