| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
📚 Learning and exploring Linux.
This repository is for me to explore Linux. That's a wide scope of technology! Because I develop on macOS, I need a test bed for exploring Linux. I'll do this by exploring Linux in a Docker container by way of remote development in VS Code using a "Dev Container".
I'll choose the Debian Linux distribution to experiment with for two reasons. First, it's a common distribution to build containerized workloads like web servers on top of, and I've used it for many of my own workloads. Secondly, Debian is in the middle of the spectrum between small distributions like Arch and large distributions that can be used on the desktop like Ubuntu. It seems like an effective representative.
There are some miscellaneous things I'd like to learn about Linux (or even more broadly Unix-based systems and computing tools) like SSH (again, not a Linux-specific thing), systemd, file permissions, Unix domain sockets, and more.
NOTE:
This was developed on macOS and for my own personal use.
Follow these instructions to follow along with the learning journey presented by this codebase.
lsb_release -avscode ➜ /workspaces/linux-playground $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
vscode ➜ /workspaces/linux-playground $ cat /etc/debian_version
12.11
./ssh-container-start.shdocker container ls./ssh-container-attach.shdocker exec --user root ssh-server service ssh restartssh -o StrictHostKeyChecking=accept-new -p 2345 myuser@localhostI have to continually learn and re-learn the basics of SSH because I don't use it frequently. I don't do much system administration type work. It's tedious to relearn the basics from scratch so I would prefer to encode some knowledge in this notes section and in the runnable examples in this codebase.
General clean ups, TODOs and things I wish to implement for this project:
DONE Start an SSH server. Connect to it from another container. Connect to it from my Mac host.
DONE (I installed the OpenSSH server) Install a package, or series of packages using the package manager(what is it apt-get? I always get them confused). UPDATE: Ok I read some docs and I was interesting in using tasksel or aptitude because are the highest level interactive tools for package management but they were not installed on the system. This was a little surprising. I would be curious to know more about these tools; are they effectively never used by the community? I'll just stick to apt which is for interactive usage. Contrast this with apt-get which is for scripts. So I tried apt update to make sure my copy of the list of packages and then apt search openssh which revealed many things, including
openssh-server/stable 1:8.4p1-5+deb11u1 arm64 secure shell (SSH) server, for secure access from remote machines
Consider unbundling some of the demo from VSCode/DevContainers/SSH/Linux. I think want to root the VSCode and DevContainers stuff in my vscode-playground. My interest in SSH right now is mostly in the context of remote dev environment so not sure there is enough content for linux-playground or an ssh-playground (definitely not).
| Back | FazBrowse Home | New Git URL |