Skip to content

Commit 7249295

Browse files
Merge pull request #389 from happenpappen/master
Updated/tuned Raspberry Pi installation process
2 parents feaf67a + 8037427 commit 7249295

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pi-install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ echo "(1/10) Updating Repositories..."
66
sudo apt-get update
77
echo "(2/10) Upgrading RaspiOS..."
88
sudo apt-get upgrade -y
9-
echo "(3/10) Installing remote desktop (TightVNC and XRDP)..."
10-
sudo apt install -y tightvncserver
11-
sudo apt install -y xrdp
9+
echo "(3/10) Installing local and remote desktop (LightDM, TightVNC and XRDP)..."
10+
sudo apt install -y tightvncserver xrdp lightdm
1211
echo "(4/10) Installing GIT..."
1312
sudo apt-get install -y git
14-
echo "(5/10) Installing NodeJS 19.x..."
15-
curl -sL https://deb.nodesource.com/setup_19.x | sudo -E bash -
16-
sudo apt-get install -y nodejs
13+
echo "(5/10) Installing NVM and NodeJS..."
14+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
15+
. ~/.nvm/nvm.sh
16+
nvm install lts/iron
17+
nvm alias default lts/iron
1718
echo "(6/10) Updating npm..."
18-
sudo npm install -g npm@latest
19+
nvm install-latest-npm
1920
echo "(7/10) Downloading OpenBuilds-CONTROL source code..."
2021
cd ~; git clone https://github.com/OpenBuilds/OpenBuilds-CONTROL.git
2122
cd ~/OpenBuilds-CONTROL
2223
echo "(8/10) Installing OpenBuilds-CONTROL dependencies..."
23-
chmod 777 ~/.config
2424
npm install
2525
echo "(9/10) Recompiling OpenBuilds-CONTROL dependencies..."
2626
npm rebuild

0 commit comments

Comments
 (0)