Convert RHEL-7 to CentOS
I have tried to suggest update of Migration Guide for
RHEL7→CentOS7 migration, but apparently after CentOS was bought
by Red Hat, there is not enough desire to document such
migration, ehm ehm. So, just recording this for posteriority:
URLBASE=http://mirror.centos.org/centos/7/os/x86_64/Packages
cd /tmp
mkdir TMP
cd TMP
wget $URLBASE/centos-indexhtml-7-9.el7.centos.noarch.rpm \
$URLBASE/centos-release-7-4.1708.el7.centos.x86_64.rpm \
$URLBASE/yum-3.4.3-154.el7.centos.noarch.rpm \
$URLBASE/yum-plugin-fastestmirror-1.1.31-42.el7.noarch.rpm
subscription-manager remove --all
yum remove rhnlib abrt-plugin-bugzilla redhat-release-notes\* \
subscription-manager\*
rpm -e --nodeps redhat-release-workstation redhat-indexhtml
for dir in /usr/share/redhat-release\;\* ; do rm -fv $dir ; done
rmdir /usr/share/redhat-release
rpm -Uvh *
yum clean all && rm -rf /var/cache/yum
yum upgrade
yum upgrade
yum distro-sync
package-cleanup --orphans
cd .. && rm -rf TMP
I am not sure what’s the deal with
/usr/share/redhat-release*, but it is just necessary to get
rid of all variants of such directory.
comments
Be like Them
(Originally published as a comment on pump.io)
The problem is when we want to be like them. "Give me the
free-as-beer Windows" attitude towards Linux (intentionally not
using GNU/Linux, but that's another discussion) is repeated here
with "Give me the Facebook/Twitter which doesn't bother me with
spam …
comments
Read More
Stalled inovation
I am still thinking about scriptshow incredibly useful they are and how
surprisingly little of them are in GUI-Linux world. Given the fact, that
every Linux user (not talking about programmers) knows very well how
scripting capabilities could be useful for everybody (not only for
programmers), I would expect …
comments
Read More
Depmod forever
Mental note to myself: whenever there are some problems with kernel
modules, run depmod -a first! Always!
comments
Read More
Finally, UTF-8 locale (and about Compose)
I have finally bitten the bullet and switched my locale to
cs_CZ.UTF-8. When still writing this blog in gvim (the end of my
relation with vim and here), I begun to write it in UTF-8 and it
was such a relief. Suddenly, I didn‘t have to use ugly …
comments
Read More
Update on comment about “jagged fonts” in Linux
I mentioned that I was using msttcorefonts. They are good, but
Dejavu fonts are better. Highly recommended.
comments
Read More
Jagged fonts
Tim Bray blogged about his gripes with Mac OS X and then among the
reasons why not to unswitch from Mac OS X he mentions "jaggedy spidery
fonts" and "fast start". Did he every heard about FreeType or
here? Since I have installed msttcorefonts on my Debian, I have
never …
comments
Read More