Set up a new machine
Create users and groups, lock down a shared directory, and install and run a service that starts on boot.
Open the project: Set up a new machineThe command line and the operating system almost every server runs. Everything else on the roadmap sits on top of it.
Beginner · 18 topics · 2 projects · about 3 hours of reading
Step 2 of the DevOps engineer roadmap
The kernel, distributions, and why servers run Linux. Getting a Linux shell on your own computer.
The directory tree, absolute and relative paths, and getting from one place to another with cd and pwd.
Listing files with ls, hidden files, and reading what the long listing tells you.
cat, less, head and tail, and following a log file as it grows.
Making, copying, moving and deleting files and directories, and doing it safely.
Searching inside files with grep and finding files by name, size or age with find.
Enough of nano and vim to change a config file on a server without leaving the terminal.
Users, groups, read, write and execute, chmod and chown, and when to use sudo.
What a process is, seeing what is running, signals, and stopping a process that will not stop.
Starting, stopping and enabling services, reading their logs with journalctl, and writing a unit file.
Package managers, repositories, and keeping a machine up to date.
Filesystems, mounting, and finding what is filling a disk with df and du.
CPU, memory and load, top and free, and telling a busy server from a broken one.
cron and systemd timers, and checking that a scheduled job actually ran.
Environment variables, PATH, aliases, and the files your shell reads when it starts.
Redirection, pipes, and shaping text with cut, sort, uniq, sed and awk.
Hard links and symbolic links, and what each one points at.
Packing and unpacking with tar, gzip and zip, the formats you will meet in releases and backups.
Do these after the topics. Each one runs on your own computer.
Create users and groups, lock down a shared directory, and install and run a service that starts on boot.
Open the project: Set up a new machineTake a web server log and answer questions with a pipeline: the busiest hour, the most common errors, the top visitors.
Open the project: Read the logs