Skip to content

Server Prerequisites

Winxp5421 edited this page Apr 3, 2017 · 32 revisions

To set up a Hashtopussy server you will need following components:

  • A web server (Apache 2 recommended, but Nginx also possible) TODO: here point to somewhere with an explanation what is special when using nginx. permissions on folders etc.)
  • PHP 5.3 or higher (7.0 recommended)
  • php-mcrypt module
  • MySQL server 5.x with a database user with all privileges on a database

You may want to increase these PHP parameters to accommodate your intended usage.

sudo nano /etc/php/7.0/apache2/php.ini
memory_limit = ...
upload_max_filesize = ...
post_max_size = ...

Ubuntu 16.10 Install with Apache2

Video Tutorial (Thanks to winxp5421)

Hashtopussy Install video

Installation procedure

Install required software:

sudo apt update && sudo apt upgrade
sudo apt install mysql-server
sudo apt install apache2
sudo apt install libapache2-mod-php php-mcrypt php-mysql php
sudo apt install git
sudo apt install phpmyadmin

secure the mysql installation:

mysql_secure_installation

Create a mySQL User and a Database the user can read and write to by navigating to: http://<serverIP>/myphpadmin

clone the source code and put it into the www dir:

git clone https://github.com/s3inlc/hashtopussy.git
cd hashtopussy/src
sudo mkdir /var/www/hashtopussy
sudo cp -r * /var/www/hashtopussy
sudo chown -R www-data:www-data /var/www/hashtopussy

cleanup:

sudo rm -r /var/www/hashtopussy/install

Clone this wiki locally