Soutrik commited on
Commit
1567755
β€’
1 Parent(s): 3c9c835
install_docker.md β†’ ec2_runner_setup.md RENAMED
@@ -14,11 +14,12 @@ sudo usermod -aG docker $USER
14
  sudo systemctl restart docker
15
  sudo reboot
16
  docker --version
 
17
  ```
18
  Install docker-compose
19
  ```bash
20
  sudo rm /usr/local/bin/docker-compose
21
- sudo curl -L "https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
22
  sudo chmod +x /usr/local/bin/docker-compose
23
  docker-compose --version
24
  ```
@@ -29,13 +30,15 @@ mkdir actions-runner && cd actions-runner
29
  curl -o actions-runner-linux-x64-2.320.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.320.0/actions-runner-linux-x64-2.320.0.tar.gz
30
  echo "93ac1b7ce743ee85b5d386f5c1787385ef07b3d7c728ff66ce0d3813d5f46900 actions-runner-linux-x64-2.320.0.tar.gz" | shasum -a 256 -c
31
  tar xzf ./actions-runner-linux-x64-2.320.0.tar.gz
32
- ./config.sh --url https://github.com/soutrik71/pytorch-template-aws --token A75IT2B6B7L22EQZFM6AZLLHFIVA2
33
  # cd actions-runner/
34
  ./run.sh
 
35
  ```
36
  ** Activate aws cli
37
  ```bash
38
  curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
 
39
  unzip awscliv2.zip
40
  sudo ./aws/install
41
  aws --version
 
14
  sudo systemctl restart docker
15
  sudo reboot
16
  docker --version
17
+ docker ps
18
  ```
19
  Install docker-compose
20
  ```bash
21
  sudo rm /usr/local/bin/docker-compose
22
+ sudo curl -L "https://github.com/docker/compose/releases/download/v2.30.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
23
  sudo chmod +x /usr/local/bin/docker-compose
24
  docker-compose --version
25
  ```
 
30
  curl -o actions-runner-linux-x64-2.320.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.320.0/actions-runner-linux-x64-2.320.0.tar.gz
31
  echo "93ac1b7ce743ee85b5d386f5c1787385ef07b3d7c728ff66ce0d3813d5f46900 actions-runner-linux-x64-2.320.0.tar.gz" | shasum -a 256 -c
32
  tar xzf ./actions-runner-linux-x64-2.320.0.tar.gz
33
+ ./config.sh --url https://github.com/soutrik71/pytorch-template-aws --token <Latest>
34
  # cd actions-runner/
35
  ./run.sh
36
+ # https://github.com/soutrik71/pytorch-template-aws/settings/actions/runners/new?arch=x64&os=linux
37
  ```
38
  ** Activate aws cli
39
  ```bash
40
  curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
41
+ sudo apt install unzip
42
  unzip awscliv2.zip
43
  sudo ./aws/install
44
  aws --version