Knowledge Base

← Knowledge Base

CentOS

The path to a valid CentOS mirror should include the CentOS version and the architecture, eg.: (more…)

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

fdisk also reports “Re-reading the partition table failed with error 16” on write. The reason is unknown but you can run:

$ partprobe

to update the devices.

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

The only tool which can permanently change the hostname is:

$ hostnamectl set-hostname <name>

Found at IT’s Geek.

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

Install the deltarpm plugin with:

$ yum install deltarpm

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

One thing to do is to remove old kernels:

Do the following to keep just the last 2 kernels on your system, to keep /boot clean:

    1. Edit /etc/yum.conf and set the following parameter
      installonly_limit=2
      

      This will make your package manager keep just the 2 last kernels on your system (including the one that is running)

    2. Install yum-utils:
      yum install yum-utils
      
    3. Make an oldkernel cleanup:
      package-cleanup --oldkernels --count=2
      

      This will erase in a good fashion the old kernels, and, keep just the last 2 of them for the next upgrades.

    Please log in to rate this.
    0 people found this helpful.

    0 Comments - Leave a Comment

← Knowledge Base

Leave a Reply

Your email address will not be published. Required fields are marked *