From 09cc35912242fdc6b8c2e3950e48341da6fca309 Mon Sep 17 00:00:00 2001 From: Christoph Stoppe Date: Thu, 1 Aug 2024 15:52:58 +0200 Subject: [PATCH 1/2] Tuned installation process --- pi-install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pi-install.sh b/pi-install.sh index 46d25df3..fe771431 100644 --- a/pi-install.sh +++ b/pi-install.sh @@ -6,21 +6,21 @@ echo "(1/10) Updating Repositories..." sudo apt-get update echo "(2/10) Upgrading RaspiOS..." sudo apt-get upgrade -y -echo "(3/10) Installing remote desktop (TightVNC and XRDP)..." -sudo apt install -y tightvncserver -sudo apt install -y xrdp +echo "(3/10) Installing local and remote desktop (LightDM, TightVNC and XRDP)..." +sudo apt install -y tightvncserver xrdp lightdm echo "(4/10) Installing GIT..." sudo apt-get install -y git -echo "(5/10) Installing NodeJS 19.x..." -curl -sL https://deb.nodesource.com/setup_19.x | sudo -E bash - -sudo apt-get install -y nodejs +echo "(5/10) Installing NVM and NodeJS..." +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +. ~/.nvm/nvm.sh +nvm install lts/iron +nvm alias default lts/iron echo "(6/10) Updating npm..." -sudo npm install -g npm@latest +nvm install-latest-npm echo "(7/10) Downloading OpenBuilds-CONTROL source code..." cd ~; git clone https://github.com/OpenBuilds/OpenBuilds-CONTROL.git cd ~/OpenBuilds-CONTROL echo "(8/10) Installing OpenBuilds-CONTROL dependencies..." -chmod 777 ~/.config npm install echo "(9/10) Recompiling OpenBuilds-CONTROL dependencies..." npm rebuild From 18f40c679f25855fcbfd2b713840391d4feb42d0 Mon Sep 17 00:00:00 2001 From: Christoph Stoppe Date: Wed, 12 Feb 2025 08:45:14 +0100 Subject: [PATCH 2/2] Update pi-install.sh --- pi-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pi-install.sh b/pi-install.sh index fe771431..1dbac576 100644 --- a/pi-install.sh +++ b/pi-install.sh @@ -11,7 +11,7 @@ sudo apt install -y tightvncserver xrdp lightdm echo "(4/10) Installing GIT..." sudo apt-get install -y git echo "(5/10) Installing NVM and NodeJS..." -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash . ~/.nvm/nvm.sh nvm install lts/iron nvm alias default lts/iron