Skip to content

Instantly share code, notes, and snippets.

@Wendelstein7
Last active April 13, 2021 16:24
Show Gist options
  • Save Wendelstein7/84fa99407d23a7383be27ab6a9b494af to your computer and use it in GitHub Desktop.
Save Wendelstein7/84fa99407d23a7383be27ab6a9b494af to your computer and use it in GitHub Desktop.
Wendelstein7 linux setup script
#!/bin/bash
# Wendelstein7's Setup Script
# https://askubuntu.com/questions/147241/execute-sudo-without-password
if [ ! -f /etc/sudoers.d/$(logname) ]; then
sudo sh -c 'echo "$(logname) ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/$(logname)'
sudo chmod 440 /etc/sudoers.d/$(logname)
fi
sudo apt update
# network tools
sudo apt install nc --assume-yes
sudo apt install iperf --assume-yes
sudo apt install nmap --assume-yes
sudo apt install net-tools --assume-yes
sudo apt install curl --assume-yes
# coding tools
sudo apt install git --assume-yes
sudo snap install --classic code
# sudo apt install php-cli unzip --assume-yes
# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
# php composer-setup.php
# alias composer='php composer.phar'
# sudo snap install postman
# curl -fsSL https://get.docker.com -o get-docker.sh
# sudo sh get-docker.sh
# sudo usermod -aG docker $(logname)
# system admin tools
sudo apt install screen --assume-yes
sudo apt install htop --assume-yes
# multimedia
sudo snap install vlc
# sudo snap install spotify
# sudo snap install ffmpeg
# social
# sudo snap install discord
# sudo snap install teams
# other
# Google Chrome: https://chrome.google.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment