Last active
December 26, 2015 20:59
-
-
Save amercier/7212394 to your computer and use it in GitHub Desktop.
Git + GitLab curl https://gist.github.com/amercier/7212394/raw | bash
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
#!/bin/bash | |
# Ensure we are root | |
[ "$(whoami)" == "root" ] || (echo "This script must be executed as root" & exit 1) | |
# Install dependencies | |
aptitude update \ | |
&& aptitude upgrade \ | |
&& aptitude install \ | |
build-essential \ | |
zlib1g-dev \ | |
libyaml-dev \ | |
libssl-dev \ | |
libgdbm-dev \ | |
libreadline-dev \ | |
libncurses5-dev \ | |
libffi-dev \ | |
curl \ | |
openssh-server \ | |
redis-server \ | |
checkinstall \ | |
libxml2-dev \ | |
libxslt1-dev \ | |
libcurl4-openssl-dev \ | |
libicu-dev \ | |
logrotate \ | |
git-core \ | |
python \ | |
python-docutils \ | |
|| exit 1 | |
gem install bundler --no-ri --no-rdoc \ | |
|| exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment