Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Building and Running

Darius edited this page Sep 3, 2017 · 16 revisions

You need

Linux PC (Ubuntu Powered for best)

Possibly development tools installed...

mysql (sudo apt-get install libmysqlclient-dev)

-GeoIP (original req) https://raw.githubusercontent.com/maxmind/geoip-api-c/master/libGeoIP/GeoIP.h-

GeoIPInstallation

sudo add-apt-repository ppa:maxmind/ppa
sudo aptitude update
sudo aptitude install libgeoip1 libgeoip-dev geoip-bin

You Need lua (lua.h)

sudo apt-get install liblua5.1-0-dev
sudo apt-get install lua5.2
sudo apt-get install liblua5.2-dev

And MySQL

sudo apt-get install mysql-server
sudo mysql_secure_installation

Build using

make -f Makefile

Running

sudo ./openspy

in the place where you downloaded /openspy foler make sure you have set up openspy.cfg and it uses same password!

but before do this

sudo mysql -u root -p
CREATE DATABASE GameTracker;
sudo mysql -u username -p database_name < file.sql
sudo mysql -p GameTracker < GameTracker.sql
Clone this wiki locally