Last active
December 24, 2015 09:09
-
-
Save sriprasanna/6775319 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
sudo apt-get update | |
sudo apt-get install --yes apt-file && apt-file update | |
sudo apt-get install --yes python-software-properties | |
sudo apt-add-repository --yes ppa:longsleep/couchdb | |
sudo apt-get update | |
sudo apt-get --purge --yes remove libcurl3 | |
sudo apt-get clean | |
sudo apt-get --print-uris --yes install libcurl3 couchdb imagemagick openjdk-7-jdk ruby1.8 thin openssh-server rubygems1.8 libxslt-dev libxml2-dev libzip2 libzip-dev build-essential | grep ^\' | cut -d\' -f2 > dependencies.txt | |
mkdir debs && cd debs | |
wget -nc -i ../dependencies.txt | |
cd .. | |
sudo apt-get install --yes unzip | |
wget https://github.com/rapidftr/RapidFTR/archive/release-1.1.0.zip | |
unzip release-1.1.0.zip | |
cd RapidFTR-release-1.1.0 | |
sudo echo "gem: --no-ri --no-rdoc" > /etc/gemrc | |
sudo apt-get install --yes ruby1.8 ruby1.8-dev rubygems1.8 libxml2-dev libxslt1-dev build-essential libzip2 libzip-dev openssh-server | |
sudo gem install bundler -v 1.2.5 | |
sudo gem install rake -v 0.8.7 | |
sudo gem install fpm | |
sudo lib/tasks/ubuntu/package.sh | |
mv rapidftr_1.1_*.deb .. | |
cd .. | |
ls -la |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment