You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Linux Operating System
|
|
|
|
|
|
|
|
Instances of Ubuntu with Linux-based tools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![alt text](images/swarmlab-network.png "")
|
|
|
|
|
|
|
|
|
|
|
|
## Quickstart
|
|
|
|
|
|
|
|
This is a quickstart guide of howto use this *Lab*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Default Configuration
|
|
|
|
|
|
|
|
#### Working Directory
|
|
|
|
|
|
|
|
> /home/ubuntu
|
|
|
|
|
|
|
|
#### Default user
|
|
|
|
|
|
|
|
> ubuntu
|
|
|
|
|
|
|
|
|
|
|
|
#### Publish Your Work
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
mkdir /home/ubuntu/directory
|
|
|
|
put your files and other directories into /home/ubuntu/directory
|
|
|
|
swarmlab-publish /home/ubuntu/directory
|
|
|
|
open URL in Browser
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Find lab workers
|
|
|
|
|
|
|
|
The host file that contains addresses of connected workers can be created with:
|
|
|
|
|
|
|
|
>
|
|
|
|
> swarmlab-getworkers > /home/ubuntu/invhosts
|
|
|
|
>
|
|
|
|
|
|
|
|
#### connect to workers
|
|
|
|
|
|
|
|
```bash
|
|
|
|
ssh ubuntu@[IP]
|
|
|
|
Info: user has sudo privileges without a password
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### connect to workers with ansible
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd /home/ubuntu/project/examples-os2/ansible
|
|
|
|
make ps
|
|
|
|
```
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
**MORE INFO**
|
|
|
|
|
|
|
|
See http://docs.swarmlab.io/SwarmLab-HowTos/labs/os2/index.adoc.html
|
|
|
|
---
|