Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: CPV Installation  (Read 6421 times)

0 Members and 1 Guest are viewing this topic.

sumesh

  • Guest
CPV Installation
« on: November 07, 2014, 07:18:30 pm »
Hi Friends,

Recently I have installed one application named "CPV Labs" in one of our customers server which I thought to share with you.

CPV Lab is a web based, self-hosted platform that can run on your own Server. This will help you to keep your data private and only accessible by you. You can also monitor , track and optimize your traffic etc. For more details please refer this url:

==========
http://cpvlab.com/
==========

INSTALLATION

As a first step, you need to purchase this application from the above site as its a paid one. Once you complete the signup for this application you will receive a mail with your login details. it will have download url for this application and other login details. You need to keep everything safe as this is an important mail regarding this app.

You will get some url like below from which you can download the application

==========
 http://cpvlab.com/dlg/download.php?r=233597972&p=8
==========

Requirement of this Application

PHP 5.3 or Above
MySQL 5.1 or Above
minimum 60 MB of disk space
IonCube Loaders 4.4 installed on the server


Steps for the installation

1) Check whether your server meets all of the above requirement. If not then enable it in your before setting up in your server.
2) Download the application to your server under any of your domains document root and unzip the same
3) Use the url https://your-domain.com/check-server-requirements.php  to check whether your server meet the requirement of this application. Once the server meets the requirement of your application then you can proceed with the installation.

4) Make the following changes for the files that you have download

========
chmod 666   <home-directory-of-the-app>/lib/db_params.php
chmod 666   <home-directory-of-the-app>/license/license.php
chmod 777    <home-directory-of-the-app>/phpbrowscap/
chmod 777    <home-directory-of-the-app>phpbrowscap/phpbrowscap/BrowserCache/
chmod 777     <home-directory-of-the-app>/phpbrowscap/WURFLres/
chmod 777    <home-directory-of-the-app> /phpbrowscap/WURFLres/storage/cache/
chmod 777    <home-directory-of-the-app>phpbrowscap/WURFLres/storage/persistence/
========

5) Now create the database for the application.
6) Now on your browser call this applications installation page : domain-name.com/install.php

Database server : localhost
Database Login :
Database password :
Database Name :
Installation Directory : Just keep it blank if you wish to install under the main domain
E-mail address User for Purchase :


7) Click on "Install" Button and complete the installation

You have now completed the installation of the CPV labs in your server

Now, you need to make the following changes in your server under this applicaiton folder:
     1) Remove the install.php file
     2) Change Permission of "license.php" and "db_params.php"


9) Setting up of the login credentials for the application:

>> By default Use admin for both username and password in order to login to the application.
>> You can change it by accessing your application and click on the "Settings" to make the changes.


Please be informed that as this application have no "forgot password" option to retrieve the password. So be sure to save the login details (username & password).

10 ) Once the task is completed you will be able to access your application using the url. "domain-name.com/login.php". You can change the above to "domain-name.com" by setting .htaccess rule in the document root as below,

Vim .htaccess
DirectoryIndex login.php


This complete the task

Thank you Guys!