File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ #! bin/bash
2+
3+ apt-get update
4+ apt-get install -y \
5+ build-essential python \
6+ libx11-xcb-dev libxcomposite-dev libxcursor-dev libxdamage1 libxi6 libxtst6 libnss3 libcups2 libfontconfig1 libxss1 libxrandr2 libgconf-2-4 libasound2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0
7+
8+ curl https://nodejs.org/dist/v8.9.3/node-v8.9.3-linux-x64.tar.gz | tar -C /usr/local --strip-components 1 -xzf -
9+ chmod 755 -R /usr/local
10+ echo adduser
11+ adduser --disabled-password --gecos ' ' ubuntu
12+ echo done adduser
13+ rm -Rf /home/ubuntu/zeo
14+ sudo -u ubuntu HOME=/home/ubuntu git clone --depth 1 https://github.com/modulesio/zeo.git /home/ubuntu/zeo
15+ sudo -u bash -c ' cd /home/ubuntu/zeo && HOME=/home/ubuntu npm install'
16+ # sudo -u ubuntu bash -c '/home/ubuntu/zeo && node index.js server noTty offline &'
You can’t perform that action at this time.
0 commit comments