Tagged “how-to”
10 posts about how-to.
How to grow the filesystem after a disk upgrade
First make the disk itself larger: on the server page, Upgrade (or Disks → Grow disk). It grows without a restart and the console grows the filesystem for you where it can.
How to add swap space on Linux
Swap lets a server with little RAM survive a peak instead of killing a program. This adds a 2 GB swap file and keeps it after a restart.
How to open a port in the firewall
On Ubuntu and Debian the firewall is ufw. Always allow SSH before you switch it on — otherwise you lock yourself out (the browser console on the server page still gets you in).
How to see what listens on which port
This lists every program that accepts connections, with its port.
Server slow? Find what causes it
Look at the load, the memory, and the programs that use the most CPU and memory.
How to keep Ubuntu or Debian up to date
This installs the pending updates. Take a snapshot first if the server runs something important.
How to log in with an SSH key instead of a password
You make a key pair on YOUR computer and put its public half on the server. The private half never leaves your computer.
How to install a web server (nginx) on Ubuntu or Debian
This installs nginx, starts it now and after every restart, and opens the two web ports.
How to install Docker on Ubuntu or Debian
Docker publishes an install script for exactly this. It adds Docker's own package source and installs the engine.
How to set your server's time zone
The clock is kept right by the system; you only choose the zone it shows.
Have a tutorial that ran on a Joy server? We publish community guides with credit and wallet credit. Submit a guide.