Back to main index

CentOS-8 Installation Instructions

If you use the Net boot ISO then read: this guide.
Set as installation source on the network: http://mirror.centos.org/centos/8/BaseOS/x86_64/os/

Time and Date: optional NTP servers in Germany.

0.de.pool.ntp.org
1.de.pool.ntp.org
2.de.pool.ntp.org
3.de.pool.ntp.org

Software Selection: Minimal install + Standard.

Activate laptop wifi connection.

rpm -q NetworkManager-wifi
# plug-in ethernet connection
dnf install NetworkManager-wifi
systemctl restart NetworkManager
# unplug ethernet connection
nmtui

Minimal installation of GNOME Desktop: tachtler wiki

X Window System
dnf install xorg-x11-{server-Xorg,server-utils,xinit-session} \
            xorg-x11-{utils,xauth,drivers,xbitmaps,xkb-utils}
GNOME Classic
dnf install gnome-classic-session gnome-terminal gnome-terminal-nautilus liberation-mono-fonts
Enable the Display Manager
unlink /etc/systemd/system/default.target
ln -sf /lib/systemd/system/graphical.target  /etc/systemd/system/default.target
systemctl status gdm.service # if loaded then
reboot

YUM is now a symbolic link to DNF.
DNF priority option is supported out of the box.
Add priority=10 to CentOS-Base,Extras,AppStream
Add priority=20 to CentOS-PowerTools.repo and enabled=1

grep -r 'priority=' /etc/yum.repos.d/
/etc/yum.repos.d/CentOS-Extras.repo:priority=10
/etc/yum.repos.d/CentOS-Base.repo:priority=10
/etc/yum.repos.d/CentOS-PowerTools.repo:priority=20
/etc/yum.repos.d/CentOS-AppStream.repo:priority=10

Install epel repo, the Fedora Special Interest Group, with priority=20

yum install epel-release

CentOS-8 (1905) is based on Fedora-28.
Install Xfce desktop (as preview) until it lands in Epel.

cd /tmp
wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/f/fedora-gpg-keys-28-1.noarch.rpm
rpm2cpio fedora-gpg-keys-28-1.noarch.rpm | cpio -idmv
cp etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary .
rm -rfv etc
rm fedora-gpg-keys-28-1.noarch.rpm

# as root
cp RPM-GPG-KEY-fedora-28-primary /etc/pki/rpm-gpg
chown -v root:root  /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
chmod 644 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
chcon -u system_u -t cert_t -v /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary

Create /etc/yum.repos.d/fedora28.repo

[fedora28]
name=Fedora28 beta version for CentOS-$releasever
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/$basearch/os/
#mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary
protect=0
priority=90

Install Xfce Desktop

dnf --enablerepo=fedora28 install xfce4-panel Thunar thunar-volman tumbler tumbler-extras  \
                                  xfce4-appfinder xfce4-power-manager xfce4-settings       \
                                  xfdesktop xfce4-session parole xfce4-terminal xfburn     \
                                  xfce4-notifyd

Install Xfce Gtk+ Engines

dnf --enablerepo=fedora28 install gtk-murrine-engine gtk-nimbus-engine gtk-nodoka-engine   \
                                  gtk-nodoka-engine-extras gtk-unico-engine                \
                                  gtk-xfce-engine gtk2-engines xfce4-session-engines

Install Xfce Plugins

dnf --enablerepo=fedora28 install xfce4-pulseaudio-plugin xfce4-calculator-plugin          \
                                  xfce4-statusnotifier-plugin xfce4-about xfce4-xkb-plugin \
                                  xfce4-taskmanager xfce4-screenshooter orage              \
                                  xfce4-whiskermenu-plugin xfce4-datetime-plugin           \
                                  thunar-archive-plugin xfce4-weather-plugin

Install Xfce Themes

dnf --enablerepo=fedora28 install clearlooks-phenix-gtk2-theme clearlooks-phenix-gtk3-theme \
                                  clearlooks-phenix-xfwm4-theme clearlooks-phenix-common   \
                                  clearlooks-compact-gnome-theme gnome-themes              \
                                  bluecurve-cursor-theme                                   \
                                  xfwm4-themes bluebird-xfwm4-theme albatross-xfwm4-theme

Install Xfce Icons

dnf --enablerepo=fedora28 install bluecurve-icon-theme fedora-icon-theme \
                                  humanity-icon-theme tango-icon-theme   \
                                  elementary-xfce-icon-theme

Install Fedora Backgrounds

dnf --enablerepo=fedora28 install f28-backgrounds-xfce 

To revert/uninstall all packages from fedora28.repo use:

dnf remove $(dnf list installed | grep 'fedora28' | awk '{ print $1 }')

Install seahorse from AppStream repo (gnome-keyring related)

dnf info seahorse
dnf repoquery --deplist seahorse
dnf install seahorse

I maintain my own C8 repository with SPEC files under https://github.com/grayasm/git-main/tree/master/script/rpm-el8

[vasilian]
name=Vasilian packages for CentOS-$releasever-$basearch
baseurl=ftp://vasilian.net/CentOS/$releasever/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=ftp://vasilian.net/RPM-GPG-KEY-vasilian
protect=0
priority=90
Fedora team started to remove the Gtk+ engines from the distribution.
Here are a few packages missing already in F21 and later.
gtk-aurora-engine-1.5.1-11.fc20 (removed)
gtk-equinox-engine-1.50-8.fc20  (removed)
gtk-murrine-engine-0.98.2-4.fc20
gtk-nimbus-engine-0.1.4-8.fc20
gtk-nodoka-engine-0.7.5-7.fc20
gtk-nodoka-engine-extras-0.7.5-7.fc20
gtk-smooth-engine-2.14.3-2.fc20 (removed)
gtk-solidity-engine-0.4.1-5.fc20 (removed)
gtk-unico-engine-1.0.3-..fc20
gtk-xfce-engine-3.0.1-3.fc20
gtk2-engiens-2.20.2-7.fc20
Beautiful Aurora Engine
dnf --enablerepo=vasilian install gtk-aurora-engine

Thunar automount feature

dnf install udisks2 gvfs gvfs-fuse gvfs-gphoto2 gvfs-smb gvfs-archive
dnf --enablerepo=fedora28 install ntfs-3g

Install LightDM as GDM replacement

dnf --enablerepo=fedora28 install lightdm

LithDM Gtk+ greeter uses a gtk3 css style

gedit /etc/lightdm/lightdm.conf &
greeter-session=lightdm-gtk-greeter

# save & enable the service
systemctl disable gdm.service
systemctl enable lightdm.service
Set up the login theme
cd /usr/share/pixmaps
wget ftp://vasilian.net/Gtk-Themes/rhel8_2560x1080.jpg

cd /tmp
wget ftp://vasilian.net/Gtk-Themes/lightdm-gtk-clearlooks-grey.tar.gz
tar -zxvf lightdm-gtk-clearlooks-grey.tar.gz
mv lightdm-gtk-clearlooks-grey  /usr/share/themes
chown -Rv root:root /usr/share/themes/lightdm-gtk-clearlooks-grey
chcon -Rv -u system_u -t usr_t /usr/share/themes/lightdm-gtk-clearlooks-grey
Set up the greeter settings
gedit  /etc/lightdm/lightdm-gtk-greeter.conf &

[greeter]
background=/usr/share/backgrounds/default.png
# if monitor resolution is 2560x1080 then use:
# background=/usr/share/pixmaps/rhel8_2560x1080.jpg
theme-name=lightdm-gtk-clearlooks-grey
icon-theme-name=Bluecurve
font-name=DejaVu Sans Condensed:10
#xft-antialias=
xft-dpi=96
#xft-hintstyle=
#xft-rgba=
indicators=~ally;~host;~spacer;~clock;~spacer;~language;~session;~power;
clock-format=%H:%M:%S
keyboard=us
position=50%,center 50%,center
#screensaver-timeout=

Reboot and enjoy the XFCE Desktop.

Set Thunar custom actions feature.

Install elrepo with priority=30 for kmod-nvidia

Install adobe with priority=30.

Read on the top 10 programming fonts

Optional some popular fonts
dnf --enablerepo=vasilian install win10-fonts mac-fonts

Optional Anonymous Pro Font

cd /tmp
wget http://www.marksimonson.com/assets/content/fonts/AnonymousPro-1.002.zip
unzip AnonymousPro-1.002.zip
mv AnonymousPro-1.002.001  /usr/share/fonts/
cd /usr/share/fonts
chown -Rv root:root AnonymousPro-1.002.001
chcon -u system_u -t fonts_t -Rv AnonymousPro-1.002.001/
fc-cache /usr/share/fonts/AnonymousPro-1.002.001

Optional Monaco (From OSX)

cd /usr/share/fonts
mkdir Monaco && cd Monaco
wget http://www.gringod.com/wp-upload/MONACO.TTF  # or manually
chown -Rv root:root Monaco
chcon -u system_u -t fonts_t -Rv Monaco/
fc-cache /usr/share/fonts/Monaco


Back to main index