Setup your home server

Rohan Kharel

March 02, 2025

Article Banner

These days, given the rise in subscription costs, you might find yourself wondering how to best spend your funds on cloud storage, VPNs, password managers, photo backups, and so forth. This article looks at setting up an inexpensive, if not free, server to do all those tasks!

Requirements

For this tutorial you will need:

Download balenaEtcher

Estimated time: 2 mins

Before installing Ubuntu Server on our computer, we have to create an installer on the USB drive, so our first move is to download balenaEtcher.

Windows 11/10 version 1709 or higher:

winget install -e --id Balena.Etcher

macOS (using Homebrew):

brew install --cask balenaetcher

Arch Linux (AUR):

Install package “balena-etcher”

Example using yay:

yay -S balena-etcher

Older versions of Windows or Windows 10 older than 1709, macOS, and Linux (AppImage):

Download from the balenaEtcher website

Create the Installation Media

Estimated time: 10 minutes

In this step, go ahead and download the Ubuntu Server ISO image. Just open balenaEtcher. Click Flash from file and select the ISO image you just downloaded. Plug your flash drive; next, click Select target and select your USB drive from the device list. Now you can click Flash and wait for balenaEtcher to write the image onto the drive.

Note: THIS WILL ERASE ALL DATA ON YOUR DRIVE. Please backup all sensitive information.

Start Installing Ubuntu Server

Estimated time: 15-30 mins, depending on the speed of your drive

Installing Ubuntu Server:

Once the installation is complete, remove your flash drive and restart your computer.

Setting up your server

Estimated time, 20 mins

You can now set your server aside and put it somewhere like on a shelf or in a cupboard (provided there is enough ventilation). Go to your computer and open up a command line.

We will use this command to remote into the server

ssh [username]@[ip address]

Make sure to replace [username] and [ip address] with their actual values. Once you have entered your password, you will connected to your server and can run commands on it remotely. We can install everything from here if we want, but to make it simpler and more user friendly to manage, we will be using CasaOS, a front end for installing and managing apps on your server.

To install CasaOS, run this command:

curl -fsSL https://get.casaos.io | sudo bash

Once complete, you can close out of the command line and open your preferred web browser. Navigate to http://[ip address], replacing [ip address] with your computer’s actual IP address. Follow the instructions on screen to setup your CasaOS user and you will be greeted with a stunning dashboard. From here, you can install all the services and apps you want. Here are my top picks on what to install.

This article was a bit different that usual from thesilicon.uk, but I hope you found it useful. Comment down below if you are having any trouble with your server or have any suggestions.

Comments

Comments have been temporarily disabled