Last active
August 25, 2017 02:21
-
-
Save JeremyOttley/1eea24870a35f8ca0b04fb2e772d3b29 to your computer and use it in GitHub Desktop.
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 | |
# Basic Fedora Setup | |
sudo dnf -y update | |
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf group install "C Development Tools and Libraries" | |
sudo dnf group install "base-x" | |
sudo dnf group install "Legacy Fonts" | |
sudo dnf group install "LibreOffice" | |
sudo dnf group install "RPM Development Tools" | |
sudo dnf group install "Windows File Server" | |
sudo dnf group install "Sound and Video" | |
sudo dnf group install "System Tools" | |
sudo dnf group install "vagrant with libvirt support" | |
sudo dnf -y install gnome-session gnome-shell | |
sudo dnf -y install NetworkManager-l2tp NetworkManager-openconnect NetworkManager-openvpn-gnome NetworkManager-pptp-gnome NetworkManager-vpnc-gnome | |
sudo dnf -y install baobab brasero brasero-nautilus deja-dup deja-dup-nautilus evince evince-nautilus file-roller file-roller-nautilus | |
sudo dnf -y install gedit gnome-bluetooth gnome-boxes gnome-dictionary gnome-disk-utility gnome-font-viewer gnome-terminal google-android-emoji-fonts | |
sudo dnf -y install gvfs-afc gvfs-afp gvfs-archive gvfs-fuse gvfs-goa gvfs-gphoto2 gvfs-mtp gvfs-smb | |
sudo dnf -y installmousetweaks nautilus-sendto shotwell simple-scan totem totem-nautilus transmission-gtk xdg-user-dirs-gtk | |
su -c 'dnf group install workstation-product-environment' && su -c 'systemctl set-default graphical.target' && su -c 'systemctl enable gdm.service' | |
# Fonts | |
sudo dnf -y install overpass-fonts fontawesome-fonts | |
sudo dnf copr enable dawid/better_fonts | |
sudo dnf -y install fontconfig-enhanced-defaults fontconfig-font-replacements | |
sudo dnf copr enable dawid/better_fonts | |
sudo dnf -y install fontconfig fontconfig-enhanced-defaults fontconfig-font-replacements | |
#mkdir -p ~/.local/share/fonts | |
#cd ~/.local/share/fonts | |
#wget https://github.com/ryanoasis/nerd-fonts/releases/download/v1.1.0/SourceCodePro.zip | |
#unzip SourceCodePro.zip | |
#cd ~ | |
# Fedy | |
sudo rpm -Uvh https://www.folkswithhats.org/repo/$(rpm -E %fedora)/RPMS/noarch/folkswithhats-release-2.0.0-0.fc$(rpm -E %fedora).noarch.rpm | |
sudo dnf -y install fedy | |
# Postgres | |
sudo dnf -y install postgresql-server postgresql-contrib memcached redis | |
sudo systemctl enable postgresql | |
sudo postgresql-setup --initdb --unit postgresql | |
sudo dnf -y install phpPgAdmin pgadmin3 | |
#sudo systemctl start postgresql | |
#sudo su - postgres | |
#createuser gazbit -p | |
#createdb gazbit --owner=gazbit | |
# Gimp and a 'photoshop' skin | |
sudo dnf -y install gimp | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/doctormo/GimpPs/master/tools/install.sh)" | |
# General | |
sudo dnf -y install steam emacs | |
sudo dnf -y install vlc | |
sudo dnf -y install dropbox nautilus-dropbox nautilus | |
sudo dnf -y install nano vim rpm-build git zsh screen | |
sudo dnf -y install corebird | |
sudo dnf -y install docker docker-compose | |
sudo dnf -y install icedtea-web firefox | |
sudo dnf -y install gnome-tweak-tool | |
sudo dnf install -y fontawesome-fonts fontforge | |
sudo dnf -y install chrome-gnome-shell | |
# opera screen terminator youtube-dl ranger mc npm flash-player-ppapi | |
# Spacemacs | |
cd ~ | |
wget https://raw.githubusercontent.com/Gazaunga/SpaceOS/master/.spacemacs | |
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
# git Setup | |
git config --global user.name "Gazaunga" | |
git config --global user.email "jeremy.ottley@gmail.com" | |
git config --global core.autocrlf input | |
git config --global core.safecrlf true | |
# SpaceVim | |
cd ~ | |
curl -sLf https://spacevim.org/install.sh | bash | |
# Go Home | |
cd ~ | |
mkdir Startpage | |
cd Startpage | |
wget https://raw.githubusercontent.com/Gazaunga/F26/master/.local/Startpage/Tilde/index.html | |
wget https://raw.githubusercontent.com/Gazaunga/F26/master/.local/Startpage/Tilde/README.md | |
cd ~ | |
mkdir qutebrowser | |
cd qutebrowser | |
wget https://raw.githubusercontent.com/Gazaunga/SpaceOS/master/qutebrowser/qutebrowser.conf | |
wget https://raw.githubusercontent.com/Gazaunga/SpaceOS/master/qutebrowser/keys.conf | |
wget https://raw.githubusercontent.com/Gazaunga/SpaceOS/master/qutebrowser/quickmarks | |
cd ~ | |
# Albert | |
sudo dnf copr enable rabiny/albert | |
sudo dnf -y install albert | |
# Tlp | |
sudo dnf -y install tlp tlp-rdw | |
sudo systemctl enable tlp | |
# Spotify | |
# sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo | |
# sudo dnf -y install spotify-client | |
# Make Gnome titlebars less 'fat' | |
tee ~/.config/gtk-3.0/gtk.css <<-EOF | |
.header-bar.default-decoration { | |
padding-top: 3px; | |
padding-bottom: 3px; | |
font-size: 0.8em; | |
} | |
.header-bar.default-decoration .button.titlebutton { | |
padding: 0px; | |
} | |
EOF | |
# sublime-text | |
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg | |
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo | |
sudo dnf -y install sublime-text | |
# nano | |
cd ~ | |
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh | |
# zsh | |
cd ~ | |
wget https://raw.githubusercontent.com/Gazaunga/i3/master/.zshrc | |
mkdir zsh | |
cd zsh | |
wget https://raw.githubusercontent.com/Gazaunga/i3/master/zsh/minimal.zsh | |
cd ~ | |
touch .gemrc | |
echo "gem: --no-document" >> .gemrc | |
wget https://raw.githubusercontent.com/Gazaunga/Bi3/master/install_rvm.sh | |
sudo chmod +x install_rvm.sh | |
./install_rvm.sh | |
sudo npm -g install brunch phantomjs | |
cd ~ | |
wget https://raw.githubusercontent.com/Gazaunga/MinimalDev/master/Gemfile | |
gem install bundler | |
bundle install | |
# Go | |
cd ~ | |
sudo dnf -y install golang | |
mkdir -p $HOME/go | |
echo 'export GOPATH=$HOME/go' >> $HOME/.bashrc | |
echo 'export PATH=$PATH:$GOPATH/bin' >> $HOME/.bashrc | |
source $HOME/.bashrc | |
go env GOPATH | |
# Firefox addons: | |
# Hide Caption Titlebar Plus | |
# GNOME Theme (Tweak?) | |
# Gnome shell integration | |
# HTTPS Everywhere | |
# gTranslate | |
# Self Destructing Cookies | |
# uBlock Origin | |
# Privacy Badger | |
# Gnome Extensions | |
# OpenWeather | |
# TopIcons Plus | |
# Axe Menu | |
# Extend Panel Menu | |
# Dash to Panel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment