Is a Termux-to-Arch SSH Lab a Good Way to Learn Linux Administration?
Asked by
pluto.is.small
I'm learning Linux administration and want a practical environment where I can experiment instead of only memorizing commands. My current setup is an Android phone running Termux, connecting over SSH to an Arch Linux laptop that I'm using as a small practice server. I've installed and configured OpenSSH, started the sshd service, confirmed that it is listening on port 22, and identified the laptop's local IP address. I'd like to practice users and groups, permissions, SSH management, processes, systemd services, networking, package management, logs, storage, scheduled tasks, firewalls, hardening, and troubleshooting. I understand this won't perfectly reproduce a production environment, but it seems useful for learning safely. Is this a sensible approach, or would local terminal work and virtual machines be better? Are there particular tasks, services, or topics I should add to make the lab more realistic?
Answers
Make the lab task-based rather than just a collection of commands. Create and manage users with different group memberships, configure SSH keys and disable unnecessary access, set up a web service, inspect logs with journalctl, monitor processes and resource usage, create systemd timers, manage firewall rules, expand or fill a test filesystem, and write backup and restore procedures. Deliberately break services or permissions, then troubleshoot them. Keep notes and use snapshots or virtual machines so experiments are safe.
Reply to this answer
Itโs a perfectly reasonable way to get comfortable with Linux, especially if the laptop is on your own network and you can reset things when you make mistakes. The main benefit is having a real system to administer, but donโt treat phone-based SSH as essential. Practicing directly in the laptopโs terminal is usually faster and more comfortable. Add a few virtual machines when you want to practice remote administration, networking between hosts, backups, or failure recovery.
Reply to this answer
Arch is useful for understanding Linux, but it doesnโt closely resemble every workplace environment. Once youโre comfortable with the basics, build another VM using Rocky Linux, RHEL, Debian, or Ubuntu Server. That lets you compare package managers, default configurations, service layouts, security policies, and administration practices across distributions.
pluto.is.small: Iโm using Arch first because I want to understand the system from the ground up. Later Iโll add a RHEL-compatible distribution and practice a more corporate-style setup.
Reply to this answer
For a more realistic setup, use two or three virtual machines: one administration workstation, one server, and perhaps a client or monitoring host. Practice DNS or host resolution, static and dynamic addressing, file transfers, service dependencies, account recovery, package updates, log rotation, backups, and basic hardening. The important skill is learning how to diagnose a problem methodically, not just learning individual commands.
Reply to this answer
Add your answer
Answers are reviewed before publication.
pluto.is.small: I started with the phone connection after learning about ps and thinking about how administrators manage servers remotely. Iโll also practice directly on the laptop and add virtual machines as I progress.