Lab 3 - natekreit/SYS-255 GitHub Wiki

Summary

In this lab the DHCP host was configured. This includes connections to the firewall through the DNS server. DNS records were created to help support the transmissions.

Setting Static IP

  1. Open nmtui
  2. Edit a connection
  3. Enter your adapter
  • Change IPv4 to manual
  • Add your desired address and subnet
  • Add your gateway IP
  • Add your DNS server IP
  • Add your name.local to search domains
  • Ensure IPv6 automatically connects
  • Set system hostname to 'dhcp01-name'

Text Editors

Nano

open multiple files undo redo

Vi/Vim

command line editing multi-level undo

Man

Name

Includes the name and basic summary of command

Synopsis

Gives some examples of use-cases

Description

In depth description of what the command is and does

Options

Command line switches for the command

Useful Commands

ifconfig

Used to check IP address

nmtui

Takes you to a GUI

clear

Clears the screen

systemctl restart network

Used to see the update the network connections

useradd [user]

Adds a user

passwd [user]

Allows you to change the users password

usermod -aG wheel [user]

Puts the user in the administrator group -aG means append group wheel means administrator

sudo -i

Gives root privilege

pwd

Print Working Directory will show you the directory you are in

cd

'/home' takes you to the home directory '..' takes you to the parent directory

ls

displays child directories in the current directory

cat

used to read or write to files

3 New Commands for Me

kill and killall

Kills active process by process ID or name

service

Used to start and stop services

###whatis Used to find what a command is used for