explaingit

dunwu/linux-tutorial

6,759ShellAudience · ops devopsComplexity · 1/5Setup · easy

TLDR

A Chinese-language guide to Linux covering everyday commands, server administration, software deployment, and shell scripting, with automation scripts for setting up CentOS servers quickly.

Mindmap

mindmap
  root((linux-tutorial))
    Command Reference
      File navigation
      User management
      Network commands
    Administration
      Firewall setup
      systemd services
      Cron scheduling
    Software Deployment
      Nginx and Tomcat
      MySQL and Redis
      Jenkins and Kafka
    Containers
      Dockerfiles
      Image management
      Kubernetes intro
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Look up Linux commands by topic, file management, networking, user administration, using the organized reference guide.

USE CASE 2

Use the included shell scripts to automate CentOS server setup including package installs and mirror configuration.

USE CASE 3

Learn how to deploy common server software like Nginx, MySQL, Redis, Jenkins, and Kafka on Linux.

USE CASE 4

Get a quick-reference Docker cheat sheet and Kubernetes overview without reading through full official documentation.

Tech stack

ShellLinuxDockerKubernetes

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

linux-tutorial is a Chinese-language learning resource for Linux, covering commands, system administration, software deployment, and shell scripting. The content is organized as a written guide with companion shell scripts that automate common setup tasks on Linux servers. The command reference section covers the everyday commands needed to work on a Linux machine: navigating directories, reading and editing files, compressing archives, managing users, checking system status, handling network connections, and installing software through package managers. Each section groups related commands so they are easy to look up by topic. The operations section goes beyond basic commands and covers tasks a server administrator does regularly: configuring firewalls, scheduling recurring jobs with cron, managing services through systemd, setting up network interfaces, and configuring tools like Vim and zsh. A separate software deployment section covers installing and running common programs on Linux, including development runtimes like the Java JDK and Node.js, continuous integration tools like Jenkins and GitLab, web servers like Nginx and Tomcat, databases like MySQL and Redis, and messaging systems like Kafka and RocketMQ. A Docker section introduces containers: writing Dockerfiles, working with images and containers, a quick-reference cheat sheet, and a brief overview of Kubernetes for running containers across multiple servers. The repository also includes a collection of shell scripts for automating CentOS server setup tasks, such as installing common libraries, configuring time servers, switching package repositories to domestic mirrors for faster downloads in mainland China, and performing one-step installs of frequently used tools. The project has a readable website version at dunwu.github.io/linux-tutorial/ and a mirror on Gitee for users who prefer that platform. Companion articles on Python, shell scripting, and Git are linked from the README as well.

Copy-paste prompts

Prompt 1
Based on linux-tutorial content, write a shell script to install Nginx on CentOS and configure it as a reverse proxy for a Node.js app.
Prompt 2
Using linux-tutorial as a reference, help me set up a MySQL server on Linux with a dedicated database user and basic firewall rules.
Prompt 3
Show me how to write a systemd service file to run a Node.js application on Linux so it starts on boot and restarts on failure.
Prompt 4
Help me write a cron job that runs a backup script every night at 2am, following the cron syntax explained in linux-tutorial.
Open on GitHub → Explain another repo

← dunwu on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.