Linux Assessment Rehearsal - adaley0518/Tech_Journal GitHub Wiki
Centos 7 (hopefully) 1 set machine to LAN
Networking
- use nmtui
 - address: 10.0.5.4/24
 - Gateway: 10.0.5.2
 - DNS servers 10.0.5.6
 - search domain: amber.local
 - {X} automatically connect
 - then okay
 - set host name: blog01
 - in centos 'systemctl restart network'
 
Create sudo user
- log in as root: Ch@mpl@1n!19
 - 'useradd amber'
 - 'passwd amber' (make password)
 - 'usermod -aG wheel amber'
 - type exit
 - log back in as amber
 - Testing:
- ping c1 google.com/ ad012-amber/ fw01-amber
 
 
Secure SSH
- nano /etc/ssh/sshd_config
 - find 'PermitRootLogin yes' --> change to no and remove #
 - restart ssh --> service sshd restart
 - logout and log in again, so host name takes hold
 - try ssh from ad01 to blog01
- sudo -i
 - ping champlain.edu
 
 
Adjust DNS
- possibly ad01- check DNS forward lookup zones/ reverse lookup zones
 
Hopefully this all works! ah