A Crash Course in Linux
Pre-reqs: Google Account
or
Admin access to your workstation
If you already have access to a linux environment skip this part and proceed to part 2.
There are multiple ways to get access to a linux environment. 2 will be provided here, but feel free to use a different method if you prefer.
Cloud Method (recomended)
-
Open the terminal on your linux workstation.
-
Enter the command to view your current location on the file system.
-
List all the contents of the folder you are currently in.
-
Navigate to the /usr/bin directory. What is normally contained in this folder?
-
Navigate back to your home directory and create a file called system_notes.txt
-
Add your systems hostname to the system_notes.txt file like this: hostename = [your_hostname_here]
-
Add your systems total ram to the system_notes.txt file like this: total_ram = [your_systems_total_ram_here]
-
Add your systems free diskspace to the system_notes.txt file like this: free_diskspace = [your_systems_free_diskpace_here]
-
Copy the system_notes.txt file to your Documents folder.
-
View the contents of your copy of the system_notes.txt file without opening the file.
- Install system updates and remove unused packages. This prevents bad actors from using known vulnerabilites on your system
sudo apt update
sudo apt dist-upgrade
sudo apt-get autoremove
sudo apt-get autoclean
- Turn on the automatic updates. Keep your system patched and up to date.
sudo apt-get install unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades
- Enable firewall.
sudo ufw enable
- Lock down firefox
-
Preferences > General > Network Settings > Enable DNS over HTTPS. Select custom and enter https://dns.quad9.net/dns-query
-
Preferences > Privacy and Security. Disable autofill of Logins and Passwords
-
Configure firefox to never remember history
-
Configure to never Collect data
-
Install the Privacy Badger firefox extension
-
Install the HTTPS Everywhere extension
-
Install the Docker
-
Install Ansible
-
Install Visual Studio Code
-
Install the [WhiteSource Advise Plugin](https://marketplace.visualstudio.com/items?itemName=whitesource.whitesource-advise
-
Install the Security Scan Plugin
-
Install the Dependency Analytics Plugin