TCM Security Academy Notes - by syselement
🏠 Home BlogGitHub📚 Buy Me a Book
  • TCM Security Academy Notes
  • Courses
    • TCM - Linux 101
      • 1. Introduction
        • Linux Distributions
        • Installing Linux
      • 2. Command Line
        • Intro to Command Line
        • Getting help on the Command Line
        • Command Line Arguments and Options
        • Reading Text Files
      • 3. File System
        • Filesystem Hierarchy Standard
        • Devices, Partitions and Mounting
        • Absolute and Relative Paths
        • Files and Directories
        • Paths, Filenames and Text Files
        • Filesystem Links
        • Archiving and Searching Files
      • 4. Users and Groups
        • Working with Users and Groups
        • File and Directory Permissions
        • Changing Users and Passwords
      • 5. Installing Software
        • Package Management
      • 6. Shells
        • Common Command Line Shells
        • Environment Variables & Startup Files
        • Input/Output Redirection
        • Command History & Substitution
      • 7. Utilities and File Editors
        • Searching and Processing Text
        • Networking at the Command Line
        • File Transfer
        • Text Editors and Converters
      • 8. Process Management
        • Process Information
        • Foreground and Background Processes
        • Managing Processes
        • Scheduling Processes
      • 9. Regular Expressions
        • Regular Expressions, Searching, Replacing, Building
      • 10. Bash Scripting
        • Bash Scripting Basics, Control Structures, Loops
      • 🌐Linux101 References
    • TCM - Mobile Application Penetration Testing
      • 1. Introduction & Mobile Pentesting
      • 2. Android Security
      • 3. Android Lab Setup
      • 4. Android Static Analysis
      • 5. Android Dynamic Analysis
      • 6. Android Bug Bounty
      • 7. iOS Security
      • 8. iOS Lab Setup
      • 9. iOS Static Analysis
      • 10. iOS Dynamic Analysis
      • 11. iOS Bug Bounty
      • 🌐MAPT References
    • TCM - Practical Ethical Hacking
      • 1. Introduction & Networking
      • 2. Lab Set Up, Linux & Python
        • Intro to Kali Linux
        • Intro to Python
      • 3. The Ethical Hacker Methodology
        • Information Gathering
        • Scanning & Enumeration
        • Vulnerability Scanning with Nessus
        • Exploitation Basics
        • Capstone Practical Labs
      • 4. Active Directory
        • Active Directory Lab
        • AD - Initial Attack Vectors
        • AD - Post-Compromise Enumeration
        • AD - Post-Compromise Attacks
        • AD - Additional Attacks
        • AD - Case Studies
      • 5. Post Exploitation
      • 6. Web Application
        • Web App Lab Setup
        • Web App - SQL Injection
        • Web App - XSS
        • Web App - Command Injection
        • Web App - Insecure File Upload
        • Web App - Authentication Attacks
        • Web App - XXE
        • Web App - IDOR
        • Web App - Capstone Practical Lab
      • 7. Wireless Attacks
      • 8. Legal Documentation & Report Writing
      • 🌐PEH References
  • 🏠syselement's Blog Home
Powered by GitBook
On this page
  • Download and Install VirtualBox
  • Download Linux Image
  • Create Virtual Machine
  • Install Linux Image
  • Install VirtualBox Guest Additions
  • Update Linux

Was this helpful?

Edit on GitHub
  1. Courses
  2. TCM - Linux 101
  3. 1. Introduction

Installing Linux

PreviousLinux DistributionsNext2. Command Line

Last updated 2 years ago

Was this helpful?

Download and Install VirtualBox

VirtualBox is a virtualization open source software that runs on Linux, Windows and Mac OS.

  • Download VirtualBox and VirtualBox Extension Pack based on your platform (Windows in this tutorial).

  • Install VirtualBox with default settings.

  • Install VirtualBox Extension Pack.

Download Linux Image

For this tutorial Ubuntu Desktop Linux will be used.

Create Virtual Machine

  • Run VirtualBox.

  • Click on the New button to create a new virtual machine (VM)

  • Click on Expert Mode

  • Set the VM Name, the machine folder to store the VM, type (Linux) and version (Ubuntu 64bit).

  • Set the Memory size (RAM) at 4096 MB (4GB) or use the default settings 1024 MB

  • Select Create a virtual hard disk now

  • Proceed with the Create button

  • Set the File size (disk size) at 20 GB

  • Set the Hard disk file type as VDI - Dynamically allocated

  • Proceed with the Create button to initialize the machine.

  • Select the new VM in the manager windows and click on the Settings button.

  • Navigate to the Sistem tab and:

    • remove Floppy from boot order

    • set Chipset to PIIX3 (default)

    • Enable PAE/NX in the Processor menu

    • check Acceleration menu to have Default Paravirtualization and Enable Nested Paging checked

  • Navigate to the Display tab and increase the Video Memory to 128 MB

  • Graphics Controller must be VMSVGA to be able to use VirtualBox Guest Additions

Install Linux Image

  • Select the new VM and click on the Start button to start it

  • Click on the file icon to open the Optical disk selector

  • Use the Add button to select the .iso file previously downloaded, select it from the list and Choose it

  • Click on the Start button to start he machine with the mounted ubuntu-22.04-desktop-amd64.iso (in this case)

  • Wait for the Ubuntu boot and installation menu

  • Select your language and click Install Ubuntu

  • Select your Keyboard layout and continue

  • Choose Normal installation and check both Other options boxes (you must be connected to the Internet)

  • Choose Erase disk and install Ubuntu and continue the installation without enabling encryption

  • Select your Location and time zone from the map screen

  • Create your login details as hostname, username and password

  • Proceed with the Continue button that will start Ubuntu installation

  • Restart your VM once the installation has completed.

Install VirtualBox Guest Additions

Guest Additions software unlocks some advanced features of VirtualBox to better integrate the VM and the host machine, as well as improved video support using VMSVGA graphics controller.

  • Complete the VM boot and login to Ubuntu desktop

  • On the VirtualBox menu select Devices - Insert Guest Additions CD image...

  • Run the VBox_GAs disk inside the virtual machine desktop

  • Run the installation when prompted

    • If the prompt do not auto-start, open the disk, right-click on the autorun.sh file and Run as a Program

    • Enter your password to install it

  • Restart the VM

  • Right-click on the disk and Eject it

  • Activate the shared clipboard from the Devices - Shared Clipboard - Bidirectional menu

Update Linux

Keep the Ubuntu O.S. updated using one of the next methods.

  • Update it via the Software Updater app

  • Open a Terminal window (Ctrl+Alt+T) and update the system with the next command.

    • This can be used when connected via SSH too.

sudo apt update && sudo apt upgrade -y

📌 Check the official documentation of the distro for the installation of other Linux distributions.


If you want to use another distro check the list.

Download the latest Ubuntu Desktop LTS .iso file .

Popular Linux Distributions
here
here