Last active
April 13, 2021 16:24
-
-
Save Wendelstein7/84fa99407d23a7383be27ab6a9b494af to your computer and use it in GitHub Desktop.
Wendelstein7 linux setup script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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