telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 10b4676eb3ce6d585c3d9b0904be120473cc70d2
parent 7f88c7a854c066b75b7ef50d144c241ffd72c536
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 26 Oct 2015 11:30:05 +0100

Removing legacy Debian automatic install script

Diffstat:
MREADME.md | 4----
Dinstall/debian.sh | 28----------------------------
2 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/README.md b/README.md @@ -115,10 +115,6 @@ Depending on existing configuration, the `map_hash_max_size` and `map_hash_bucke On busy instances, the maximum number of open files limit must be increased using the `worker_rlimit_nofile` directive in order to avoid running out of available file descriptors. -There is an automatic install script for Debian : - - sh install/debian.sh - ## Access and Error logs The default Telize configuration does not have logging enabled, it must be configured manually. diff --git a/install/debian.sh b/install/debian.sh @@ -1,28 +0,0 @@ -# Installing required packages -echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list -apt-get update -apt-get install -t wheezy-backports nginx-extras -apt-get install build-essential luarocks unzip -luarocks install lua-cjson -luarocks install lua-iconv - -# Copying Telize configuration and enabling it -cp *.conf /etc/nginx/ -cp telize /etc/nginx/sites-available -ln -s /etc/nginx/sites-available/telize /etc/nginx/sites-enabled - -# Installing GeoIP databases -mkdir -p /usr/share/GeoIP -wget -P /usr/share/GeoIP http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz -wget -P /usr/share/GeoIP http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz -wget -P /usr/share/GeoIP http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz -gunzip -f /usr/share/GeoIP/*gz - -# Adding required directives in nginx.conf -sed -i "s|http {|http {\n\tgeoip_country /usr/share/GeoIP/GeoIPv6.dat;\n\tgeoip_city /usr/share/GeoIP/GeoLiteCityv6.dat;\n\tgeoip_org /usr/share/GeoIP/GeoIPASNumv6.dat;\n\n\tmap_hash_max_size 8192;\n\tmap_hash_bucket_size 64;\n\n\tinclude /etc/nginx/timezone.conf;\n\tinclude /etc/nginx/timezone-offset.conf;\n\n|" /etc/nginx/nginx.conf - -# Removing symlink to default site -rm /etc/nginx/sites-enabled/default - -# Restarting Nginx -service nginx restart