Skip to content

Born2Beroot: My first Virtual Machine: Learn Linux OS, Debian/CentOS, and create a Virtual Machine with Oracle VM Virtual Box. Configure SSH, LVM, encrypted partitions, UFW, password policy, sudo, cron jobs, and manage users. Shell script execution every 10 minutes.

License

Notifications You must be signed in to change notification settings

GitFlaviobc/Born2beRoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Born2Beroot - My first Virtual Machine

πŸ“‹ Table of contents

Intro - Goal - Tecnology - Functionality - How to use - Update - Author

Intro

  • This project is the first one using a Virtual Machine.
  • Learned about linux OS, distros, more specific Debian and CentOS. I used Debian.
  • Learned how to create a Virtual Machine using "Oracle VM Virtual Box".
  • LVM and encrypted Partition setup.
  • More topics learned AppArmor, Apt, Aptitude, SSH, UFW, Password policy, sudo command and cron schedule, manage users and groups.

πŸ“‹

🎯 Goal

  • Born2beroot goal is create a Virtual Machine, with no graphical interface with Debian or CentOS.
  • Create SSH connection, configurate protections, passwords, ports, users and groups.
  • Create and execute a bash script that will run every 10 minutes with crontab.

πŸ“‹

πŸ› οΈ Tecnology

  • Script: shell
  • Oracle VM Virtual Box
  • Distro: Debian
  • Remote SSH. Tested with WSL and windows.

πŸ“‹

πŸ“š Functionality

VM Gif 01

πŸ“‹

πŸ“– How to use

  • This project is more about setup the VM. So is more about learning how to configurate and learn about some useful commands.
  • Usefull commands to learn about:
    • lsblk
    • hostname: /etc/hostname
    • sudo how to install, check status, configurate, check logs /var/log/sudo
    • sudo adduser, sudo addgroup
    • openssh-server: how to install, check status, configurate
    • ssh username@ipadress -p "port number"
    • ufw: how to install, check status, configurate
    • password policy: /etc/login.defs, /etc/pam.d/common-password, passwd
    • crontab -e

πŸ“‹

πŸ†™ Updates

⚠️🚧

πŸ“‹

πŸ˜€ Author

Name: FlΓ‘vio Bonini Campos

Linkedin

πŸ“‹

About

Born2Beroot: My first Virtual Machine: Learn Linux OS, Debian/CentOS, and create a Virtual Machine with Oracle VM Virtual Box. Configure SSH, LVM, encrypted partitions, UFW, password policy, sudo, cron jobs, and manage users. Shell script execution every 10 minutes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages