Update README.md

This commit is contained in:
Alexey Nizhegolenko 2018-10-10 21:49:52 +03:00 committed by GitHub
parent f71c62d730
commit 197df5c590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,13 +55,13 @@ $ cp geostat.service.template geostat.service
$ vi geostat.service $ vi geostat.service
$ cp geostat.service /lib/systemd/system/ $ cp geostat.service /lib/systemd/system/
``` ```
4) Download latest GeoLiteCity.dat from MaxMind 3) Download latest GeoLiteCity.dat from MaxMind
```sh ```sh
$ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz $ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
$ gunzip GeoLiteCity.dat.gz $ gunzip GeoLiteCity.dat.gz
$ rm GeoLiteCity.dat.gz $ rm GeoLiteCity.dat.gz
``` ```
5) Then enable and start service 4) Then enable and start service
```sh ```sh
$ systemctl enable geostat.service $ systemctl enable geostat.service
$ systemctl start geostat.service $ systemctl start geostat.service