Last active
August 29, 2015 14:26
-
-
Save AGresvig/b0806fb766b26e90be0e to your computer and use it in GitHub Desktop.
Script to set up a brand new Debian install (or Raspbian) with some good software and sane defaults
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 | |
# Make sure only root can run our script | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
# Update the system | |
apt-get update | |
apt-get -y upgrade | |
apt-get autoremove | |
# Install Vi editor, Z shell, Git, and other goodies | |
apt-get -y install zsh git vim tmux screen pastebinit curl | |
# Change password | |
passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment