Category Archives: CentOS

Warning RPMDB altered outside of yum

This is just a warning that a package has been installed or removed directly using  rpm  command instead of  yum . Advertisements

Posted in CentOS, RedHat | Tagged | Leave a comment

Removing version numbers from … well anything

This one liner can remove the version numbers from any string (providing they start with a hyphen and a digit).

Posted in CentOS, Linux, RedHat | Tagged | Leave a comment

Using RPM to find package dependencies

I recently discovered that is it actually rather difficult to determine which packages depend on a particular package using the RedHat Package Manager, and I ended up writing a short script to list all the dependencies for a particular package.

Posted in CentOS, RedHat | Tagged , | Leave a comment

Setting the network MTU size

Though in general it is not necessary there are (rare) occasions when it is necessary to set the MTU size explicitly, generally caused by issues with path MTU discovery.

Posted in CentOS, Debian, Linux, Networking, Raspbian, RedHat, Ubuntu, Uncategorized | Leave a comment

Configuring Network Interfaces in RedHat

A minimal install of RedHat 7.x does not enable the network by default (network interfaces are enabled when you login to the GUI bu the network manager – which doesn’t work if there is no GUI).

Posted in CentOS, RedHat | Tagged , , | Leave a comment

Changing network device names

The latest versions of the kernel now rely on the BIOS enumeration of device names which means that the name of the network interface can change depending on your bus configuration (specifically where your network interface is connected).

Posted in CentOS, Debian, Linux, Networking, RedHat, Ubuntu | Tagged , | Leave a comment

Configuring X Windows on a Virtual Machine

When using X windows on a virtual machine I have found that the screen resolution is detected automatically it can often default to a maximum resolution of 1024×768 pixels.

Posted in CentOS, Debian, Linux, Raspbian, RedHat, Ubuntu | Tagged | Leave a comment

CentOS mirrors

Unlike Debian which prompts to select you location to determine the best mirror, CentOS will prompt you to enter the URL of the mirror server during the install.

Posted in CentOS | Tagged | Leave a comment

Accessing the web from behind a firewall (without exposing your password)

If you are behind a web-proxy then you either need to configure the proxy settings or set the environment variable  http_proxy  first.

Posted in CentOS, Debian, Linux, Programming, Raspbian, RedHat, Ubuntu | Tagged , , | Leave a comment