The following steps allow you to configure the Dendroid Malware locally.
1) Download XAMPP for Ubuntu (LAMPP) (https://www.apachefriends.org/download.html)
2) Install LAMPP:
$ cd ~/Downloads $ sudo chmod +x xampp-linux-x64-5.6.8-0-installer.run $ sudo ./xampp-linux-x64-5.6.8-0-installer.run
Click Next 100 times
Uncheck the Launch XAMPP option and click Finish
3) Check the status of MySQL:
Open a browser and go to: localhost/XAMPP
In the error page click on the localhost link
Now click on the English link
Now, on the left, click on Status and confirm that the MySQL database is deactivated
4) Setup Passwords:
$ sudo /opt/lampp/lampp security
Set a password for your XAMPP pages
Disable network MySQL accesses
Setup password for FTP (not needed)
5) Move Dendroid to LAMPP
$ sudo mv ~/Downloads/dendroid/ /opt/lampp/htdocs/ $ cd /opt/lampp/htdocs/dendroid/ $ sudo chmod 777 *
6) Restart LAMPP
$ sudo /opt/lampp/lampp restart
7) Create the Database
Open a browser and go to: localhost/phpmyadmin
Create a database called “trubi”
Import the SQL.sql file into the new database
8) Open Dendroid's GUI
Go to: localhost/dendroid
Login with user “trubi” and password “trubi”