All Projects → tinyclub → Cloud Lab

tinyclub / Cloud Lab

Licence: other
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

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Cloud Lab

Shop
基于SpringMVC,Spring,Hibernate的网上商城。代码已久不维护...
Stars: ✭ 162 (-10.99%)
Mutual labels:  ssh
Yubikey Touch Detector
A tool to detect when your YubiKey is waiting for a touch (to send notification or display a visual indicator on the screen)
Stars: ✭ 167 (-8.24%)
Mutual labels:  ssh
Postgresqltuner
Simple script to analyse your PostgreSQL database configuration, and give tuning advice
Stars: ✭ 2,214 (+1116.48%)
Mutual labels:  ssh
Vscode Remote Release
Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
Stars: ✭ 2,256 (+1139.56%)
Mutual labels:  ssh
Sshautologin
一个使用expect免输入密码自动登录ssh的shell脚本,方便好用,适用Mac、Linux
Stars: ✭ 166 (-8.79%)
Mutual labels:  ssh
Gitdir
Simple and lightweight SSH git hosting with just a directory.
Stars: ✭ 170 (-6.59%)
Mutual labels:  ssh
Login Shell
SSH登陆显示脚本
Stars: ✭ 161 (-11.54%)
Mutual labels:  ssh
Assh
💻 make your ssh client smarter
Stars: ✭ 2,340 (+1185.71%)
Mutual labels:  ssh
Ssh
Easy SSH servers in Golang
Stars: ✭ 2,254 (+1138.46%)
Mutual labels:  ssh
Simple Ssh
A simple wrapper for Brian White's ssh2 module to make it easier to perform sequential commands.
Stars: ✭ 175 (-3.85%)
Mutual labels:  ssh
Ansible Sshd
Ansible role to configure the OpenSSH server daemon
Stars: ✭ 163 (-10.44%)
Mutual labels:  ssh
Ssh2 Python
Bindings for libssh2 C library.
Stars: ✭ 166 (-8.79%)
Mutual labels:  ssh
Dracut Crypt Ssh
dracut initramfs module to start dropbear sshd during boot to unlock the root filesystem with the (cryptsetup) LUKS passphrase remotely
Stars: ✭ 171 (-6.04%)
Mutual labels:  ssh
Rtop
rtop is an interactive, remote system monitoring tool based on SSH
Stars: ✭ 1,963 (+978.57%)
Mutual labels:  ssh
Tf aws bastion s3 keys
A Terraform module for creating bastion host on AWS EC2 and populate its ~/.ssh/authorized_keys with public keys from bucket
Stars: ✭ 178 (-2.2%)
Mutual labels:  ssh
Premotem
Personal Remote Manager
Stars: ✭ 161 (-11.54%)
Mutual labels:  ssh
Psiphon
A multi-functional version of a popular network circumvention tool
Stars: ✭ 169 (-7.14%)
Mutual labels:  ssh
Easyssh Proxy
easyssh-proxy provides a simple implementation of some SSH protocol features in Go
Stars: ✭ 180 (-1.1%)
Mutual labels:  ssh
Inlets Pro
Secure TCP and HTTP tunnels that work anywhere
Stars: ✭ 179 (-1.65%)
Mutual labels:  ssh
Firessh
free, cross-platform SSH terminal client for Firefox and Chrome
Stars: ✭ 173 (-4.95%)
Mutual labels:  ssh

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

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	qing-lab
     6	tinylab.org

Choose the lab number: 2
     2	linux-0.11-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

Update everything

$ tools/docker/update

Autostart everything

$ tools/docker/autostart

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].