Please note: the installation of Cryptoblizz on DigitalOcean requires technical knowledge. You can purchase
Installation procedure DigitalOcean
- Register at DigitalOcean and Spin up LAMP stack droplet. This will install PHP, MySql, Apache on Linux OS.
- Now connect to your server using Putty and SSH as explained in this DigitalOcean tutorial. A few Putty tips:
– To copy text in the Putty console, just select the text with your mouse and it will be copied
– To paste text in the Putty console, just right-click your mouse and the copied text will be inserted at your cursor position
– When adding / pasting a password in Putty you will not see your typed or copied text.
- When you are connected to the server, execute the command:
- A file will open containing your MySQL root password. Copy the password (just selecting the text will copy it) and store it somewhere you can access it later. Now run the command:
- Follow steps on your screen, disable and delete all test and demo databases and users as the wizard asks you to do.
- Now, optional, but recommended is to create a new user on your server with which can do root actions but is not a root user. To do this, follow Step one – Step three of this article. If you have created the user, you can switch to this user (recommended) with the command (replace username with the created user):
- From you Cryptoblizz account on our website download the Cryptoblizz package for PHP 5.6 and up
- Using FileZilla connect to your server to upload the Cryptoblizz files. Using the quickconnect bar, connect to host: sftp://your.ip.address, user root and password your droplet root password. Replace your.ip.address with the actual IP address of your DigitalOcean droplet.
- In FileZilla, browse to the folder /var/www/html (you can paste it directly in the external site directory bar)
- Upload the contents of the Cryptoblizz package to this folder with FileZilla.
- Next, using your browser, go to http://your.ip.address to access Cryptoblizz. It will give you a warning about ionCube.
- Install ionCube, check out our troubleshooting for more detailed instructions. Upload the loader-wizard.php to the same directory as where you uploaded the Cryptoblizz files (/var/www/html) and go to http://your.ip.address/loader-wizard.php to install ionCube loader.
- Once ionCube is succesfully installed, go back to the Putty SSH program and execute this command:
sudo nano /etc/php/7.0/cli/php.ini
- This will open a file. Now scroll down to the very bottom of the file with your keyboard arrows. At the very bottom of the file add this line:
zend_extension = “/usr/lib/php/20151012/ioncube_loader_lin_7.0.so”
- Now press CTRL-X, then press Y, then press Enter / Return key.
- Execute the commands (after each command press Enter / Return):
sudo apt-get update
sudo apt-get install php7.0-curl
sudo service apache2 restart
sudo chown -R www-data:www-data /var/www/html/*
sudo chown -R www-data:www-data /var/www/html/
- Press Y and Enter/Return if questions or confirmations are asked.
- Install the cronjobs on your server as explained in this article.
- Now go to http://your.ip.address and run the Cryptoblizz installation.
- At the database installation step you need to enter database details. In order to do this, you first have to create a database and a user. To do so, go back to Putty SSH program and execute the commands below. After the first command, a password is required. This is the password you obtained in step 4 of this tutorial. After each command press Enter / Return.
mysql -u root -p
CREATE DATABASE cryptoblizzdb;
CREATE USER ‘cryptoblizzdb’@’localhost’ IDENTIFIED BY ‘add_your_password_here_please’;
GRANT ALL PRIVILEGES ON cryptoblizzdb.* TO ‘cryptoblizzdb’@’localhost’;
- You have now setup a database and you can enter these details in your browser in the Cryptoblizz installation. You need to enter the following details:
Password: your password, added in the CREATE USER command at ‘add_your_password_here_please’
- That’s it. Continue the installation and you are all set! Optionally, read the instructions below if you want to access Cryptoblizz through a custom domainname.
- To password protect access to your Cryptoblizz installation, check this article.
Connect a domainname to DigitalOcean
- Register a domainname at a domainname registar such as GoDaddy.
- Point your DNS domain A record to the DigitalOcean droplet IP.
- Once DNS has propagated (can take up to 24 hours) you can access Cryptoblizz through your domainname.
- Optionally secure your domainname with SSL (recommended) by following the steps below.
Secure installation through SSL (https:// access)
- Connect to your server using SSH & Putty as explained in this DigitalOcean tutorial.
- Execute the command
sudo nano /etc/apache2/sites-available/000-default.conf
- To the file that opens, add the following lines right below <VirtualHost *:80>, replacing yourdomainname.com with your actual domainname:
- Now enable let’s encrypt for your custom domain by following this DigitalOcean tutorial.