-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathubuntu-firstinstall.sh
More file actions
77 lines (59 loc) · 2.71 KB
/
ubuntu-firstinstall.sh
File metadata and controls
77 lines (59 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/bash
# System update
sudo apt-get -y update && sudo apt-get -y upgrade
# Essential build tools
sudo apt -y install software-properties-common gcc g++ make curl wget vim
# Git
sudo apt -y install git
git --version
# Docker installation
sudo apt-get remove docker docker-engine docker.io
sudo apt-get -y install ca-certificates curl gnupg lsb-release
sudo apt -y install docker.io
sudo docker --version
# PostgreSQL 18 (latest)
sudo apt -y install postgresql postgresql-contrib
sudo systemctl start postgresql.service
sudo systemctl status postgresql.service
# pgAdmin 4 (latest snapshot)
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/snapshots/2025-09-22/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
sudo apt -y install pgadmin4
# Brave Browser
sudo apt -y install apt-transport-https curl
curl -fsS https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo gpg --dearmor -o /usr/share/keyrings/brave-browser-archive-keyring.gpg
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/stable/apt/ stable main" > /etc/apt/sources.list.d/brave-browser-release.list'
sudo apt -y update
sudo apt -y install brave-browser
brave-browser --version
# Node Version Manager (NVM) and Node.js 18
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.bashrc
nvm install 18
# Python 3.11 (latest for Ubuntu 22.04)
sudo apt -y install python3.11 python3.11-pip python3.11-venv libpq-dev python3.11-dev
python3.11 --version
# Redis
sudo snap install redis
sudo snap install another-redis-desktop-manager
# Postman
sudo snap install postman
# VS Code
sudo snap install --classic code
code --version
# PyCharm Community Edition
sudo snap install pycharm-community --classic
# pgAdmin 4 (latest snapshot)
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/snapshots/2025-09-22/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
sudo apt -y install pgadmin4
# Ngrok
sudo snap install ngrok
# Putty
sudo apt -y install putty-tools
# Redis Desktop Manager
sudo snap install another-redis-desktop-manager
# Stacer (system optimizer)
sudo add-apt-repository ppa:oguzhaninan/stacer
sudo apt -y update
sudo apt -y install stacer