Web-installation manual

Setting up environment

For the DV Pay installer to work successfully, you must prepare the environment. If any of the packages are already installed - you can skip this step. Please pay attention to the minimum supported versions of each package.

Domain purchase

You will need a domain to host installer web interface, and subsequently personal DV Pay account. You can buy a domain from registrars GoDaddy, NameSilo or any other.
In the following examples we use the domain mydomain.com

System Setup

Open /etc/selinux/config file in editor:

Change status to disabled:

Reboot.

Install packages

Software Minimum requirements

nginx

1.14.1

redis

5.0.0

MySQL

8.0.0

PHP

8 above and modules: fpm, cli, mysqlnd, pdo, pecl-memcache, xml, mbstring, zip, opcache, bcmath, intl, memcached, redis

Create a user

Create a new user:

Download the installer

Create a new directory and upload the archive with the installer into it. For example, in /home/server/merchant:

Grant rights to the directory

Give the created user rights to the directory, where the installer is downloaded and unpacked:

Add nginx configuration

In the `etc/nginx/conf.d` directory, create a configuration file with the extension `.conf`, give it a convenient name:

Fill the configuration file with the following code, substituting your domain (line 4) and path to php82.sock (lines 30, 45 и 51):

Running the installer

Now you are ready to run the installer - it will check matches the installed packages and will ask for the necessary information. Open your browser and go to link mydomain.com/install.html

1.Enter domain

Введите домен

2.Connecting the database

Enter the email address that will be be used as a login, and also set password for the account.

Введите домен

3.Set the login and password for admin

Enter the email address that will be be used as a login, and also set password for the account.

Введите домен

4.Complete installation

After checking access to the database, the installation will begin. Once the installation is complete, click the “go to website” button to go to your DV Pay personal account. Log in using the username and password that asked in the last step.

Введите домен

Setting up queues and cron

Now everything is ready to run the installer - it will check the compliance of installed packages and will ask for the necessary information. Open your browser and follow the link mydomain.com/install.html

Setting up systemd configuration

Go to directory /etc/systemd/system/ and create 3 configuration files:

Add configuration code to each file:

For the transfers.service file:

For the file [email protected]:

Run the files:

Setting up cron

Launch cron editor:

Add a regular launch setting: