This is working on Ubuntu 16.04, Altcoin Wallet installation required
Before to start using this Guide you must have a full synced and running Wallet.
Install apache Webserver and php
sudo apt-get install apache2
sudo apt-get install php
Install and configure MySQL
sudo apt-get install mysql-server
-> While installing you will be pormted to set a root passwort, use a strong password and write it down some where!
The first step to configure mysql for production mode is to run
mysql_secure_installation
Then, when asked, enter your root password.
Further I would deny the first two questions (n) and accept the remaining questions (y)#
Install and configure the Faucet
cd /var/www/html
git clone https://github.com/WlanWerner/Multicoin-Faucet.git
cp -r Multicoin-Faucet-Script/* /var/www/html/
-> Now you have all the faucet Files in the Webserver root.
Create Database with User
mysql -u root -p
-> enter root password
You are now logged in as mysql User
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
->Replace newuser and password between the quotes
CREATE DATABASE faucet;
Grant All Privileges ON faucet.* TO 'newuser'@'localhost';
-> Replace the newuser with the User you created in the step above
USE faucet;
SOURCE /var/www/html/faucet.sql;
-> to fill in the Database with all it's necessary rows
Quit MySQL with
\q
Last Steps
nano config.php
Now you just have to fill in the config with all necessary informations. The values are explained behind the // signs.
Optionally
Put a favicon.ico in the img folder
When using the basic template you should add a Coinname.png in the img folder. Note that the large and lower case of the Coinname.png should match with the Coinname set in the Faucet config.