This tutorial shows you how to install Origo OS on a single workstation or server.
Origo OS installs services and makes modifications to the network and optionally the storage configuration of the hardware it is installed on. For this reason we recommend that you first get to know Origo OS by installing on non-critical hardware, ideally a discarded workstation or server, that is not in active use and does not store any data that can not be lost.
To be clear – we make no guarantees regarding the functionality, usefulness or security of this software. Origo OS may cause data loss, proceed at your own risk.
Objectives
Install Origo OS to a single workstation or server
Prerequisites
A x86 workstation or server that can be used for testing and development purposes
A minimum of 100 GB available storage
Solid Internet connectivity
Recomendations
2 storage devices or more (SSD’s, hard drives or raid devices)
A single disk will work, but with two, images and backups can be stored on dedicated, separated devices
To enable ZFS backup, you must have two storage devices besides the boot device.
Installation options
There are two ways to install Origo OS:
If you have a computer available whose main drive may be formatted, you can simply download the ISO image, boot from it, and let Origo OS be installed automatically. Please note that this will completely erase all data on the main drive!
If you have a computer already running Ubuntu 18.04, you can install Origo OS using apt. This will not erase any storage (unless you explicitly ask Origo OS to do so), but it will make pretty heavy changes to network configuration.
Option 1) Install Origo OS using the ISO to a computer (primary disk is wiped)
Please note, that the “primary disk” is the one identified as /dev/sda, which will typically be the one attached to the first SATA port. If you are unsure which disk this is, please disconnect all disks except the one you want to use as primary/boot disk before proceeding.
Put the USB stick in the computer you want to install on, reboot, hold F7 and select the USB drive as boot device.
If you are ABSOLUTELY sure, that you are OK with wiping the primary hard drive in the computer, proceed by typing return, and then wait approximately 10 minutes, depending on the speed of your Internet connection and your hard drive / SSD.
Please note that the computer must be able to connect to the Internet for downloading software during installation!
“installing kickseed” may take a while, up to 10 minutes, depending on your Internet connection and server ressources
After succesful installation, your computer should power off. Remove the USB stick and turn the computer on again.
Log in to your computer’s text console with username “stabile” and password “sunshine”.
Change the account password into a secure password of you choosing by typing passwd
Type: sudo dpkg-reconfigure stabile and set username and password for the administrative account
Please use the the username you signed up with in step 1.
Option 2) Install Origo OS to a computer already running Ubuntu 22.04 (nothing is wiped)
This step is optional, but necessary if you want to link your Stabile installation with Stabile Registry.
Configure your software repositories
Your user account must have sudo privileges!
To add our gpg key to your keyring, in a terminal type: curl --silent https://apt.origo.io/archives/origo.key | sudo apt-key add -
Type in your account password if asked by sudo
To add our repository to your sources, type: sudo bash -c 'echo "deb [arch=amd64] http://apt.origo.io/archives jammy stabile" > "/etc/apt/sources.list.d/stabile.list"'
To add the Webmin repository, type: curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh ; sudo echo y | sudo sh webmin-setup-repo.sh
To update apt, type: sudo apt update
Install the Stabile package
To install Origo OS, type: sudo apt install stabile
When asked to set user name and password for the administrative account, please use the the username you signed up with in step 1.
And if you are in a hurry, here are the above commands on a single line: curl --silent https://apt.origo.io/archives/origo.key | sudo apt-key add - && sudo bash -c 'echo "deb [arch=amd64] http://apt.origo.io/archives jammy stabile" > "/etc/apt/sources.list.d/stabile.list"' && curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh ; sudo echo y | sudo sh webmin-setup-repo.sh && sudo apt update && sudo apt install stabile
3) Complete the installation
Now fire up a browser, and point it to: https://your.computers.ip-address/stabile
Log in with the username and password you just set
In the dashboard change the “Mapped IP-range” field to match your local IP address segment
Example: If your computer’s IP address is e.g. 192.168.1.24, you could set the range to e.g. 192.168.0.201 → 192.168.0.210
Important: Make sure the IP addresses in the range you assign are not in active use
To access the API browser, go to:https://your.computers.ip-address/stabile/api
Hopefully you should now have a working Origo OS installation, but remember, this is beta software, problems are expected. The suggested next steps are to continue with one or more of the guides that make sense to your situation and setup. If and when you run into stuff that does not work, or does not work as intended or as expected, please leave a comment below to help us fix it. Thanks for your help!
Are you sure about this? All your data, including any servers, images, etc. on Stabile Cloud will be irreversibly deleted. Please make absolutely sure this is what you want to do!