Browse Source

docs

master
zeus 4 years ago
parent
commit
a59d85ad0d
  1. 101
      Course/demo.cast
  2. BIN
      Course/images/hybrid-1.png
  3. BIN
      Course/images/hybrid.png
  4. BIN
      Course/images/swarmlab-network.png
  5. 66
      Course/index.adoc
  6. 74
      README.md

101
Course/demo.cast

@ -0,0 +1,101 @@
{"version": 2, "width": 143, "height": 44, "timestamp": 1612541189, "idle_time_limit": 2.5, "env": {"SHELL": "/bin/bash", "TERM": "xterm"}}
[0.038915, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/gitversion/examples-services/hybrid-linux/Course\u0007zeus@swarmlab:/data/appl/ok/gitversion/examples-services/hybrid-linux/Course$ "]
[5.582632, "o", "docker exec -it -udocker hybrid-linux_master_1 /bin/bash"]
[7.056028, "o", "\r\n"]
[7.195975, "o", "To run a command as administrator (user \"root\"), use \"sudo <command>\".\r\nSee \"man sudo_root\" for details.\r\n\r\n"]
[7.196479, "o", "docker@76a11f452a37:/project$ "]
[10.453584, "o", "i"]
[10.776779, "o", "f"]
[11.014731, "o", "c"]
[11.726258, "o", "o"]
[11.8379, "o", "nfig "]
[12.457711, "o", "\r\n"]
[12.459382, "o", "eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500\r\n inet 172.27.0.2 netmask 255.255.0.0 broadcast 172.27.255.255\r\n ether 02:42:ac:1b:00:02 txqueuelen 0 (Ethernet)\r\n RX packets 1511 bytes 87967 (87.9 KB)\r\n RX errors 0 dropped 0 overruns 0 frame 0\r\n TX packets 104533 bytes 4405311 (4.4 MB)\r\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\r\n\r\nlo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536\r\n inet 127.0.0.1 netmask 255.0.0.0\r\n loop txqueuelen 1000 (Local Loopback)\r\n RX packets 1951 bytes 182571 (182.5 KB)\r\n RX errors 0 dropped 0 overruns 0 frame 0\r\n TX packets 1951 bytes 182571 (182.5 KB)\r\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\r\n\r\n"]
[12.460276, "o", "docker@76a11f452a37:/project$ "]
[15.46855, "o", "n"]
[15.665159, "o", "m"]
[15.836823, "o", "a"]
[16.074323, "o", "p"]
[16.275806, "o", " "]
[16.567909, "o", "-"]
[17.127539, "o", "s"]
[17.717655, "o", "P"]
[18.026098, "o", " "]
[19.612596, "o", "1"]
[20.081581, "o", "7"]
[20.333127, "o", "2"]
[21.925102, "o", "."]
[22.051564, "o", "2"]
[23.163517, "o", "7"]
[23.814861, "o", "."]
[24.253768, "o", "0"]
[25.073106, "o", "."]
[25.304095, "o", "2"]
[25.744479, "o", "/"]
[26.273982, "o", "2"]
[26.602261, "o", "4"]
[26.868424, "o", "\r\n"]
[26.874464, "o", "\r\nStarting Nmap 7.60 ( https://nmap.org ) at 2021-02-05 16:06 UTC\r\n"]
[29.792163, "o", "Nmap scan report for 172.27.0.1\r\nHost is up (0.00047s latency).\r\nNmap scan report for 76a11f452a37 (172.27.0.2)\r\n"]
[29.792306, "o", "Host is up (0.00028s latency).\r\nNmap scan report for hybrid-linux_worker_1.hybrid-linux_hybrid-linux (172.27.0.3)\r\nHost is up (0.00023s latency).\r\nNmap scan report for hybrid-linux_worker_2.hybrid-linux_hybrid-linux (172.27.0.4)\r\nHost is up (0.00018s latency).\r\n"]
[29.792532, "o", "Nmap done: 256 IP addresses (4 hosts up) scanned in 2.92 seconds\r\n"]
[29.793575, "o", "docker@76a11f452a37:/project$ "]
[31.346812, "o", "s"]
[31.547982, "o", "s"]
[31.685745, "o", "h"]
[31.947886, "o", " "]
[32.226221, "o", "d"]
[32.467607, "o", "o"]
[32.667054, "o", "c"]
[32.838412, "o", "k"]
[32.979163, "o", "e"]
[33.236816, "o", "r"]
[33.317479, "o", " "]
[33.837631, "o", "@"]
[34.948683, "o", "\b \b"]
[35.146621, "o", "\b \b"]
[37.593721, "o", "@"]
[39.452856, "o", "1"]
[39.670476, "o", "7"]
[39.902152, "o", "2"]
[41.457314, "o", "."]
[41.627979, "o", "2"]
[42.445799, "o", "7"]
[43.047344, "o", "."]
[43.375327, "o", "0"]
[43.945384, "o", "."]
[44.076185, "o", "3"]
[44.334094, "o", "\r\n"]
[44.475023, "o", "Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-135-generic x86_64)\r\n\r\n * Documentation: https://help.ubuntu.com\r\n * Management: https://landscape.canonical.com\r\n * Support: https://ubuntu.com/advantage\r\nThis system has been minimized by removing packages and content that are\r\nnot required on a system that users do not log into.\r\n\r\nTo restore this content, you can run the 'unminimize' command.\r\n\r\nThe programs included with the Ubuntu system are free software;\r\nthe exact distribution terms for each program are described in the\r\nindividual files in /usr/share/doc/*/copyright.\r\n\r\nUbuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by\r\napplicable law.\r\n\r\n\r\nThe programs included with the Ubuntu system are free software;\r\nthe exact distribution terms for each program are described in the\r\nindividual files in /usr/share/doc/*/copyright.\r\n\r\nUbuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by\r\napplicable law.\r\n\r\nLast login: Fri Feb 5 15:58:17 2021 from 172.27.0.2\r\r\n"]
[44.479108, "o", "$ "]
[46.184679, "o", "b"]
[46.281021, "o", "a"]
[46.492581, "o", "s"]
[46.586355, "o", "h"]
[46.925913, "o", "\r\n"]
[46.932565, "o", "To run a command as administrator (user \"root\"), use \"sudo <command>\".\r\nSee \"man sudo_root\" for details.\r\n\r\n"]
[46.933432, "o", "docker@d0524f1565d4:~$ "]
[47.834941, "o", "i"]
[48.035487, "o", "f"]
[48.263395, "o", "c"]
[49.035877, "o", "o"]
[49.137918, "o", "nfig "]
[49.845107, "o", "\r\n"]
[49.847923, "o", "eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500\r\n inet 172.27.0.3 netmask 255.255.0.0 broadcast 172.27.255.255\r\n ether 02:42:ac:1b:00:03 txqueuelen 0 (Ethernet)\r\n RX packets 108165 bytes 4561685 (4.5 MB)\r\n RX errors 0 dropped 0 overruns 0 frame 0\r\n TX packets 303 bytes 25824 (25.8 KB)\r\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\r\n\r\nlo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536\r\n inet 127.0.0.1 netmask 255.0.0.0\r\n loop txqueuelen 1000 (Local Loopback)\r\n RX packets 0 bytes 0 (0.0 B)\r\n RX errors 0 dropped 0 overruns 0 frame 0\r\n TX packets 0 bytes 0 (0.0 B)\r\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\r\n\r\n"]
[49.848378, "o", "docker@d0524f1565d4:~$ "]
[52.117657, "o", "e"]
[52.455103, "o", "x"]
[52.905012, "o", "i"]
[53.066025, "o", "t"]
[53.324857, "o", "\r\nexit\r\n"]
[53.325427, "o", "$ "]
[54.098112, "o", "e"]
[54.345206, "o", "x"]
[54.647069, "o", "i"]
[54.784636, "o", "t"]
[55.068005, "o", "\r\n"]
[55.069202, "o", "Connection to 172.27.0.3 closed.\r\r\n"]
[55.069533, "o", "docker@76a11f452a37:/project$ "]
[58.464996, "o", "exit\r\n"]
[58.519256, "o", "\u001b]0;zeus@swarmlab: /data/appl/ok/gitversion/examples-services/hybrid-linux/Course\u0007zeus@swarmlab:/data/appl/ok/gitversion/examples-services/hybrid-linux/Course$ "]
[63.505678, "o", "exit\r\n"]

BIN
Course/images/hybrid-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
Course/images/hybrid.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
Course/images/swarmlab-network.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

66
Course/index.adoc

@ -0,0 +1,66 @@
= Linux!
Apostolos rootApostolos@swarmlab.io
// Metadata:
:description: Intro and Install
:keywords: ubuntu install
:data-uri:
:toc: right
:toc-title: Table of contents
:toclevels: 4
:source-highlighter: highlight
:icons: font
:sectnums:
====
{empty} +
[.right]
.Linux Network Environment!
image:./images/swarmlab-network.png[400,350,role="related thumb right"]
Swarmlab Hybrid provides a *Modern Application Architecture*
* Getting Started with Swarmlab-Hybrid Linux
* Multiple machines
* Each service is a process
* Containerized services in Lightweight containers
* Auto deploy/delivery of services
* Auto deploy/delivery of services
====
== Videos
=== To video me tin enarxi tou ergastiriou
=== First commands - ascirama
=== Network analysis - ascirama
=== Getting Started with Swarmlab-Hybrid Linux
=== Getting Started with Swarmlab-Hybrid Linux
=== Getting Started with Swarmlab-Hybrid Linux
=== Getting Started with Swarmlab-Hybrid Linux
=== Getting Started with Swarmlab-Hybrid Linux
== Videos
=== readings & practice exercises
== The Linux Network Environment
=== Videos
=== readings & practice exercises
== STARTING TO WORK IN LINUX
=== Videos
=== readings & practice exercises
== Getting Started with Swarmlab-Hybrid Linux
=== Videos
=== readings & practice exercises
== Getting Started with Swarmlab-Hybrid Linux
=== Videos
=== readings & practice exercises

74
README.md

@ -1,2 +1,74 @@
# hybrid-linux # hybrid-linux !
## LabInstance Linux
![alt text](images/swarmlab-network.png "")
## Quickstart
This is a quickstart guide of howto use this *LabInstance to deploy Linux systems*
### HowTo use it
### Default Configuration
- Working Directory
> /project
- Default user
> docker
- Default password
> docker
- Default password4root
> pass
#### Find lab workers
> ifconfig
>
> nmap -sP 172.130.0.0/24
>
> or
>
> /project/bin/swarmlab-nmap
#### connect to workers
```bash
ssh docker@[IP]
```
#### Create hosts file
```bash
/project/bin/swarmlab-nmap > /project/hosts
```
---
**NOTE:** copy files to all clients
```bash
while read -r line;
do
scp /project/file docker@$line:/some_dir/file
done < /project/hosts
```
---

Loading…
Cancel
Save