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.
Before you begin, make sure you have the following:
Follow the steps below to install HomelabOS:
Open the terminal by pressing CTRL + ALT + T
or using the search function in the Applications menu.
Install Ansible by running the following command:
sudo apt update
sudo apt install ansible
Clone the HomelabOS repository by running the following command:
git clone https://gitlab.com/NickBusey/HomelabOS.git
Navigate to the HomelabOS directory by running the following command:
cd HomelabOS
Copy the example.inventory.ini
file to a new file named inventory.ini
by running the following command:
cp example.inventory.ini inventory.ini
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
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
Run the following command to install HomelabOS:
ansible-playbook main.yml -i inventory.ini
Wait for the installation to complete. This may take some time depending on your internet speed and the performance of your device.
Once the installation is complete, you can access your self-hosted services by visiting the IP address of your server in your web browser.
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!