2021-09-18 19:30:24 +00:00
|
|
|
echo "Configure box for simulator"
|
|
|
|
|
|
|
|
apt-get update
|
|
|
|
apt-get -qq update
|
|
|
|
apt-get install -y build-essential
|
|
|
|
apt-get install -y curl
|
|
|
|
apt-get install -y python-minimal
|
2021-10-07 08:43:20 +00:00
|
|
|
|
|
|
|
# install node 8
|
2021-10-07 08:30:58 +00:00
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
|
|
|
nvm install v8.17.0
|
|
|
|
|
2021-10-07 08:43:20 +00:00
|
|
|
# add node 8 for all users
|
|
|
|
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node"
|
|
|
|
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npm" "/usr/local/bin/npm"
|
|
|
|
|
2021-09-19 13:52:12 +00:00
|
|
|
sudo apt install -y alsa-utils
|
|
|
|
sudo apt-get install -y libasound2-dev
|
|
|
|
sudo npm i -g node-gyp
|
2021-09-18 19:30:24 +00:00
|
|
|
|
2021-10-07 08:30:58 +00:00
|
|
|
# mkdir simulator
|
|
|
|
# scp -P 2222 ./ vagrant@127.0.0.1:.
|