Coder Social home page Coder Social logo

02_intro_to_linux's Introduction

02_Intro_to_linux

A Crash Course in Linux

Pre-reqs: Google Account

or

Admin access to your workstation

Setup

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)

Virtulbox Method

Part 1 Exploring Linux

  1. Open the terminal on your linux workstation.

  2. Enter the command to view your current location on the file system.

  3. List all the contents of the folder you are currently in.

  4. Navigate to the /usr/bin directory. What is normally contained in this folder?

  5. Navigate back to your home directory and create a file called system_notes.txt

  6. Add your systems hostname to the system_notes.txt file like this: hostename = [your_hostname_here]

  7. Add your systems total ram to the system_notes.txt file like this: total_ram = [your_systems_total_ram_here]

  8. Add your systems free diskspace to the system_notes.txt file like this: free_diskspace = [your_systems_free_diskpace_here]

  9. Copy the system_notes.txt file to your Documents folder.

  10. View the contents of your copy of the system_notes.txt file without opening the file.

Part 2 Securing Linux

  1. 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
  1. 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
  1. Enable firewall.
sudo ufw enable
  1. 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

Part 3 Configuring Linux

  1. Install the Docker

  2. Install Ansible

  3. Install Visual Studio Code

  4. Install the [WhiteSource Advise Plugin](https://marketplace.visualstudio.com/items?itemName=whitesource.whitesource-advise

  5. Install the Security Scan Plugin

  6. Install the Dependency Analytics Plugin

  7. Setup GitHub and SSH

02_intro_to_linux's People

Contributors

lamar-frankie avatar princesskittysparkles avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.