Last active
October 16, 2019 04:25
-
-
Save jalakoo/375a256770b2d8095dcb4d3d76c419e6 to your computer and use it in GitHub Desktop.
Ubuntu + alwaysAI supporting setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# In ubuntu / ubuntu VM | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get update && sudo apt-get install nodejs -y | |
sudo apt-get install npm -y | |
sudo apt-get remove docker docker-engine docker.io -y | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce | |
sudo usermod -aG docker $USER | |
newgrp docker | |
docker run hello-world | |
sudo npm install -g alwaysai | |
docker pull alwaysai/edgeiq | |
aai user login | |
# Attach a webcam from Host machine if using a VM | |
# `VBoxManage list webcams` to list available | |
# `VboxManage controlvm "vmname" webcam attach .1.` to assign one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment