Skip to content

Latest commit

 

History

History
98 lines (74 loc) · 1.53 KB

SIN_VM.md

File metadata and controls

98 lines (74 loc) · 1.53 KB

Sin Virtual Machine

Si tenes Ubuntu 20

sudo apt update
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update && sudo apt install -y ros-noetic-desktop-full 
sudo apt install git
cd ~
git clone https://github.com/ekumenlabs/ros_workshop.git

Si tenes Ubuntu != 20

Install docker

 sudo apt-get update
 sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
sudo mkdir -p /etc/apt/keyrings
 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
 echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
 sudo apt-get update
 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Setup docker

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Install git

sudo apt install git

Clonar repositorio de ekumen

cd ~
git clone https://github.com/ekumenlabs/ros_workshop.git

Buildear container

cd ros_workshop
./docker/build.sh

Run container

cd ros_workshop
./docker/build.sh

TODO: Continuar con trainer!