Instalar rocky en una máquian virtual con 4G en memoria y 2 cpus
Configurar la tarjeta de red
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
IPADDR=192.168.100.15
NETMASK=255.255.255.0
GATEWAY=192.168.100.1
DNS1=192.168.100.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yno
IPV6_FAILURE_FATAL=no
NAME=ens192
UUID=1bf3a555-9c80-41a1-a54a-d092e9c98e72
DEVICE=ens192
ONBOOT=yes
[root@localhost ~]#
Deshabilitar selinux
[root@localhost ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing – SELinux security policy is enforced.
# permissive – SELinux prints warnings instead of enforcing.
# disabled – No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
# targeted – Targeted processes are protected,
# minimum – Modification of targeted policy. Only selected processes are protected.
# mls – Multi Level Security protection.
SELINUXTYPE=targeted
Actualizar sistema operativo
[root@localhost ~]# yum update -y
Instalar paquete que ayuda a verificar puertos abiertos, estado de tarjeta de red etc..
[root@localhost ~]# yum install net-tools
Al final tenemos la siguiente version de SO
[root@localhost ~]# cat /etc/redhat-release
Rocky Linux release 8.8 (Green Obsidian)
Comando para reiniciar tarjeta de red
[root@localhost ~]# systemctl restart NetworkManager
Todo el espacio en disco esta en la particion /home esto hay que rectificar: tutorial aqui
Instalamos un servidor DNS: tutorial aqui
Instalamos paquetes necesarios
yum install perl perl-core nmap openssh-clients libidn gmp libaio libstdc++ unzip rsyslog wget
Actualizamos la conficuración de la tarjeta de red para el DNS1=127.0.0.1
Actualizamo el archivo /etc/hosts y luego reiniciamos
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.100.15 mail.midominio.com mail
Descargamos el zimbra correspondiente a Rocky Linux 8: wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_4362.RHEL8_64.20220721104405.tgz
Descomprimimos e instalamos ./install.sh
Nos saldra un error para el dominio mail.midominio.com correguir a midominio.com
OJO IMPORTANTE: Rocky linux se debe instalar en inglés