The calaos-os tool
Purpose
calaos-os is the system administration tool. It handles updates and network configuration, and usefully replaces the equivalent Debian commands, since it knows the specifics of Calaos OS.
It is used from a terminal on the server, or remotely over SSH — see SSH access.
Command reference
| Command | Effect |
|---|---|
calaos-os list | Lists installed images and packages, and available updates |
calaos-os check-update | Checks whether updates are available |
calaos-os upgrade | Updates every component |
calaos-os upgrade PACKAGE | Updates a single component |
calaos-os admin set | Sets or replaces the admin password of the web app (asked on the terminal) |
calaos-os admin reset | Removes the admin password |
calaos-os network list | Lists the network interfaces |
calaos-os network configure dhcp INTERFACE | Configures an interface with an automatic address |
calaos-os network configure static INTERFACE IPV4 NETMASK [GATEWAY] [DNS...] | Configures an interface with a fixed address |
Updates
A complete update cycle looks like this:
To update a single component, for instance to try a new version of a service without touching the rest:
A restore point is created automatically before every operation, whichever command you use. See Rolling back.
As Calaos OS is based on Debian, apt also works and acts on the same package repository. calaos-os upgrade and apt full-upgrade produce the same result.
The complete step-by-step procedure is on the Update page.
Network configuration
Always start by finding the interface name:
Then configure it, with an automatic address:
or with a fixed address:
The arguments are, in order: the interface, the IPv4 address, the network mask, the gateway, then one or more DNS servers separated by spaces. The gateway and DNS are optional, but without them the server will have no Internet access.
If you are connected over SSH and change the interface you are connected through, your session will be dropped. Reconnect to the new address.
Detailed explanations are on the Network page.
Not to be confused
Two tools have similar names and are unrelated:
calaos-os— with a hyphen — administers the system: updates, network;calaos_config— with an underscore — manages the Calaos server settings: credentials, notifications. See its own page.