Skip to content

42 Born2beroot: Born2beroot is a project that focuses on the installation and configuration of a Linux server. It involves setting up a minimal version of Debian Linux, configuring various components, and ensuring the server's security and stability.

Notifications You must be signed in to change notification settings

simon-zerisenay/42_BorntobeRoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Table of Contents Introduction Installation Shell Scripts Server Configuration Managing the Server Troubleshooting Contributing License

Introduction

Born2beroot is a project designed to help you gain practical experience in setting up and managing a Linux server. The project focuses on installing a minimal version of Debian Linux and configuring various components to ensure the server's security and stability.

By completing this project, you will learn essential server administration skills, including user and group management, disk partitioning, network configuration, firewall setup, and more.

Installation

To get started with Born2beroot, follow these steps:

Clone the Born2beroot repository from GitHub:

  bash
Copy code
git clone https://github.com/your-username/born2beroot.git

Change into the project directory:

bash

Copy code

cd born2beroot

Review the installation requirements in the project's documentation.

Run the installation script with root privileges:

bash Copy code sudo ./install.sh This script will guide you through the installation process, including partitioning the disk, selecting software packages, and configuring system settings.

Once the installation is complete, reboot your server:

bash Copy code sudo reboot After the server restarts, log in as the user specified during the installation process.

Congratulations! You have successfully installed the Born2beroot Linux server.

Shell Scripts The Born2beroot project provides several shell scripts to assist you in managing and configuring your server. Here are some of the important scripts:

monitor.sh: This script displays various system metrics such as CPU usage, memory usage, disk usage, and network statistics.

configure_network.sh: Use this script to configure the network settings of your server, including IP address, subnet mask, gateway, and DNS servers.

create_users.sh: This script helps you create and manage user accounts on the server. You can specify usernames, passwords, and assign user permissions.

configure_firewall.sh: Use this script to set up a firewall on your server. You can define rules to allow or deny incoming and outgoing network traffic.

update_server.sh: This script updates the software packages on your server to ensure you have the latest security patches and bug fixes.

Feel free to explore the scripts directory for additional scripts and their descriptions.

Server Configuration After installing the Born2beroot server, there are a few important configuration steps you should take:

Secure SSH: Review the SSH configuration file (/etc/ssh/sshd_config) and ensure that only necessary authentication methods are enabled. Consider disabling root login and implementing key-based authentication for enhanced security.

Update Software: Regularly update the software packages on your server to keep it secure and up to date. You can use the update_server.sh script provided with the project.

Configure Firewall: Use the configure_firewall.sh script to set up a firewall and define appropriate rules to protect your server from unauthorized access.

Monitor System: Utilize the monitor.sh script to monitor system resources and detect any anomalies or performance issues.

Managing the Server Once your Born2beroot server is up and running, you can perform various management tasks, including:

User and group management Network configuration Firewall setup and maintenance Software package installation and updates Monitoring system performance Log analysis and troubleshooting Refer to the project documentation and the provided shell scripts for detailed instructions on how to manage and maintain your server.

Troubleshooting If you encounter any issues or have questions related to the Born2beroot project, refer to the project documentation or seek assistance from the 42 community.

Contributing The Born2beroot project is open to contributions. If you find any bugs, have suggestions for improvements, or would like to add new features, please submit a pull request on the project's GitHub repository.

License The Born2beroot project is distributed under the MIT License. See the LICENSE file for more information.

About

42 Born2beroot: Born2beroot is a project that focuses on the installation and configuration of a Linux server. It involves setting up a minimal version of Debian Linux, configuring various components, and ensuring the server's security and stability.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published