828 B
828 B
Server Setup Guide
1. Update System Packages
sudo apt update && sudo apt upgrade -y
2. Install Node.js (LTS)
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt install -y nodejs
node -v
npm -v
3. Install Python 3
sudo apt install -y python3 python3-pip python3-venv
python3 --version
pip3 --version
4. Pip global config :
sudo bash -c 'echo -e "[global]\nbreak-system-packages = true" > /etc/pip.conf'
-- this is optional, either create a venv for separate python based app in repo, or simply have global permissson by this.
4. Install PostgreSQL
sudo apt install -y postgresql postgresql-contrib
sudo systemctl start postgresql
sudo systemctl enable postgresql
5. Install Git
sudo apt install -y git