Rocky Linux

From Dikapedia
Jump to: navigation, search

https://docs.rockylinux.org/books/admin_guide/10-boot/ https://docs.rockylinux.org/fr/books/admin_guide/12-network/ https://docs.rockylinux.org/guides/network/basic_network_configuration/

Rocky Linux 8 in Vmware


Upon creating a Rocky Linux 8 (minimal) in vCenter, the primary network interface ens192 will only not have an IPv4 because it is deactivated. You can confirm that that by running:

nmcli device status

To fix this, run:

nmtui

And then select "Activate connection". Afterwards, you would be able to see the IPv4 by running:

ip addr


Another way:

Ensure /etc/sysconfig/network contains the following:

NETWORKING=yes
HOSTNAME=my-hostname

Then make sure you have the following lines in /etc/sysconfig/network-scripts/ifcfg-ens192:

NAME=enp0s3
DEVICE=enp0s3
ONBOOT=yes

Restart networking:

systemctl restart NetworkManager

Confirm ens192 has IP now:

ip addr show