It requires a version of Shockpot that logs to PostgreSQL
This setup requires a version of Shockpot that is capable of logging data to PostgreSQL. For more details, visit the official repository: https://github.com/GovCERT-CZ/shockpot.
Utilizing Various PHP Libraries for Enhanced Functionality
It utilizes the Libchart PHP chart drawing library developed by Jean-Marc Trémeaux, the QGoogleVisualizationAPI PHP Wrapper for Google's Visualization API created by Thomas Schäfer, the RedBeanPHP library by Gabor de Mooij, and geolocation technologies from MaxMind and geoPlugin.
The following packages and installation instructions
To set up the necessary packages, install the following: libapache2-mod-php5, php5-pgsql, php5-gd, and php5-curl. On Ubuntu/Debian systems, run the command: apt-get update && apt-get install -y libapache2-mod-php5 php5-pgsql php5-gd php5-curl. Then, restart Apache with: /etc/init.d/apache2 restart.
QUICK INSTALLATION: First, download the Shockpot Frontend by executing: wget https://github.com/GovCERT-CZ/Shockpot-Frontend/archive/master.zip. Next, move the downloaded file with: mv Shockpot-Frontend-master.zip /var/www/html. Change to the web directory: cd /var/www/html. Unzip the file using: unzip Shockpot-Frontend-master.zip. Move the unzipped folder: mv Shockpot-Frontend-master shockpot-frontend. Now, navigate into the new directory: cd shockpot-frontend. Set permissions for generated graphs with: chmod 777 generated-graphs. Copy the configuration template: cp config.php.dist config.php. Edit the config file using: nano config.php and enter the appropriate values. Finally, browse to http://your-server/shock.