Learn about Centmin Mod LEMP Stack today
Become a Member

Getting Accurate Location On Registration

Discussion in 'System Administration' started by BamaStangGuy, Apr 4, 2017.

  1. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    10:03 PM
    Does anyone here use a particular service to get accurate location (City, State, Country) on registration? We don't mind paying for a good service that can help us improve the location data we have on users.
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:03 PM
    Nginx 1.13.x
    MariaDB 5.5
    geo ip location is tricky as there's more than one database folks can use and they aren't all updated in timely manner

    for server/bash scripting i favour ipinfo.io
    FYI, centmin mod cminfo command uses ipinfo.io :)

    Code (Text):
    cminfo
    ------------------------------------------------------------------
     Centmin Mod Quick Info:
    ------------------------------------------------------------------
    Server Location Info
    
      ip: IP
      city: Montreal
      region: Quebec
      country: CA
    
    Processors physical = 1, cores = 4, virtual = 8, hyperthreading = yes
    
          1  4000.000
          2  4000.156
          1  4002.031
          1  4011.875
          1  4053.125
          1  4078.593
          1  4132.968
          8  Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
          8  8192 KB
    
     System Up Since:       2017-04-04 07:23:00
     System Uptime:         up 5 hours, 16 minutes
     MySQL Server Started   2017-04-04 07:40:27
     MySQL Uptime:          4 hours 58 min 54 sec  
     MySQL Uptime (secs):   17934
     Server Type:           not virtualized
     CentOS Version:        7.3
     Centmin Mod:           1.2.3-eva2000.09.004
     Nginx PageSpeed:       OFF
     Nginx Version:         1.11.12
     PHP-FPM Version:       5.6.30
     MariaDB Version:       10.1.22
     CSF Firewall:          v10.05
     Memcached Server:      1.4.36
     NSD Version:           66:
     Siege Version:         4.0.2
     Maldet Version:        not installed
     ClamAV Version:        not installed
     ElasticSearch:         not installed
    
     
  3. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    10:03 PM
    That looks like a pretty good service. Will give that a go.
     
  4. RB1

    RB1 Active Member

    269
    70
    28
    Nov 11, 2016
    California
    Ratings:
    +117
    Local Time:
    8:03 PM
    Nginx 1.13.x
    MariaDB 10.1.x
    MaxMind is a good service if you don't mind paying a fee.
    They also have a free version although it's not as accurate because they don't update it as frequently.