Last active
August 29, 2015 14:10
-
-
Save lordofthelake/d059304c6496852f18a9 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 provisioning scripts
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
#!/usr/bin/env sh | |
# Enable multiverse repository | |
sudo sed -i "/^# deb .*multiverse/ s/^# //" /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libtheora-dev libtool libvorbis-dev pkg-config texi2html zlib1g-dev checkinstall libx264-dev libmp3lame-dev libfdk-aac-dev libopus-dev libvpx-dev yasm | |
mkdir /tmp/ffmpeg_sources | |
cd /tmp/ffmpeg_sources | |
wget http://ffmpeg.org/releases/ffmpeg-1.2.9.tar.gz | |
tar xzvf ffmpeg-1.2.9.tar.gz | |
cd ffmpeg-1.2.9 | |
./configure --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree | |
make | |
sudo checkinstall -y make install | |
make distclean | |
sudo rm -rf /tmp/ffmpeg_sources | |
hash -r |
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
#!/usr/bin/env sh | |
sudo add-apt-repository -y ppa:brightbox/ruby-ng | |
sudo add-apt-repository -y ppa:chris-lea/node.js | |
sudo apt-get update && apt-get -y dist-upgrade | |
sudo apt-get -y install build-essential ruby2.1 ruby2.1-dev build-essential libpq-dev libv8-dev libsqlite3-dev nodejs sqlite3 git nano curl openssh-server mosh | |
# Prepare the environment for Ruby / Node apps | |
echo "gem: --no-rdoc --no-ri" >> ~/.gemrc | |
gem install bundler foreman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment