CentOS8 - TrippCC/Sys-265 GitHub Wiki

Make sure to edit the settings before going into the VM so it is on the LAN and not the WAN Login using root/Ch@mpl@1n!20

add a user with root permission:

useradd mason passwd mason usermod mason -aG wheel

Disable ssh root access:

vi /etc/ssh/sshd_config change: PermitRootLogin yes to no

restart sshd: systemctl restart sshd.service

use nmtui to access the Network settings set to manual change IP, gw, dns, domain etc.

Changing the IP address of the centOS system using nmcli command nmcli con mod nameOfConnection(ens192) ipv4.addresses (new address) 0.0.0.0/24 restart service: systemctl restart NetworkManager.service

install apache yum install httpd systemctl enable httpd systemctl start httpd systemctl status httpd

add ports for httpd and cock pit: firewall-cmd --permanent --add-port=80/tcp firewall-cmd --permanent --add-port=9090/tcp

start cockpit systemctl start cock pit

visit the server through the wks01 using port 9090

Joining the system to your domain and add windows domain admins to sudoers group: https://computingforgeeks.com/join-centos-rhel-system-to-active-directory-domain/

use the above link to configure web01 the same way