• Stars
    star
    207
  • Rank 189,769 (Top 4 %)
  • Language
    Shell
  • License
    Other
  • Created about 8 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Docker based Cloud Lab Center, with noVNC and Gateone attachable LXDE Desktop and SSH Terminal. 本项目作者发布了《360° 剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283

Subscribe Wechat, Learn Project StatusWechat Public

Cloud Lab

Cloud Lab is a Docker based online lab center, it integrates many popular computer science courses and provides a Docker based experiment environment as-is.

Cloud Lab is open source with no warranty – use at your own risk.

Quickstart

If really a Linux newbie or simply don't want to spend time on boring installation, buy the instant Linux Lab Disk.

Install docker

Cload Lab is docker based, please make sure docker environment is installed with Docker CE, Docker CE support Mac, Windows, Ubuntu, Debian, Fedora, CentOS, Azure and AWS, we have tested Cloud Lab with Docker CE in Ubuntu and Mac.

The old install method for Windows and Mac OSX is Docker Toolbox.

Configure docker

In order to run docker without password, please make sure your user is added in the docker group:

$ sudo usermod -aG docker $USER

In order to speedup docker images downloading, please configure a local docker mirror in /etc/default/docker, for example:

$ grep registry-mirror /etc/default/docker
DOCKER_OPTS="$DOCKER_OPTS --registry-mirror=https://docker.mirrors.ustc.edu.cn"
$ service docker restart

In order to avoid network ip address conflict, please try following changes and restart docker:

$ grep bip /etc/default/docker
DOCKER_OPTS="$DOCKER_OPTS --bip=10.66.0.10/16"
$ service docker restart

If the above changes not work, try something as following:

$ grep dockerd /lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -H fd:// --bip=10.66.0.10/16 --registry-mirror=https://docker.mirrors.ustc.edu.cn
$ service docker restart

If installed via Docker Toolbox, to access the Lab page, we must get and use the eth1 ip address, just replace 'localhost' with this ip in the Lab page url:

$ ifconfig eth1 | grep 'inet addr' | tr -s ' ' | tr ':' ' ' | cut -d' ' -f4
192.168.99.100

If the Linux system is installed on Virtualbox by ourselves, to access the Lab page outside, we must add the eth1 network device at first via setting: 'Network -> Adapter2 -> Host-only Adapter'.

Choose a working directory

If installed via Docker Toolbox, please enter into the /mnt/sda1 directory of the default system on Virtualbox, otherwise, after poweroff, the data will be lost for the default /root directory is only mounted in DRAM.

$ cd /mnt/sda1

For Linux or Mac OSX, please simply choose one directory in ~/Downloads or ~/Documents.

$ cd ~/Documents

Download cloud-lab

$ git clone https://github.com/tinyclub/cloud-lab.git

Choose a Lab

$ tools/docker/choose

Current Lab is: linux-lab

Available Labs:

     1	cs630-qemu-lab
     2	linux-0.11-lab
     3	linux-lab
     4	markdown-lab
     5	tinylab.site

Choose the lab number: 3
     3	linux-lab

Download the lab...

Run the Lab

$ tools/docker/run

Remove the Lab

$ tools/docker/rm

Stop the Lab

$ tools/docker/stop

Start the Lab

$ tools/docker/start

Run as root without password

If get syntax error under /etc/sudoers*, please use pkexec visudo to fix up it.

$ sudo -s
$ echo "$SUDO_USER ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$SUDO_USER

More Repositories

1

linux-lab

Docker/Qemu Based Linux Kernel Learning, Development and Testing Environment; New Linux ELF Video Course from this project author: https://www.cctalk.com/m/group/88089283
Makefile
1,157
star
2

open-c-book

开源书籍:《C语言编程透视》,配套视频课程《360° 剖析 Linux ELF》已上线,视频讲解更为系统和深入,欢迎订阅:https://www.cctalk.com/m/group/88089283
Shell
898
star
3

open-shell-book

开源书籍:《Shell 编程范例》,面向操作对象学 Shell!本书作者发布了《360°剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283
Ruby
844
star
4

elinux

嵌入式 Linux 知识库 (elinux.org) 中文翻译计划;本项目发起人发布了《360° 剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283
Shell
261
star
5

linux-doc

Linux Documentation 中文翻译计划
Shell
178
star
6

markdown-lab

Docker based Markdown Editing Environment for slides, resume, books and articles; New Linux ELF Video Course from this project author: https://www.cctalk.com/m/group/88089283
TeX
48
star
7

vnstatsvg

vnStat SVG frontend, the best network monitor solution for embedded and distributed system.
C
32
star
8

tinylab.org

The Website of TinyLab.org, Built on jekyll and designed by @lzufalcon
HTML
31
star
9

hot-pot-lab

Docker/Qemu Based HotPot OS Development Environment
C
15
star
10

tinylinux

Tiny Linux Kernel Project; 本项目作者发布了《360° 剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283
C
15
star
11

rlk4.0

Deprecated, please use the other related standalone boards. 本项目发起人发布了《360° 剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283
C
11
star
12

pyvnc2swf

A cross-platform screen recording tool for ShockWave Flash (swf), Flash Video (flv), MPEG and raw VNCRev and noVNC format.
Python
10
star
13

lad-book

Linux Archaeological Discoveries, start from 0.11
Makefile
8
star
14

vplayer.io

vplayer.io - noVNC Player, Play the VNC Sessions recorded in noVNC format
Roff
6
star
15

b9creator-zh_cn

Chinese Support for B9Creator 3D, in b9creator-zh_cn branch
C++
6
star
16

showdesk.io

Record and Share your desktop to the world.
JavaScript
5
star
17

prebuilt

Store the prebuilt images, tools for Linux Lab.
Makefile
4
star
18

csky

Linux Lab plugin for https://github.com/c-sky/
C++
3
star
19

lep-lab

Another Lab Plugin of Cloud Lab, for Linux Easy Profiling Project, https://github.com/linuxep/
Shell
2
star
20

qemu-mipsel-ls232

qemu mipsel/ls232 board bsp
Roff
1
star
21

linux-stable

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
C
1
star
22

qemu-mipsel-ls1b

qemu mipsel/ls1b board bsp
Roff
1
star
23

rtthread-lab

Another Lab Plugin of Cloud Lab, for RT-Thread OS, http://www.rt-thread.org
Makefile
1
star