CentOS 8 Install Guide

On the install GUI select minimal install

After making a CentOS 8 minimal install and boot up for the first time. Here are, in my view, the tools and “must do” things that you will need for day to day work.

Remove Intel Wifi devices firmware (do this only if you don’t use it):

dnf -y remove iwl*

Update CentOS to the latest packages:

dnf -y update

Install the common use tools:

dnf -y install net-tools bind-utils wget vim

Install Extra Packages for CentOS Enterprise Linux repository:

dnf -y install epel-release

Enable the PowerTools repository (EPEL packages may depend on packages from it):

dnf config-manager --set-enabled PowerTools

If you are in a vmware virtual machine install the virtualization tools:

yum install open-vm-tools

If you need, setup network

nmtui
systemctl restart network.service

Setup aliases, so that messages from services can be sent to the correct email account:

vim /etc/aliases

Change the root: to the correct email account

# Person who should get root's mail
root: [email protected]

Then issue the fallowing command so that linux uses the new email account:

newaliases

Next setup postfix to send email thru a valid mail server

vim /etc/postfix/main.cf

Using TLS

relayhost = your.mail.server:587
smtp_use_tls=yes

Without TLS

relayhost = your.mail.server

Finaly restart postfix

systemctl restart postfix.service

If you want you can install logwatch

yum install logwatch

The configure it to send you system logs emails

echo "MailTo = [email protected]" >> /etc/logwatch/conf/logwatch.conf