Verify that the network interface is able to get an IP
address and connect to the network
|
-
For CentOS and RHEL, type
nmcli to check the network
interface status.
-
For Ubunut, type ip addr to
check if the network interface is able to get an
IP address.
 |
Note
If the network interface is disconnected, type
ifup "<network interface
name>" to connect the network
interface.
|
|
Verify that the network interface is enabled on boot
|
For CentOS, edit the network interface
configuration file /etc/sysconf
ig/network-scripts/ifcfg-<network interface
name> , and modify the following line:
ONBOOT=yes
|
Verfiy that the sshd is installed and running with
configured settings
|
Type the following commands:
-
For Ubuntu 20.04.6, type sudo apt
install -y openssh-server to install
OpenSSH.
-
Enable the SSH:
systemctl enable sshd
-
Start the SSH:
systemctl start sshd
-
Verify the SSH status:
systemctl status sshd
-
Open the SSH config file: sudo vi
/etc/ssh/shhd_config
-
Set PermitRootLogin to
yes.
-
Verify Port is configured to
22 .
-
Save changes and restart SSH with the command:
systemctl restart sshd
Verify that the ssh status is
active (running)
|
Disable SELinux on CentOS and RHEL
|
Edit the SELinux configuration file
/etc/selinux/config , and modify
the following line:
SELINUX=disabled
|
Verify that all required packages are installed
|
Use Virtual Analyzer Image Preparation Tool to
automatically install missing packages or manually
install them.
|
For RHEL 7.9 and RHEL 8.3, register system
|
Registration is required to enable automatic installation
of missing packages. Refer to documentation provided by
Red Hat to complete registration.
|
For Unbuntu 20.04.6, set the root account password
|
Use the following commands to set the root password:
-
Type sudo passwd root.
-
Type 1111 to set the root
password to 1111 .
-
Type the password again if prompted.
|