68 lines
2.2 KiB
Bash
Executable file
68 lines
2.2 KiB
Bash
Executable file
#!/bin/bash
|
|
# TODO Add prompts so I can run pieces of the set up
|
|
|
|
# Adds some third party repos
|
|
sudo add-apt-repository ppa:tiheum/equinox # Faenza Icons
|
|
sudo add-apt-repository ppa:tualatrix/ppa # Ubuntu Tweak
|
|
sudo add-apt-repository ppa:webupd8team/gnome3 # WebUpd8 Gnome Extensions
|
|
sudo add-apt-repository ppa:otto-kesselgulasch/gimp # Gimp 2.8
|
|
|
|
# Updates the package list
|
|
sudo apt-get update
|
|
|
|
# Gets rid of some bullshit packages
|
|
#sudo apt-get --purge autoremove appmenu-gtk appmenu-gtk3 zeitgeist gwibber gnome-screensaver banshee
|
|
|
|
# Installs CLI apps
|
|
sudo apt-get install vim ssh multitail htop iotop tmux
|
|
|
|
# Installs desktop environment
|
|
sudo apt-get install gnome-shell gnome-tweak-tool faenza-icon-theme network-manager-openconnect-gnome gnome-sushi gnome-shell-extensions-mediaplayer gnome-shell-extensions-noa11y gnome-shell-classic-systray gnome-shell-message-notifier gnome-shell-extension-notesearch
|
|
|
|
# Installs non-CLI apps
|
|
sudo apt-get install gnome-agave gimp inkscape tomboy rhythmbox chromium-browser shutter ubuntu-tweak vim-gnome
|
|
|
|
gsettings set com.github.charkins.notesearch app Tomboy
|
|
# gsettings set com.github.charkins.notesearch app Gnote
|
|
|
|
# Installs my dev stack
|
|
sudo apt-get install git-core ruby1.8-dev nginx apache2 php5 php5-cgi php5-cli php-pear php5-suhosin psmisc spawn-fcgi mysql-server php5-mysql redis-server memcached php5-memcache php5-memcached php5-gd php5-curl php5-imagick exim4-daemon-light
|
|
|
|
# TODO Installs my server stack
|
|
|
|
# Configures some stuff
|
|
sudo a2enmod expires rewrite ssl
|
|
sudo service apache2 restart
|
|
|
|
# Clears out the old .bashrc
|
|
if [ -f ~/.bashrc ];
|
|
then
|
|
rm ~/.bashrc
|
|
fi
|
|
|
|
# Grabs the skeleton .bashrc
|
|
cp /etc/skel/.bashrc ~/.bashrc
|
|
|
|
PWD=`pwd`
|
|
|
|
# Adds paths and custom .bashrc
|
|
echo "
|
|
export PATH=\"$PWD/git:$PATH\"
|
|
|
|
if [ -f $PWD/bashrc ] && ! shopt -oq posix; then
|
|
. $PWD/bashrc
|
|
fi" >> ~/.bashrc
|
|
|
|
# Removes the existing scripts
|
|
if [ -d ~/.gnome2/nautilus-scripts ];
|
|
then
|
|
rm ~/.gnome2/nautilus-scripts -rf
|
|
fi
|
|
|
|
# Symlinks back to our scripts
|
|
ln -s $PWD/nautilus-scripts ~/.gnome2/nautilus-scripts
|
|
|
|
./vim-setup.sh
|
|
|
|
echo; echo "SETUP COMPLETE!!~!"
|
|
echo; echo "For further enhancement, do this: http://www.omgubuntu.co.uk/2011/10/use-adwaita-dark-as-your-system-theme/"
|