CentOS setup - jacob-dinapoli/tech-journal GitHub Wiki
Pre-flight Check
Use these credentials to login
root
Ch@mpl@1n!20
Initial Network Configuration
Change the system network configuration to LAN Set the hostname, ip, etc. Do the works Setup the usual named account with admin access, and validate its access. Disable remote root ssh access, and validate it does not have remote root access.
Changing IP Address using nmcli
Change the host's IP to 10.0.5.234 using nmcli syntax Run the following commands:
ip a (take note of ip address)
nmcli con mod ens192 ipv4.addresses 10.0.5.234/24 (changes the hosts ip)
nmcli con up ens192 (saves the configuration)
Cockpit, a new shiny toy
SSH into centOS on wks01 and run the following commands:
whoami
hostname
nslookup cockpit-project.org
ip addr
Add the Windows domain admins group to the sudoers
Step 1: Verify the Wheel Group is Enabled Open the configuration file by entering the command:
visudo
Scroll through the configuration file until you see the following entry: Allows people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
If the second line begins with the # sign, it has been disabled and marked as a comment. Just delete the # sign at the beginning of the second line so it looks like the following:
%wheel ALL=(ALL) ALL
Then save the file and exit the editor.