Modifies elasticsearch.conf, determines OS bit-depth, optioanlly configures RUN_AS_USER.
e.g. Usage:
curl -ksL https://gist.github.com/rnix/8823390/raw/install-elasticsearch-servicewrapper.sh | bash -s [ES_HOME [RUN_AS_USER]]
#!/bin/bash | |
URL='http://anonscm.debian.org/loggerhead/pkg-postgresql/postgresql-common/trunk/download/head:/apt.postgresql.org.s-20130224224205-px3qyst90b3xp8zj-1/apt.postgresql.org.sh' | |
curl -L "${URL}" | sudo bash -s precise |
Modifies elasticsearch.conf, determines OS bit-depth, optioanlly configures RUN_AS_USER.
e.g. Usage:
curl -ksL https://gist.github.com/rnix/8823390/raw/install-elasticsearch-servicewrapper.sh | bash -s [ES_HOME [RUN_AS_USER]]
#!/bin/bash | |
apt-get update -qy | |
apt-get install -qy python g++ make curl git build-essential software-properties-common python-software-properties |
* |
$ ldd test | |
linux-vdso.so.1 => (0x00007fffaf5ff000) | |
libjson-c.so.2 => /usr/local/lib/libjson-c.so.2 (0x00007ff4d7c29000) | |
libm.so.6 => /lib64/libm.so.6 (0x00007ff4d799c000) | |
libc.so.6 => /lib64/libc.so.6 (0x00007ff4d7609000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007ff4d7e33000) |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
checking how to print strings... printf | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes |
POSTGIS=2.0.1 | |
PROJ=4.8.0 | |
GEOS=3.3.5 | |
JSON=0.10 | |
GDAL=1.9.1 | |
install: postgis | |
# | |
proj: proj-$(PROJ) |
web: python manage.py runserver 0.0.0.0:$PORT --noreload |