0% found this document useful (0 votes)
3 views2 pages

Ubuntu React PostgreSQL PgAdmin Setup Guide

This document provides a comprehensive guide for setting up a development environment on Ubuntu, including installation commands for Git, Java, Maven, Node.js, React (Vite), PostgreSQL, pgAdmin, VS Code, Chrome, Postman, and DBeaver. It includes steps for updating the system, verifying installations, and offers a one-line command for a streamlined setup. Each section details the necessary commands to ensure all tools are correctly installed and configured.

Uploaded by

nitinsnl98
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Ubuntu React PostgreSQL PgAdmin Setup Guide

This document provides a comprehensive guide for setting up a development environment on Ubuntu, including installation commands for Git, Java, Maven, Node.js, React (Vite), PostgreSQL, pgAdmin, VS Code, Chrome, Postman, and DBeaver. It includes steps for updating the system, verifying installations, and offers a one-line command for a streamlined setup. Each section details the necessary commands to ensure all tools are correctly installed and configured.

Uploaded by

nitinsnl98
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Ubuntu Development Environment Setup

Complete installation commands for React (Vite), Java, Maven, PostgreSQL, pgAdmin,
VS Code.

1. Update Ubuntu
sudo apt update
sudo apt upgrade -y

2. Install Git
sudo apt install git -y
git --version

3. Install Java 17
sudo apt install openjdk-17-jdk -y
java -version
javac -version

4. Install Maven
sudo apt install maven -y
mvn -version

5. Install [Link]
sudo apt remove nodejs npm -y
curl -fsSL [Link] | sudo -E bash -
sudo apt install -y nodejs
node -v
npm -v

6. Create React App


npm create vite@latest my-app -- --template react
cd my-app
npm install
npm run dev
npm run build

7. Install VS Code
sudo snap install code --classic

8. Install PostgreSQL
sudo apt install postgresql postgresql-contrib -y
sudo systemctl enable postgresql
sudo systemctl start postgresql
sudo -u postgres psql
ALTER USER postgres PASSWORD 'your_password';
\q

9. Install pgAdmin
sudo apt install curl ca-certificates gnupg -y
curl -fsS [Link] | sudo
gpg --dearmor -o /usr/share/keyrings/[Link]
echo "deb [signed-by=/usr/share/keyrings/[Link]]
[Link] -cs)
pgadmin4 main" | sudo tee /etc/apt/[Link].d/[Link]
sudo apt update
sudo apt install pgadmin4-desktop -y

10. PostgreSQL Client


sudo apt install postgresql-client -y
psql --version

11. Chrome
wget [Link]
stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb -y

12. Dev Tools


sudo apt install curl wget unzip zip build-essential net-tools htop tree
vim -y

13. Postman
sudo snap install postman

14. DBeaver
sudo snap install dbeaver-ce

15. Verify
java -version
mvn -version
node -v
npm -v
git --version
psql --version

16. One-line Install


sudo apt update && sudo apt upgrade -y && sudo apt install -y git
openjdk-17-jdk maven curl wget unzip zip build-essential net-tools vim
tree htop postgresql postgresql-contrib postgresql-client && curl -fsSL
[Link] | sudo -E bash - && sudo apt
install -y nodejs && sudo snap install code --classic && sudo snap
install postman

You might also like