From bef01da45657abfd825dbc5e3f02b6bd0d606c88 Mon Sep 17 00:00:00 2001 From: Siobhan Tully Date: Sat, 11 Jan 2014 11:35:04 -0500 Subject: [PATCH] install_opencloud script with needed yum/pip install packs --- install_opencloud | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 install_opencloud diff --git a/install_opencloud b/install_opencloud new file mode 100755 index 0000000..ec0e0ab --- /dev/null +++ b/install_opencloud @@ -0,0 +1,52 @@ +#!/bin/sh +yum -y install postgresql postgresql-server +yum -y install python-psycopg2 +yum -y install graphviz +yum -y install graphviz-devel +yum -y install graphviz-python +yum -y install libxslt-devel +yum -y install python-pip +yum -y install wget +yum -y install tar +yum -y install gcc +yum -y install libxml2-dev +yum -y install libxslt1-dev +yum -y install python-devel + + +pip-python install django==1.5 +pip-python install djangorestframework +pip-python install markdown # Markdown support for the browseable API. +pip-python install pyyaml # YAML content-type support. +pip-python install django-filter # Filtering support +pip-python install lxml # XML manipulation library +pip-python install netaddr # IP Addr library +pip-python install pytz +pip-python install django-timezones +pip-python install requests +pip-python install django-crispy-forms +pip-python install django-geoposition +pip-python install django-extensions +pip-python install django-suit +pip-python install django-evolution +pip-python install docutils +pip-python install cython +pip-python install bitfield +pip-python install pygments + +easy_install django_evolution + +wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-x86_64.tar.bz2 + +mv ./phantomjs-1.7.0-linux-x86_64.tar.bz2 /usr/local/share + +cd /usr/local/share + +tar xvf phantomjs-1.7.0-linux-x86_64.tar.bz2 + +ln -s /usr/local/share/phantomjs-1.7.0-linux-x86_64 /usr/local/share/phantomjs + +ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs + +phantomjs --version + -- 2.43.0