/42sp-cursus-born2beroot

This is my implementation guideline for a Linux Server configured in a Virtual Machine

Primary LanguageShell

born2beroot

42cursus' project #4

This project aims to allow the student to create a server powered up on a Virtual Machine. The idea is to use one of two the most well-known Linux-based OS to set up a fully functional and stricted-ruled system. At the end of this project we should be fully comfortable with the concept of Virtualization, as well as dealing with command-line based systems, partitioning memory with LVM, setting up SSH ports, MACs, Firewalls, among many other important concepts. As the name of the project suggests: we come to realize that we are, indeed, born to be root.


Final score

cado-car's 42Project Score

Completed + Bonus

cado-car's 42Project Badge

Mandatory

For the mandatory part, we should:

  1. Be able to choose between two of the most well-known Linux-based operating systems: CentOS or Debian;
  2. Create LVM partitions to our new VM OS;
  3. Ensure SSH services to be running on specific ports;
  4. Configure a UFW firewall;
  5. Set-up the hostname and a strong password policy for all users;
  6. Set-up a strong configuration for the sudo group;
  7. Create a monitoring script that displays some specific information every 10 minutes.

Bonus

For the bonus part owe should:

  1. Set up a different memory partitioning;
  2. Set up a functional WordPress website with specific services;
  3. Set up a service of our own choice - and justify that choice!

The project

Implementation Guide

As part of my personal development, and thinking about the difficulty in finding good materials regarding the born2beroot project, @HCastanha and I developed two extensive guides that work as maps through the steps that took us to complete both CentOS and Debian projects.

However, I must warn anyone who would like to take this guide to heart: the best part of this project is, undoubtly the research that allow us to build the fundamental pieces of knowledge about Linux, Operational Systems, Virtualization, SSH keys, Firewall and so on. I do not, under any circunstace, recommend our Implemetation Guides to be taken as the absolute truth nor the only research byproduct through your own process. If anything, I would strongly recommend you to skip them altogether until you have finished it yourself.

To help you throught it, take a closer look only on each of the guide's last topic Reference's links and dive deep yourself into this adventure.

If you have finished it or would still like to comprehend the path that we took to do so, read the following at your own risk: