8000 GitHub - lee5378/labsetup: Notes on running effective home labs for cyber ranges, etc.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Notes on running effective home labs for cyber ranges, etc.

Notifications You must be signed in to change notification settings

lee5378/labsetup

Repository files navigation

VirtualBox Lab Setup

This tool sets up an Ubuntu Linux Desktop virtualization server PC.

Summary

  • Changes desktop and terminal color preferences
  • Installs:
    • OpenSSH Server
    • Vim
    • Curl
    • VirtualBox
    • Microsoft Visual Studio Code
  • Sets favorite apps on Ubuntu Desktop
  • Configures a few XRDP settings to avoid issues

Usage

Physical PC

Here's a beginner-friendly breakdown of how to use this tool, assuming you've purchased a dedicated desktop PC that still needs the OS installed.

  1. On your personal computer, create a bootable USB flash drive of Ubuntu Linux 20.10 Groovy Gorilla.
  2. Plug monitor, power, keyboard, mouse, and ethernet into your new PC.
  3. Insert the bootable USB flash drive of Ubuntu 20.10 into your new PC.
  4. Boot into the installer software and install Ubuntu OS.
  5. Reboot and remove your USB flash drive.
  6. Log in and open a Terminal session.
  7. sudo apt update
  8. sudo apt install xrdp -y
  9. Check your IP address with ip a
  10. At this stage, remote into your Ubuntu computer from your host computer using RDP.
  11. sudo apt install git -y
  12. mkdir ~/github
  13. cd ~/github
  14. git clone https://github.com/lee5378/labsetup.git
  15. bash ~/github/labsetup/labsetup.sh executes the tool. Note that you should NOT run with sudo as the script privilege escalates on a per-command basis.

Budget an hour to keep an eye on the script execution and keep it moving. You may encounter occasional prompts for superuser password or to press OK/Enter to proceed. This is normal, because several processes have not been fully automated yet.

Virtual Machine

If you're using this on a VM just skip steps 1-5 and start on step 6 above.

Testing

This has been tested on Ubuntu Linux 20.10 on both a physical PC and a VirtualBox VM.

Contributions

PRs are welcome, please review open issues first.

About

Notes on running effective home labs for cyber ranges, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0