Skip to content

Instantly share code, notes, and snippets.

@markswell
Last active April 14, 2024 12:24
Show Gist options
  • Save markswell/21cd8e43278dda424d9af3031495925d to your computer and use it in GitHub Desktop.
Save markswell/21cd8e43278dda424d9af3031495925d to your computer and use it in GitHub Desktop.
Execute after install ubuntu
#!/bin/bash
sudo apt update && apt upgrade -y
sudo apt install openjdk-17-headless -y
sudo apt install openjdk-11-headless -y
sudo apt install openjdk-8-headless -y
sudo apt install maven -y
sudo apt install gradle -y
sudo apt install git -y
sudo apt install docker docker-compose -y
sudo usermod -aG docker ${USER}
sudo apt install nodejs npm -y
sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
sudo npm install -g @angular/cli
sudo npm install -g create-react-app
sudo npm install -g react-native-cli
#sudo rm /etc/apt/preferences.d/nosnap.pref
#sudo apt install snapd -y
#sudo snap install code --classic
#sudo snap install intellij-idea-community --classic
#sudo snap install android-studio --classic
sudo apt install shutter -y
sudo apt install gimp -y
sudo apt install terminator -y
sudo apt install kolourpaint -y
sudo echo "xrandr --newmode p1920x1080_60.00 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync" >> ~/.profile
sudo echo "xrandr --addmode HDMI-1 p1920x1080_60.00" >> ~/.profile
sudo echo "xrandr --output HDMI-1 --mode p1920x1080_60.00" >> ~/.profile
sudo source source ~/.profile
sudo chmod 777 -R /opt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment