<!-- metadata start --><!--
% Linux Lab v1.3 Manual
% [TinyLab Community | Tinylab.org][044]
% \today
--><!-- metadata end -->
![Linux Lab Logo](doc/images/linux-lab-logo.jpg)
**Subscribe Wechat**:
![Wechat Public](doc/images/tinylab-wechat.jpg)
<!-- toc start -->
# Table of Content
- [1. Linux Lab Overview](#1-linux-lab-overview)
- [1.1 Project Introduction](#11-project-introduction)
- [1.2 Project Homepage](#12-project-homepage)
- [1.3 Demonstration](#13-demonstration)
- [1.3.1 Free Video Courses In Chinese](#131-free-video-courses-in-chinese)
- [1.3.2 Non-Free Video Courses In Chinese](#132-non-free-video-courses-in-chinese)
- [1.4 Project Functions](#14-project-functions)
- [1.5 Project History](#15-project-history)
- [1.5.1 Project Origins](#151-project-origins)
- [1.5.2 Problems Solved](#152-problems-solved)
- [1.5.3 Project Born](#153-project-born)
- [2. Linux Lab Installation](#2-linux-lab-installation)
- [2.1 Hardware and Software Requirement](#21-hardware-and-software-requirement)
- [2.2 Docker Installation](#22-docker-installation)
- [2.3 Choose a working directory](#23-choose-a-working-directory)
- [2.4 Switch to normal user](#24-switch-to-normal-user)
- [2.5 Download the lab](#25-download-the-lab)
- [2.6 Run and login the lab](#26-run-and-login-the-lab)
- [2.7 Update and rerun the lab](#27-update-and-rerun-the-lab)
- [2.8 Quickstart: Boot a board](#28-quickstart-boot-a-board)
- [3. Linux Lab Kickstart](#3-linux-lab-kickstart)
- [3.1 Using boards](#31-using-boards)
- [3.1.1 List available boards](#311-list-available-boards)
- [3.1.2 Choosing a board](#312-choosing-a-board)
- [3.1.2.1 Real board](#3121-real-board)
- [3.1.2.2 Virtual board](#3122-virtual-board)
- [3.1.2.3 Buy one](#3123-buy-one)
- [3.1.3 Using as plugins](#313-using-as-plugins)
- [3.1.4 Configure boards](#314-configure-boards)
- [3.2 Build in one command](#32-build-in-one-command)
- [3.3 Detailed Operations](#33-detailed-operations)
- [3.3.1 Downloading](#331-downloading)
- [3.3.2 Checking out](#332-checking-out)
- [3.3.3 Patching](#333-patching)
- [3.3.4 Configuration](#334-configuration)
- [3.3.4.1 Default Configuration](#3341-default-configuration)
- [3.3.4.2 Manual Configuration](#3342-manual-configuration)
- [3.3.4.3 Old default configuration](#3343-old-default-configuration)
- [3.3.5 Building](#335-building)
- [3.3.6 Saving](#336-saving)
- [3.3.7 Booting](#337-booting)
- [4. Linux Lab Advance](#4-linux-lab-advance)
- [4.1 Using Linux Kernel](#41-using-linux-kernel)
- [4.1.1 non-interactive configuration](#411-non-interactive-configuration)
- [4.1.2 using kernel modules](#412-using-kernel-modules)
- [4.1.3 using kernel features](#413-using-kernel-features)
- [4.1.3.1 list supported kernel features](#4131-list-supported-kernel-features)
- [4.1.3.2 using kernel modules](#4132-using-kernel-modules)
- [4.1.3.3 using rust feature](#4133-using-rust-feature)
- [4.1.3.4 using kft feature](#4134-using-kft-feature)
- [4.1.3.5 using rt feature](#4135-using-rt-feature)
- [4.1.3.6 persist or clear feature setting](#4136-persist-or-clear-feature-setting)
- [4.1.4 Create new development branch](#414-create-new-development-branch)
- [4.1.5 Use standalone git repository](#415-use-standalone-git-repository)
- [4.2 Using U-Boot Bootloader](#42-using-u-boot-bootloader)
- [4.3 Using QEMU Emulator](#43-using-qemu-emulator)
- [4.4 Using Toolchains](#44-using-toolchains)
- [4.5 Using Rootfs](#45-using-rootfs)
- [4.6 Debugging Linux and U-Boot](#46-debugging-linux-and-u-boot)
- [4.6.1 Debugging Linux](#461-debugging-linux)
- [4.6.2 Debugging U-Boot](#462-debugging-u-boot)
- [4.7 Test Automation](#47-test-automation)
- [4.8 File Sharing](#48-file-sharing)
- [4.8.1 Install files to rootfs](#481-install-files-to-rootfs)
- [4.8.2 Share with NFS](#482-share-with-nfs)
- [4.8.3 Transfer via tftp](#483-transfer-via-tftp)
- [4.8.4 Share with 9p virtio](#484-share-with-9p-virtio)
- [4.9 Learning Assembly](#49-learning-assembly)
- [4.10 Learning C](#410-learning-c)
- [4.10.1 Host build and Run](#4101-host-build-and-run)
- [4.10.2 Cross build and Run](#4102-cross-build-and-run)
- [4.11 Running any make goals](#411-running-any-make-goals)
- [4.12 Speed up kernel development](#412-speed-up-kernel-development)
- [4.12.1 Speed up compiling and save disk life](#4121-speed-up-compiling-and-save-disk-life)
- [4.12.2 ONESHOT Mode](#4122-oneshot-mode)
- [4.12.3 Nolibc Mode](#4123-nolibc-mode)
- [4.13 More Usage](#413-more-usage)
- [5. Linux Lab Development](#5-linux-lab-development)
- [5.1 Choose a board supported by QEMU](#51-choose-a-board-supported-by-qemu)
- [5.2 Create the board directory](#52-create-the-board-directory)
- [5.3 Clone a Makefile from an existing board](#53-clone-a-makefile-from-an-existing-board)
- [5.4 Configure the variables from scratch](#54-configure-the-variables-from-scratch)
- [5.5 At the same time, prepare the configs](#55-at-the-same-time-prepare-the-configs)
- [5.6 Choose the versions of kernel, rootfs and U-Boot](#56-choose-the-versions-of-kernel-rootfs-and-u-boot)
- [5.7 Configure, build and boot them](#57-configure-build-and-boot-them)
- [5.8 Save the images and configs](#58-save-the-images-and-configs)
- [5.9 Upload everything](#59-upload-everything)
- [6. FAQs](#6-faqs)
- [6.1 Docker Issues](#61-docker-issues)
- [6.1.1 Speed up docker images downloading](#611-speed-up-docker-images-downloading)
- [6.1.2 Docker network conflicts with LAN](#612-docker-network-conflicts-with-lan)
- [6.1.3 Why not allow running Linux Lab in local host](#613-why-not-allow-running-linux-lab-in-local-host)
- [6.1.4 Run tools without sudo](#614-run-tools-without-sudo)
- [6.1.5 Network not work](#615-network-not-work)
- [6.1.6 Client.Timeout exceeded while waiting headers](#616-clienttimeout-exceeded-while-waiting-headers)
- [6.1.7 Restart Linux Lab after host system shutdown or reboot](#617-restart-linux-lab-after-host-system-shutdown-or-reboot)
- [6.1.8 the following directives are specified both as a flag and in the configuration file](#618-the-following-directives-are-specified-both-as-a-flag-and-in-the-configuration-file)
- [6.1.9 pathspec FETCH_HEAD did not match any file known to git](#619-pathspec-fetch_head-did-not-match-any-file-known-to-git)
- [6.1.10 Docker not work in Ubuntu 20.04](#6110-docker-not-work-in-ubuntu-2004)
- [6.1.11 Error creating aufs mount](#6111-error-creating-aufs-mount)
- [6.2 QEMU Issues](#62-qemu-issues)
- [6.2.1 Why kvm speedding up is disabled](#621-why-kvm-speedding-up-is-disabled)
- [6.2.2 Poweroff hang](#622-poweroff-hang)
- [6.2.3 How to exit QEMU](#623-how-to-exit-qemu)
- [6.2.4 Boot with missing sdl2 libraries failure](#624-boot-with-missing-sdl2-libraries-failure)
- [6.3 Environment Issues](#63-environment-issues)
- [6.3.1 NFS/tftpboot not work](#631-nfstftpboot-not-work)
- [6.3.2 How to switch Windows in VIM](#632-how-to-switch-windows-in-vim)
- [6.3.3 How to delete typo in shell command line](#633-how-to-delete-typo-in-shell-command-line)
- [6.3.4 Language input switch shortcuts](#634-language-input-switch-shortcuts)
- [6.3.5 How to tune the screen size](#635-how-to-tune-the-screen-size)
- [6.3.6 How to work in fullscreen mode](#636-how-to-work-in-fullscreen-mode)
- [6.3.7 How to record video](#637-how-to-record-video)
- [6.3.8 Linux Lab not response](#638-linux-lab-not-response)
- [6.3.9 VNC login with failures](#639-vnc-login-with-failures)
- [6.3.10 Ubuntu Snap Issues](#6310-ubuntu-snap-issues)
- [6.3.11 How to exit fullscreen mode of vnc clients](#6311-how-to-exit-fullscreen-mode-of-vnc-clients)
- [6.4 Lab Issues](#64-lab-issues)
- [6.4.1 No working init found](#641
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
linux常用命令大全 1.Linux管理文件和目录的命令 命令 功能 命令 功能 Pwd 显示当前目录 ls 查看目录下的内容 Cd 改变所在目录 cat 显示文件的内容 Grep 在文件中查找某字符 cp 复制文件 Touch 创建文件 mv 移动文件 Rm 删除文件 rmdir 删除目录 Vi 编辑文件 1.1 pwd命令 该命令的英文解释为print working directory(打印工作目录)。输入pwd命令,Linux会输出当前目录。 1.2 cd命令 用来改变所在目录。 cd / 转到根目录中 cd ~ 转到/home/user用户目录下 cd /usr 转到根目录下的usr目录中-------------绝对路径 cd test 转到当前目录下的test子目录中-------相对路径 1.3 ls命令 用来查看目录的内容。 选项 含义 -a 列举目录中的全部文件,包括隐藏文件 -l 列举目录中的细节,包括权限、所有者、组群、大小、创建日期、文件是否是链接等 -f 列举的文件显示文件类型 -r 逆向,从后向前地列举目录中内容
资源推荐
资源详情
资源评论
收起资源包目录
Linux 内核实验室 - 基于 Docker..Qemu 的极速 Linux 内核学习、开发和测试环境.zip (371个子文件)
Makefile.linux_v2.6.10 679B
Makefile.linux_v2.6.11.12 63B
AUTHORS 161B
gdbinit.auto 71B
backup 9KB
config.aarch64.virt.broken 207B
ldt.c 14KB
misc_loop_drv.c 9KB
dio.c 7KB
ldt_plat_drv.c 3KB
ldt_configfs_basic.c 2KB
ldt_plat_dev.c 1KB
kthread_sample.c 919B
hello.c 746B
exception.c 600B
hello.c 431B
hello.c 97B
cache 16KB
kft.conf 115B
resolv.conf 38B
config 5KB
config 266B
config 237B
config 198B
config 143B
config 143B
config 128B
config 124B
config 109B
config 101B
config 89B
config 76B
config 40B
config 27B
config_iface 628B
COPYING 18KB
kernel.default 503B
uboot.default 306B
Dockerfile 166B
dtc 135KB
gc.eps 1.88MB
typical.eps 1.87MB
extract-ikconfig 842B
free 9KB
env.g3beige 8B
env.g3beige 8B
env.g3beige 8B
Makefile.gcc 128B
gdbinit 66B
.gitignore 241B
.gitignore 106B
.gitignore 83B
.gitignore 73B
.gitignore 73B
.gitignore 53B
.gitignore 38B
.gitignore 33B
.gitignore 25B
.gitignore 19B
.gitignore 18B
.gitignore 18B
.gitignore 18B
.gitignore 18B
.gitignore 16B
.gitignore 15B
.gitignore 14B
.gitignore 13B
.gitignore 10B
.gitignore 7B
.gitignore 6B
.gitignore 6B
.gitignore 6B
.gitignore 5B
.gitmodules 4KB
ctracer.h 10KB
tracing.h 1KB
wordsize.h 1KB
common.h 570B
qemu-3.1.50-doc.html 536KB
qemu-doc.html 408KB
interfaces 185B
linux-lab.jpg 142KB
linux-lab-logo.jpg 7KB
tinylab-wechat.jpg 7KB
daemon.json 1KB
kd 17KB
.labbegin 2KB
.labinit 529B
elf2flt.ld 6KB
ldt-test 4KB
ldt_plat_test 122B
Makefile 144KB
Makefile 6KB
Makefile 3KB
Makefile 3KB
Makefile 2KB
Makefile 2KB
Makefile 2KB
Makefile 2KB
Makefile 2KB
共 371 条
- 1
- 2
- 3
- 4
资源评论
野生的狒狒
- 粉丝: 2325
- 资源: 2037
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功