Other config
Kernel logs
Virtual consoles are directly connected to the kernel's console output system. When you're logged into tty1-tty6, you're using a console device that the kernel treats as its primary output channel, causing kernel logs to be printed in your console.
To show the current settings: cat /proc/sys/kernel/printk
The kernel assigns every message a priority level (0-7). Kernel log levels: 0 = EMERG; 1 = ALERT; 2 = CRIT; 3 = ERR (error conditions); 4 = WARNING; 5 = NOTICE; 6 = INFO; 7 = DEBUG
To update the settings to only print errors (prio level 3) or higher: sysctl -w kernel.printk="3 4 1 7"
SSH root access
During the installation you can choose to enable SSH root access. If during installation this access was not enabled it can be enabled as follows:
Open the SSH config:
vi /etc/ssh/sshd_config.Make sure "PermitRootLogin" is not commented out and set to "yes".
Make sure "PasswordAuthentication" is not commented out and set to "yes".
After making changes to this config file restart the ssh daemon:
systemctl restart sshd.
Tip
Connect to your VM via SSH (e.g. Putty) to be able to copy-paste commands.