Lab03 Setup - jacob-dinapoli/tech-journal GitHub Wiki

  • First Step: Networking dhcp01
    • Locate the virtual Machine in the course vsphere environment
    • Use the login provided for the localhost login
      • user: root
      • password: Ch@mpl@1n!20
    • Figure out the interface name and whether you already have an IP address assigned via DHCP.
    • use the command 'nmtui' to access the configurations
    • Select edit the connection
    • Change the IPv4 connection to manual
    • Hit enter on show
    • For the following addresses we will use:
      • IP: 10.0.5.3/24
      • Gateway: 10.0.5.2
      • DNS: 10.0.5.5
      • Search Domain: jacob-dinapoli.local
      • Hostname: dhcp01-jacob.dinapoli
    • Hit SPACE to select automatically connect
    • Go back to selecting options
    • Choose the Set system hostname option
    • Put in required hostname
    • Select quit
    • Use Command systemctl restart network
    • Use command 'ifconfig' and see results
  • Second Step: Adding a Privileged User
    • Still within bash type the following command:
      • useradd jacob
    • change the default password
    • Type the following command:
      • passwd jacob
      • The password we will be using is (badpassword123)
    • Add the user to the member of the wheel(linux local admin on CentOS) Type the following command:
      • usermod -aG wheel jacob
    • Change the user to root
    • Type the following command:
      • sudo -i
  • You should conduct a network testing to see if everything worked out.