How to Install HomelabOS on Elementary OS

HomelabOS is a collection of Ansible scripts that allows you to easily set up a self-hosted server. In this tutorial, we will guide you through the process of installing HomelabOS on Elementary OS.

Prerequisites

Before you begin, make sure you have the following:

Installation

Follow the steps below to install HomelabOS:

  1. Open the terminal by pressing CTRL + ALT + T or using the search function in the Applications menu.

  2. Install Ansible by running the following command:

    sudo apt update
    sudo apt install ansible
    
  3. Clone the HomelabOS repository by running the following command:

    git clone https://gitlab.com/NickBusey/HomelabOS.git
    
  4. Navigate to the HomelabOS directory by running the following command:

    cd HomelabOS
    
  5. Copy the example.inventory.ini file to a new file named inventory.ini by running the following command:

    cp example.inventory.ini inventory.ini
    
  6. Open the inventory.ini file with your preferred text editor. You can use the following command to open the file in the default text editor:

    xdg-open inventory.ini
    
  7. Edit the inventory.ini file to customize your HomelabOS installation. You will need to change the ansible_host and ansible_user values to match your own server details.

    [servers]
    myserver ansible_host=example.com ansible_user=ubuntu
    
  8. Run the following command to install HomelabOS:

    ansible-playbook main.yml -i inventory.ini
    
  9. Wait for the installation to complete. This may take some time depending on your internet speed and the performance of your device.

  10. Once the installation is complete, you can access your self-hosted services by visiting the IP address of your server in your web browser.

Conclusion

Congratulations, you have successfully installed HomelabOS on Elementary OS! You can now enjoy the benefits of a self-hosted server and take control of your data.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!