HomelabOS is a collection of Ansible scripts that help automate the deployment of various self-hosted services on a server. In this tutorial, we will walk through the steps of installing HomelabOS on OpenSUSE Latest.
Before you begin, make sure you have the following:
The first thing we need to do is install some required dependencies. Open up a terminal and run the following command:
sudo zypper install ansible git
This command will install both Ansible and Git on your system.
Next, we need to clone the HomelabOS repository to our server. Change to the directory where you want to install HomelabOS and run the following command:
git clone https://github.com/NickBusey/HomelabOS.git
This will clone the HomelabOS repository to your local machine.
Before we can run the Ansible playbook to deploy the HomelabOS services, we need to modify the configuration file. Change to the HomelabOS directory and open the file inventory.ini
:
cd HomelabOS/
nano inventory.ini
In this file, you need to set the following variables:
server_ip
: This should be the IP address of your server.ansible_user
: This is the username you will be using to SSH into your server.domain_name
: This is the domain name you will be using to access the services.Make sure to save the changes and exit the editor.
Now we are ready to run the Ansible playbook to deploy the HomelabOS services. Run the following command:
ansible-playbook -i inventory.ini homelabos.yml
This command will fetch and configure all the services you specified in the configuration file. The process may take some time depending on your server's specs and internet connection.
After the playbook has finished running, you can start accessing the services on your server. You can find the URLs for the various services in the inventory.ini
file.
For example, if you set domain_name
to example.com
, you can access the Nextcloud service at https://cloud.example.com
.
In this tutorial, we have shown you how to install HomelabOS on OpenSUSE Latest. HomelabOS makes it easy to deploy a variety of self-hosted services on a server without having to manually configure each one. With this guide, you can quickly and easily set up your own personal HomelabOS server.
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!