Web Console - Gamocosm/Gamocosm GitHub Wiki

Cockpit

Cockpit is a web-based graphical interface for not just accessing the console/terminal, but also viewing various statuses about your server. It is installed by Gamocosm by default on servers created after 2021 December 19.

At least for the first time you go to the Cockpit URL, your browser will give you a big warning like "Potential Security Risk Ahead". This is because, in fact, the connection is secure, but since it's just your server, no trusted 3rd party by your browser has "verified" your server, which is why it's warning you that it doesn't know who's the server is. On Firefox, just click "Advanced" then "Accept the Risk and Continue".

To log in to Cockpit, use your SSH/FTP credentials (under the "SSH and FTP" tab of your server in Gamocosm).

To install Cockpit on an older server, SSH into it, and run the following commands:

sudo dnf install cockpit

# Start cockpit and open the port for right now.
sudo systemctl start cockpit.socket
sudo firewall-cmd --add-service=cockpit

# Start cockpit and open the port on subsequent boots.
sudo systemctl enable cockpit.socket
sudo firewall-cmd --add-service=cockpit --permanent

That's it! You should be able to access Cockpit in your browser using your domain/URL (e.g. https://abcdefgh.users.gamocosm.com:9090) or IP address (e.g. https://1.2.3.4:9090).

Digital Ocean Console

Digital Ocean's control panel also has a console. Actually, it has two consoles; the "default" console which is based on SSH (it manages keys for you), and the "recovery" console (in the "Access" tab - not to be confused with the "Recovery" tab), which is more like emulating a physical console. With the default/primary console, you will be signed in as the root user, which can be convenient. With the recovery console, log in using your [SSH/FTP] credentials (under the "SSH and FTP" tab of your server in Gamocosm). Unlike Cockpit, it is only a console/terminal; it doesn't have a nice GUI for other statuses of your server.