Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz |gunzip > /usr/share/GeoIP/GeoIP.dat.new && mv /usr/share/GeoIP/GeoIP.dat.new /usr/share/GeoIP/GeoIP.dat && \
- curl http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz |gunzip > /usr/share/GeoIP/GeoIPv6.dat.new && mv /usr/share/GeoIP/GeoIPv6.dat.new /usr/share/GeoIP/GeoIPv6.dat && \
- curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz |gunzip > /usr/share/GeoIP/GeoLiteCity.dat.new && mv /usr/share/GeoIP/GeoLiteCity.dat.new /usr/share/GeoIP/GeoLiteCity.dat && \
- curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz |gunzip > /usr/share/GeoIP/GeoLiteCityv6.dat.new && mv /usr/share/GeoIP/GeoLiteCityv6.dat.new /usr/share/GeoIP/GeoLiteCityv6.dat && \
- curl http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz |gunzip > /usr/share/GeoIP/GeoIPASNum.dat.new && mv /usr/share/GeoIP/GeoIPASNum.dat.new /usr/share/GeoIP/GeoIPASNum.dat && \
- curl http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz |gunzip > /usr/share/GeoIP/GeoIPASNumv6.dat.new && mv /usr/share/GeoIP/GeoIPASNumv6.dat.new /usr/share/GeoIP/GeoIPASNumv6.dat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement