Last active
April 20, 2018 10:34
-
-
Save humanfactors/0b890920a0bf4fe0cd290396eca7d2f3 to your computer and use it in GitHub Desktop.
Debian 9 Stretch Post-Install Configuration
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 | |
# Last Update: Wednesday 16th March | |
# Author: Michael Wilson | |
# Description: Debian Based Distro Post install script | |
#~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ | |
# -------- README -------- | |
# 1. You should probably manually call the commands in here | |
# 2. If you do wish do execute it you need to chmod +x the file as root | |
# 3. Ensure you read relevant warning messages from Michael | |
# 4. Flex | |
# 5. Enjoy Debian | |
#~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ | |
# HOW TO ADD YOURSELF TO SUDOERS FILE | |
#------------------ | |
# su -l | |
# sudo adduser <username> | |
# ensure `%sudo ALL=(ALL) ALL` appears your permissions file (open by calling visudo) | |
# exit root terminal with `exit` | |
# Basic update | |
#------------------ | |
echo "Enter your password" | |
sudo apt-get -y update && sudo apt-get -y upgrade | |
# Utilities | |
#------------------ | |
sudo apt-get -y install git | |
sudo apt-get -y install curl | |
# Scientific Computing/ | |
#------------------ | |
sudo apt-get -y install pandoc pandoc-citeproc pandoc-data | |
sudo apt-get -y install python3 | |
sudo apt-get -y install python3-scipy python3-numpy | |
sudo apt-get -y install science-statistics | |
sudo apt-get -y install rstudio | |
# Michael's Favourite Tools | |
#------------------ | |
# Mac like dock | |
sudo apt-get -y install plank | |
# Terminal Commands | |
sudo apt-get -y install guake terminator | |
echo "You should bind your guake terminal dropdown to something sensible" | |
echo "If Guake terminal is missing profiles that look cool speak to Mdebz" | |
# Custom ZSH with autocompletion | |
sudo apt-get install zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
echo "IMPORTANT MESSAGE FROM MICHAEL" | |
echo "Call nano ~/.zshrc (your zsh config) and find the plugins=(<list>). Add zsh-autosuggestions." | |
# Custom Icons | |
sudo apt-get -y install arc-theme | |
cd ~/Downloads | |
git clone https://github.com/horst3180/arc-icon-theme --depth 1 && cd arc-icon-theme\n./autogen.sh --prefix=/usr\nsudo make install\n | |
cd ~/Downloads | |
git clone https://github.com/horst3180/arc-theme.git | |
cd arc-theme/extra/Arc-Plank | |
cp dock.theme ~/.local/share/plank/themes | |
cd ~ | |
echo "Go to theme settings and change all theme parameters to Arc" | |
# Binaries | |
cd ~/Downloads | |
wget https://atom.io/download/deb | |
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-2.5.1-amd64.deb | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i atom-amd64.deb | |
sudo dpkg -i slack-desktop-2.5.1-amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
sudo apt-get install -f | |
# Atom Packages | |
apm install language-r | |
apm install language-markdown markdown-preview-plus document-outline pen-paper-coffee-syntax wordcount markdown-writer | |
apm install project-manager file-icons | |
echo "FINISHED: Michael has further configs." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment