2. Installation

2.1. Downloading d3VIEW Build

d3VIEW build is supported on any type of Linux operating system that includes RedHat, CentOS, Suse, Ubuntu. Please contact your local distributor or support@d3view.com to receive a build (d3VIEW.run) for your operating system.

2.2. Architecture

  1. The minimum architecture that can be used to run d3VIEW-Platform is a all-inclusive LAMP stack in which a single Linux server supports running Apache and Database. This is the simplest method to run d3VIEW and can support 1-5 users depending on the server capacity.
  2. The second method is to host d3VIEW-Platform using two servers that each run Apache and Database server separately. This is most commonly used for small-to-medium loads and is highly recommended. The two servers can be independent with local storage to each of the servers.
  3. The third method is high-availability and reducdant system in which the Database is run in a clustered environment and the Apache is run behind a load-balancer with multiple servers hosting the application

2.3. Installation

  1. cp d3VIEW.run /opt/d3view

  2. ./d3VIEW.run

  3. cd d3VIEW

  4. Start the server using ./d3view_server.sh start

  5. Open a browser and go to http://D3VIEW_SEVRER:3080/hostids.php. Please share the hostids from this link to get a valid license file

    Below Image shows the host IDs info.

Host IDs info



  1. Once you receive the license file, you can edit the file D3VIEW_INSTALL_DIR/amp/php/bin/php.ini and update the license_path

  2. You can stop and start the server as D3VIEW_INSTALL_DIR/d3view_server.sh stop and D3VIEW_INSTALL_DIR/d3view_server.sh start

    The image below shows an example of the license path.

License path



  1. This will now guide you do the installation steps
  1. Click on the http://D3VIEW_SEVRER:3080 with out host IDs in step 5 which will open the instalation page. Click on ‘Install’

Install



  1. The first step in Installing is Database connection and this will tell us how to connect to the Database.
    1. Provide Host name
    2. User name
    3. Password
    4. Database name

Database connection



  1. Next step is to Create Administration account by providing - user name , email ID and Password. Click on create account after adding the credentials.

Administration



  1. Once account is created, Login page will be navigated and User can login to d3VIEW with the credentials.

Login to d3VIEW



2.4. Set up SSL Keys

  1. On the server where d3VIEW is installed, create a server CSR file using the following command openssl req -new -newkey rsa:2048 -nodes -keyout d3view_server.key -out d3view_server.csr
  2. Share the CSR from the above command to generate the SSL-certificate
  3. Once the SSL-certificate is issued, you can convert them from p7b format to .cer format as shown below openssl pkcs7 -print_certs -in ssl_certificate.p7b -out ssl_sertificate.cer
  4. Edit the Apache configuration file D3VIEW_INSTALL_DIR/am/httpd/conf/http.conf and add the following lines if not present or update the path to the certificates from above
    • SSLCertificateKeyFile /path/to/d3view_server.key (server key file from step 1 above)
    • SSLCertificateFile /path/to/ssl_certificate_from_network_team.cer (provided by network team after step 2 above)
    • SSLCertificateChainFile /path/to/ssl_certificate_chain.cer (chain from step 3 above)

2.5. Updating

  1. cp d3VIEW_NEW_BUILD.tgz D3VIEW_INSTALL_DIR/app
  2. cd D3VIEW_INSTALL_DIR/app
  3. tar -xzf d3VIEW_NEW_BUILD.tgz
  4. cp D3VIEW_INSTALL_DIR/app/PREVIOUS_BUILD/local/etc/local_settings.inc NEW_BUILD_DIR/local/etc
  5. cd D3VIEW_INSTALL_DIR
  6. rm web; ln -s app/NEW_BUILD_DIR/web web