Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated/tuned Raspberry Pi installation process #389

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pi-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.40.1/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
Expand Down