I'm learning Linux administration and want a hands-on environment instead of practicing only theoretical commands. My current setup is an Android phone running Termux, which connects over SSH to my Arch Linux laptop. I've installed and configured OpenSSH, started the sshd service, confirmed that it is listening on port 22, and checked the laptop's local IP address. I plan to use the laptop as a small practice server and manage it remotely from Termux. I'd like to practice users and groups, permissions, SSH administration, processes and services, systemd, networking, package management, logs, storage, cron or systemd timers, firewalls, hardening, and troubleshooting. I understand this won't fully replicate production, but is it a worthwhile way to learn? Should I use a server-focused distribution or virtual machines instead, and what practical tasks should I add next?
4 Answers
The setup is fine for learning the basics, but using Arch alone won’t reproduce every environment you may encounter professionally. Once you’re comfortable with Linux fundamentals, add a virtual machine running Rocky Linux, RHEL-compatible Linux, Ubuntu Server, or Debian. That will let you compare package managers, service defaults, security tools, and enterprise-style administration.
Focus on realistic tasks rather than just memorizing commands. Create and remove users, configure group access, fix deliberately broken permissions, set up SSH keys, disable unnecessary services, inspect journal logs, schedule jobs, configure a firewall, monitor processes and disk usage, and troubleshoot failed services. You can also practice backups and restores, hostname and DNS configuration, log rotation, software updates, and recovering from mistakes using snapshots.
Your laptop can be the practice server, but you don’t have to use the phone for every exercise. Working directly in the laptop’s terminal is usually faster and less frustrating than typing long commands on a phone. SSH from Termux is still useful because it gives you practice with remote administration. For a stronger lab, create a few virtual machines and manage them over SSH from the laptop or phone.
I wanted the phone connection because it resembles managing a remote server, but I’ll use the laptop terminal for longer exercises and keep Termux for remote-access practice.
A useful progression is to document each change, apply it manually first, then try automating it with shell scripts or a configuration-management tool. Build a small service such as a web server, restrict access to it, collect its logs, back it up, and deliberately break parts of the setup so you can diagnose them. Keep the lab isolated from important personal data and avoid exposing SSH directly to the internet while experimenting.

That makes sense. I’m starting with Arch to build my general Linux skills, then I’ll add a server-oriented distribution and practice managing a more corporate-style environment.