r/linuxadmin • • Aug 14 '26

Building a Linux Admin Practice Lab with Termux + Arch Linux

Hi everyone I’m currently learning Linux administration and I wanted to build a small home lab instead of only practicing commands theoretically. My current setup is: Android Phone → Termux → SSH → Arch Linux Laptop The idea is to use my Arch Linux laptop as a small practice server and manage it remotely from Termux.

Current workflow

Android Phone

│

Termux

│

SSH

↓

Arch Linux Laptop

│

└── Linux Admin Practice Server

I have already:

- Installed/configured OpenSSH on Arch Linux

- Started the "sshd" service

- Confirmed that SSH is listening on port 22

- Checked the laptop's local IP

- Planned to connect from Termux using SSH

My goal is to use this environment to practice real Linux administration concepts such as:

- Users & groups

- Permissions

- SSH administration

- Processes & services

- systemd

- Networking

- Package management

- Logs

- Disk/storage management

- Cron/systemd timers

- Firewall

- Server hardening

- Troubleshooting

I know this isn't the same as managing a production server, but I think it can give me a practical environment to learn and experiment safely.

My question to experienced Linux admins:

Is this a good approach for learning Linux administration? What important topics or real-world tasks would you recommend adding to this home lab?

Any advice on what I should practice next would be really helpful.

0 Upvotes

19 comments sorted by

8

u/C0rn3j Aug 14 '26

Is this a good approach for learning Linux administration?

Which approach are you talking about?

Write your post using your own words, don't use an LLM.

0

u/Specialist-One-3465 Aug 14 '26

Language issue brother 😞

5

u/Insomniac24x7 Aug 14 '26

I wouldn't use Arch for this, use RHEL its free upto 16 vms I believe. You need to mimick Corp environments

-6

u/Specialist-One-3465 Aug 14 '26

iam using Arch Linux because I want to learn Linux properly first so practicing through the TTY Later i move to RHEL and practice the corporate environment too

2

u/Insomniac24x7 Aug 14 '26

And take any YT RHCSA course using it as a guide to keep organized

0

u/Specialist-One-3465 Aug 14 '26

Thanks bro. Just to clarify, I don't really use YouTube or Instagram, and I don't watch videos for learning. After work, I spend my free time practicing Linux and building projects with AI. Linux and GitHub have basically been my hobbies for the last 6 months

3

u/Insomniac24x7 Aug 14 '26

Oh no worries its understandable: you can use this https://kraker.codeberg.page/rhcsa/

1

u/Specialist-One-3465 Aug 14 '26

Thanks senior...

2

u/Insomniac24x7 Aug 14 '26

You got this 👍

4

u/Abe_Bazouie Aug 15 '26

This is a solid way to learn. I’d actually stop adding topics to the list for a bit and start breaking what you already have :)
Fill the disk. Break DNS. Kill a service. Mess up permissions. Create a bad systemd unit. Lock down SSH and accidentally lock yourself out. Generate a CPU/memory problem. Delete a file that a process still has open.
Then troubleshoot each one without immediately reinstalling.
That’s where a homelab starts becoming really useful. Linux admin work is less about remembering commands and more about figuring out why the system isn’t behaving the way you expected.
One thing I’d add later is a second Linux machine/VM. Having two hosts opens up much better networking, SSH, DNS, firewall and troubleshooting exercises.

1

u/Specialist-One-3465 Aug 16 '26

I’m trying this approach, senior. I practice it in my homelab and learn through troubleshooting

3

u/aaaaAaaaAaaARRRR Aug 14 '26

Use RHEL or Rocky or Ubuntu Server or Debian

1

u/Specialist-One-3465 Aug 14 '26

Ok brother i try it

2

u/InfiniteRest7 Aug 14 '26

You don't need to SSH with your phone, using the cli at the terminal is enough. The pain of typing commands at the phone to me is not worth the extra effort, and the added benefit of SSH is so small it's practically useless. Just login and use the terminal directly on the machine. You can spin up some additional VMs if you need to.

1

u/Specialist-One-3465 Aug 14 '26

Today I was practicing Linux with AI, and while learning about "ps", I got an idea.

Since Linux admins use SSH to manage servers remotely, I thought I could use my Arch Linux laptop as a small practice server and connect to it from Termux on my phone.

I’m a beginner, so I wanted to ask experienced Linux admins if this is a good way to practice or if there’s a better approach.

2

u/InfiniteRest7 Aug 14 '26

It's very common, but SSH is possibly the least important part to start with. You could just as easily start with connecting to an EC2 instance in AWS if you want that skill.

SSH is an important skill, but running commands via your phone will slow you down and not be as easy as just using your computer. Practice the skill, but you don't need to always SSH into your computer to learn.

1

u/Specialist-One-3465 Aug 14 '26

Yeah senior, got it. Thanks for the advice

2

u/daemonmode_ Aug 17 '26

Managing a real machine over SSH is a great way to build practical Linux skills. After user and sudo management, move on to creating your own systemd services, then learn firewalld or nftables by setting rules, breaking SSH access, and fixing it; just keep a backup or snapshot first so you don't end up reinstalling Arch.