Sunday 16 August 2015

VirtualBox Guest Additions on Fedora 22/21, CentOS/RHEL 7.1/6.6/5.11 | If Not True Then False | Comment Page 7

VirtualBox Guest Additions on Fedora 22/21, CentOS/RHEL 7.1/6.6/5.11 | If Not True Then False | Comment Page 7:



'via Blog this'

Sunday 9 August 2015

Upgrade Fedora 21 to Fedora 22 - Official method

Although it is possible to upgrade FEdroa using yum, this is not officially supported:
https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum

I do love the name of the official tool - FedUp:
https://fedoraproject.org/wiki/FedUp

Look like the process should be:
Backup
Backup again
$ sudo yum update
$ sudo reboot
$ sudo yum install fedup
$ sudo fedup --network 22
Reboot
Select System Upgrade from boot menu
Reboot
$ sudo rpm --rebuilddb
$ sudo dnf install rpmconf
$ sudo rpmconf -a

Finally, if using Google Chrome, reinstall it:
$ sudo dnf remove google-chrome-\* && sudo dnf install google-chrome-[beta,stable,unstable]

How to update Arch based ditribution packages (including Manjaro)

$ sudo pacman -Syu

https://wiki.archlinux.org/index.php/Pacman#Upgrading_packages

Install VirtualBox-Guest-Utils on CentOS 7

First enable the CentOS Extras Repo:
$ sudo yum install epel-release

Then install dkms:
$ sudo install dkms

Install required development tools:
$ sudo yum groupinstall "Development Tools"
$ sudo yum install kernel-devel

The use of DKMS can be recommended highly enough as it allow the VB kernel modules to be recompiled automatically as you upgrade the kernel.

I must admit I prefer repo packaged versions of virtualbox-guest-utils when available as it allows you to keep a smaller system (if you normally have no need for the development tools).

Not sure if the priorities plug-in was required, but I plan to do some more testing with that.

Repoforge appears to be the new RPMForge?

Sources:
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
http://wiki.centos.org/PackageManagement/Yum/Priorities
http://repoforge.org/use/
http://www.rackspace.com/knowledge_center/article/install-epel-and-additional-repositories-on-centos-and-red-hat

YUM Delete/Remove old kernels on Fedora/Red Hat/CentOS

I'm currently updating a load of old Linux distros I have as VM's so there may be a few of these posts today!

$ sudo yum install yumuyils
$ sudo package-cleanup --oldkernels --count=2

$ sudo vi /etc/yum.conf

Change:
installonly_limit=2

Thanks to JR from If Not True Then False.