Last active
August 29, 2015 14:02
-
-
Save Cameron-C-Chapman/ece57ef6d69b0cf98876 to your computer and use it in GitHub Desktop.
My running log of what I've done to my fresh Ubuntu 14.04 Trusty Tahr installation.
This file contains hidden or 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
# This can be ran as a standalone script but really it is just a reference of things I've done with a fresh install in case I want or need to install Ubuntu on another machine. | |
############################################################################################################################## | |
# Tips from the following URL: http://howtoubuntu.org/things-to-do-after-installing-ubuntu-14-04-trusty-tahr | |
# ***Note: First you will need to enable partner repositories in the Software & Updates GUI.*** | |
echo "Downloading GetDeb and PlayDeb....." && | |
wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb http://archive.getdeb.net/install_deb/playdeb_0.3-1~getdeb1_all.deb && | |
echo "Installing GetDeb....." && | |
sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb && | |
echo "Installing PlayDeb....." && | |
sudo dpkg -i playdeb_0.3-1~getdeb1_all.deb && | |
echo "Deleting Downloads....." && | |
rm -f getdeb-repository_0.1-1~getdeb1_all.deb && | |
rm -f playdeb_0.3-1~getdeb1_all.deb | |
echo "Adding some common repositories....." && | |
sudo add-apt-repository -y ppa:videolan/stable-daily | |
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp | |
sudo add-apt-repository -y ppa:gnome3-team/gnome3 | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager | |
echo 'deb http://download.videolan.org/pub/debian/stable/ /' | sudo tee -a /etc/apt/sources.list.d/libdvdcss.list && | |
echo 'deb-src http://download.videolan.org/pub/debian/stable/ /' | sudo tee -a /etc/apt/sources.list.d/libdvdcss.list && | |
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add - | |
echo "Update packages....." && | |
sudo apt-get update | |
echo "Upgrade packages....." && | |
sudo apt-get upgrade | |
echo "Upgrade distribution packages....." && | |
sudo apt-get dist-upgrade | |
echo "Adding some common repositories....." && | |
sudo apt-get install -y synaptic vlc gimp gimp-data gimp-plugin-registry gimp-data-extras y-ppa-manager bleachbit openjdk-7-jre oracle-java8-installer flashplugin-installer unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller libxine1-ffmpeg mencoder flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 totem-mozilla icedax lame libmad0 libjpeg-progs libdvdcss2 libdvdread4 libdvdnav4 libswscale-extra-2 ubuntu-restricted-extras ubuntu-wallpapers* | |
echo "Install Google Chrome....." && | |
if [[ $(getconf LONG_BIT) = "64" ]] | |
then | |
echo "64bit Detected" && | |
echo "Installing Google Chrome" && | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && | |
sudo dpkg -i google-chrome-stable_current_amd64.deb && | |
rm -f google-chrome-stable_current_amd64.deb | |
else | |
echo "32bit Detected" && | |
echo "Installing Google Chrome" && | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb && | |
sudo dpkg -i google-chrome-stable_current_i386.deb && | |
rm -f google-chrome-stable_current_i386.deb | |
fi | |
echo "Some cleaning up....." && | |
sudo apt-get -f install && | |
sudo apt-get autoremove && | |
sudo apt-get -y autoclean && | |
sudo apt-get -y clean | |
############################################################################################################################## | |
############################################################################################################################## | |
# Some tips from the following URL: http://www.enqlu.com/2014/04/things-to-do-after-installing-ubuntu-14-04-lts-trusty-tahr.html | |
echo "Installing Gnome Tweak Tool....." && | |
sudo apt-get install -y gnome-tweak-tool | |
echo "Installing Unity Tweak Tool....." && | |
sudo apt-get install -y unity-tweak-tool | |
echo "Installing Pidgin....." && | |
sudo apt-get install -y pidgin | |
echo "Installing System Load Indicator....." && | |
sudo apt-get install -y indicator-multiload | |
############################################################################################################################## | |
############################################################################################################################## | |
# Some tips from the following URL: http://www.webupd8.org/2014/04/10-things-to-do-after-installing-ubuntu.html | |
echo "Installing Cpufreq Indicator....." && | |
sudo apt-get install -y indicator-cpufreq | |
echo "Installing Firefox support for H.264....." && | |
sudo add-apt-repository ppa:mc3man/trusty-media | |
sudo apt-get update | |
sudo apt-get install -y gstreamer0.10-ffmpeg | |
echo "Installing and configuring Pipelight....." && | |
sudo apt-add-repository ppa:pipelight/stable | |
sudo apt-get update | |
sudo apt-get install -y pipelight-multi | |
sudo pipelight-plugin --enable silverlight | |
sudo pipelight-plugin --enable widevine | |
echo "Installing Pepper Flash....." && | |
sudo apt-get install -y pepperflashplugin-nonfree | |
sudo update-pepperflashplugin-nonfree --install | |
############################################################################################################################## | |
############################################################################################################################## | |
# Some of my favorite IDE's | |
# Sublime Text 2 (I'll upgrade to 3 eventually.....) | |
# Reference: http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2 | |
echo "Installing Sublime Text 2....." && | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text | |
# Install Jetbrains Webstorm | |
# Partial Reference: http://www.jetbrains.com/webstorm/webhelp/system-requirements-and-installation.html#d117668e505 | |
# Download the WebStorm-*.tar.gz file at http://www.jetbrains.com/webstorm/download/index.html | |
# @TODO Make version number dynamic | |
echo "Installing WebStorm 8.0.3..." && | |
wget -P /home/$USER/Downloads http://download.jetbrains.com/webstorm/WebStorm-8.0.3.tar.gz | |
sudo mkdir /home/$USER/WebStorm | |
pushd /home/$USER/Downloads/ | |
sudo tar xfz WebStorm-*.tar.gz | |
sudo rm WebStorm-*.tar.gz | |
sudo mv WebStorm-* /home/$USER/WebStorm/ | |
sudo sh /home/$USER/WebStorm/WebStorm-*/bin/webstorm.sh & | |
# Vim (of course) | |
echo "Installing Vim....." && | |
sudo apt-get install -y vim | |
############################################################################################################################## | |
############################################################################################################################## | |
# Some dev environment stuff | |
# Install curl | |
echo "Installing curl....." && | |
sudo apt-get install -y curl | |
# Borrow Ben Alman's dotfiles repo setup script | |
# Reference: https://github.com/cowboy/dotfiles | |
echo "Installing Ben Alman's dotfiles....." && | |
sudo bash -c "$(curl -fsSL https://raw.github.com/cowboy/dotfiles/master/bin/dotfiles)" && source ~/.bashrc | |
# *** Note: You will now have some nice aliases available thanks to the dotfiles script but just in case I want to pick and choose in the future I'll keep it to the normal bash commands. *** | |
# A good old LAMP install plus some common PHP extensions | |
echo "Installing LAMP and some PHP extensions....." && | |
sudo apt-get update | |
sudo apt-get install -y apache2 | |
sudo a2enmod rewrite | |
sudo apt-get install -y mysql-server libapache2-mod-auth-mysql php5-mysql | |
sudo apt-get install -y php5 libapache2-mod-php5 php5-mcrypt | |
sudo apt-get install -y php5-cli php5-common php-apc php-pear php5-xdebug php5-curl php5 php5-dev | |
sudo apt-get install -y php5-xsl | |
sudo apt-get install -y php5-intl | |
sudo service apache2 restart | |
# SQLite | |
echo "Installing sqlite....." && | |
sudo apt-get install -y sqlite3 php5-sqlite | |
# Composer | |
echo "Installing Composer....." && | |
sudo curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/bin/composer | |
# Oh My Zsh | |
echo "Installing ohmyzsh....." && | |
sudo apt-get install -y zsh | |
sudo curl -L http://install.ohmyz.sh | sh | |
############################################################################################################################## | |
############################################################################################################################## | |
# Some miscellaneous stuff | |
# Spotify | |
echo "Installing Spotify....." && | |
sudo sh -c 'echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list' | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 | |
sudo apt-get install spotify-client | |
############################################################################################################################## | |
############################################################################################################################## | |
# I dual boot windows so this can be helpful | |
# Boot-Repair | |
echo "Installing Boot Repair....." && | |
sudo add-apt-repository ppa:yannubuntu/boot-repair | |
sudo sed 's/trusty/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list | |
sudo apt-get update | |
sudo apt-get install -y boot-repair && (boot-repair &) | |
############################################################################################################################## | |
############################################################################################################################## | |
# Things I used the Software Center to install | |
# Dropbox | |
# MySQL Workbench | |
# XBMC Media Center | |
############################################################################################################################## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment