Para realizar los laboratorios necesitaremos desplegar una serie de hosts con características comunes. Aquí estan los check list que utilizo para los hosts y así poder tener control de las plantillas base que posteriormente se utilizaran para los laboratorios.
Caracteristicas:
Configuración aplicada:
timedatectl set-timezone Europe/Madrid && timedatectl
systemctl stop unattended-upgrades
systemctl disable unattended-upgrades
systemctl status unattended-upgrades
///////
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
update-grub
visudo
//////
%sudo ALL=(ALL:ALL) ALL
sistemas ALL=NOPASSWD: ALL
apt update && apt list --upgradable && apt upgrade -y
apt update && apt install -y dkms build-essential linux-headers-$(uname -r)
apt autoremove
reboot
ip a
systemctl status unattended-upgrades
apt update && apt list --upgradable && apt upgrade -y && apt autoremove
mount /dev/cdrom /media
cd /media
./VBoxLinuxAdditions.run
cd
umount /media
reboot
``` ```
systemctl status vboxadd
systemctl --failed
dmesg | grep -i failed
Cambiar Pantalla/Controlador gráfico VBoxSVGA o VBoxVGA Usando plantilla :
hostnamectl set-hostname nuevonombre
vi /etc/hosts
hostnamectl
Caracteristicas:
Configuración aplicada:
apt update && apt list --upgradable && apt upgrade -y
apt update && apt install -y sudo dkms build-essential linux-headers-$(uname -r)
apt autoremove
///////
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
update-grub
visudo
//////
%sudo ALL=(ALL:ALL) ALL
sistemas ALL=NOPASSWD: ALL
reboot
ip a
apt update && apt list --upgradable && apt upgrade -y && apt autoremove
mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run
cd
umount /mnt
reboot
systemctl status vboxadd
systemctl list-unit-files | grep -i failed
dmesg | grep -i failed
Cambiar Pantalla/Controlador gráfico VBoxSVGA o VBoxVGA
Usando plantilla :
hostnamectl set-hostname nuevonombre
vi /etc/hosts
hostnamectl
rm -v /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
systemctl ssh
apt update && apt list --upgradable && apt upgrade -y
Caracteristicas:
Configuración aplicada:
apt update && apt list --upgradable && apt upgrade -y
apt update && apt install -y sudo dkms build-essential linux-headers-$(uname -r)
apt autoremove
///////
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
update-grub
visudo
//////
%sudo ALL=(ALL:ALL) ALL
sistemas ALL=NOPASSWD: ALL
reboot
ip a
apt update && apt list --upgradable && apt upgrade -y && apt autoremove
mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run
cd
umount /mnt
reboot
systemctl status vboxadd
systemctl list-unit-files | grep -i failed
dmesg | grep -i failed
Cambiar Pantalla/Controlador gráfico VBoxSVGA o VBoxVGA
Usando plantilla :
Caracteristicas:
Configuración aplicada:
dnf update
dnf upgrade
dnf install epel-release
dnf install dkms kernel-devel gcc bzip2 make curl
rpm -qa kernel-devel
dnf update kernel-*
visudo
//////
%wheel ALL=(ALL) ALL
sistemas ALL=NOPASSWD: ALL
ip a
dnf upgrade
reboot
mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run
cd
umount /mnt
reboot
systemctl status vboxadd
systemctl --failed
dmesg | grep -i failed
Cambiar Pantalla/Controlador gráfico VBoxSVGA o VBoxVGA
Usando plantilla :