20 lines
468 B
Bash
20 lines
468 B
Bash
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
|
|
curl -sL https://deb.nodesource.com/setup_8.x | bash
|
|
apt-get install -y nodejs
|
|
apt install -y alsa-utils
|
|
apt-get install -y libasound2-dev
|
|
npm i -g node-gyp
|
|
apt install -y alsa-base pulseaudio
|
|
|
|
mkdir simulator
|
|
cp -r /vagrant/* ~/simulator/
|
|
cd simulator
|
|
sudo chmod -R 755 *
|
|
sudo chown -R vagrant:vagrant *
|