Installation guide for DigitalOcean

Installation guide for DigitalOcean
Please note: the installation of Cryptoblizz on DigitalOcean requires technical knowledge. You can purchase installation service if you want us to install it for you. If you want to install Cryptoblizz by yourself but you have zero technical knowledge, please use Cloudways hosting instead for easy installation without technical steps.

Installation procedure DigitalOcean

  1. Register at DigitalOcean and Spin up LAMP stack droplet. This will install PHP, MySql, Apache on Linux OS.
  2. 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.
  3. When you are connected to the server, execute the command:
    nano /root/.digitalocean_password
  4. 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:
    mysql_secure_installation
  5. Follow steps on your screen, disable and delete all test and demo databases and users as the wizard asks you to do.
  6. 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):
    su username
  7. From you Cryptoblizz account on our website download the Cryptoblizz package for PHP 5.6 and up
  8. 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.
  9. In FileZilla, browse to the folder /var/www/html (you can paste it directly in the external site directory bar)
  10. Upload the contents of the Cryptoblizz package to this folder with FileZilla.
  11. Next, using your browser, go to http://your.ip.address to access Cryptoblizz. It will give you a warning about ionCube.
  12. 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.
  13. 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
  14. 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”
  15. Now press CTRL-X, then press Y, then press Enter / Return key.
  16. 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/
  17. Press Y and Enter/Return if questions or confirmations are asked.
  18. Install the cronjobs on your server as explained in this article.
  19. Now go to http://your.ip.address and run the Cryptoblizz installation.
  20. 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’;
    FLUSH PRIVILEGES;
  21. 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:
    Host: localhost
    User: cryptoblizzdb
    Database: cryptoblizzdb
    Password: your password, added in the CREATE USER command at ‘add_your_password_here_please’
  22. 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.
  23. To password protect access to your Cryptoblizz installation, check this article.

Connect a domainname to DigitalOcean

  1. Register a domainname at a domainname registar such as GoDaddy.
  2. Point your DNS domain A record to the DigitalOcean droplet IP.
  3. Once DNS has propagated (can take up to 24 hours) you can access Cryptoblizz through your domainname.
  4. Optionally secure your domainname with SSL (recommended) by following the steps below.

Secure installation through SSL (https:// access)

  1. Connect to your server using SSH & Putty as explained in this DigitalOcean tutorial.
  2. Execute the command
    sudo nano /etc/apache2/sites-available/000-default.conf
  3. To the file that opens, add the following lines right below <VirtualHost *:80>, replacing yourdomainname.com with your actual domainname:
    ServerName yourdomainname.com
    ServerAlias www.yourdomainname.com
  4. Now enable let’s encrypt for your custom domain by following this DigitalOcean tutorial.
Did this article answer your question?