Skip to content

Instantly share code, notes, and snippets.

@rightson
Last active July 10, 2018 02:37
Show Gist options
  • Save rightson/801ba837bb9f9d5f6067deeefe037fc2 to your computer and use it in GitHub Desktop.
Save rightson/801ba837bb9f9d5f6067deeefe037fc2 to your computer and use it in GitHub Desktop.
My quick provisioning script for Ubuntu MATE 18.04
echo 'Adding repository of sierra theme ...'
sudo add-apt-repository ppa:dyatlov-igor/sierra-theme -y
echo 'Adding repository of spotify ...'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
echo 'Updating apt ...'
sudo apt update
echo 'Installing minimal deps ...'
sudo apt install -y openssh-server git vim vim-gtk3 tmux tree gparted zsh-antigen terminator curl build-essential
echo 'Upgrading system ...'
sudo apt upgrade -y
echo 'Installing sierra themes and icons ...'
sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf
sudo apt install -y sierra-gtk-theme
sudo cp -a ~/Downloads/gnome-themes/MacOSX-icon-theme/MacOSX* /usr/share/icons/
echo 'Installing custom env ...'
if [ ! -d ~/.env ]; then
git clone https://github.com/rightson/shell-dev-env ~/.env
fi
~/.env/deploy.sh
echo 'Setting filewall ...'
sudo ufw allow 22
sudo ufw enable
sudo ufw status
echo 'Install filezilla ...'
sudo apt-get install -y filezilla
echo 'Install RDP clients ...'
sudo apt-get install -y remmina freerdp2-x11
#echo 'Install spotify ...'
#sudo apt-get install -y spotify-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment