9.0.08.3.08.2.0-8.2.18.1.0-8.1.18.0.0-8.0.37.4.0-7.4.67.3.0-7.3.27.2.0-7.2.17.1.0-7.1.27.0.0-7.0.26.1.0-6.1.2View AllPV CloudPV Local Installs
AutoLightDark
Breadcrumbs
ProVision Local Installation For Debian 8
Before You Begin
Ensure that System Requirements have been met prior to proceeding with the Installation Guide.
Install Requirements
1) Upgrade your current packages
Upgrade packages
Upgrade your current packages.
PowerShell
apt-get update
apt-get upgrade
2) Install Required Packages
PHP
PHP
Installations of ProVision 7.x and newer require PHP 7.1 (and related extensions). ProVision 7.x installations using Debian versions prior to Stretch 9 require updating to PHP 7.1. Debian Wheezy comes with PHP 5.4 by default. You can either add a repository which provides PHP 7.1 or install PHP manually.
For this example, we are using Debian/Ubuntu installation instructions originally from:
https://ayesh.me/Ubuntu-PHP-7.1 (page no longer available) using Ondřej Surý's PPA.
Please note that mod_rewrite is required! If it is not enabled in Apache, key elements will not work as expected.
Enable the default vhost for apache:
Bash
a2ensite default-ssl
Allow overwrites in the apache vhosts:
Bash
sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/sites-available/default*
6. Reload apache:
Bash
service apache2 reload
MySQL
MySQL
Set the MySQL Configuration:
Bash
mysql -p -e "SET GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION';SET SESSION sql_mode='NO_ENGINE_SUBSTITUTION';"
then enter the MySQL root password when prompted.
MySQL Packet Size Configuration
We recommend setting the max_allowed_packet setting in the MySQL configuration file to 128MB (or similar) to account for the typical dataset size handled in ProVision.
4) Optional configurations:
Radius (Optional)
This section only needs to be followed if the customer will be using Radius for authentication.
If you are going to use radius authentication, click here.
Install radius module:
Debian 7:
Bash
pecl install radius
Debian 8:
Bash
apt-get install php7-radius
Create module loading configuration:
(shown using the vi editor, though you may use the editor of your choice)
vi /etc/php5/mods-available/radius.ini
Add the following lines to radius.ini:
; configuration for php radius module
; priority=20
extension=radius.so
To enable the radius module, type the following command:
Bash
php7enmod radius
5) Install ProVision Software:
Install ProVision:
Remove the current contents in the ProVision web folder (currently the www root) and after extract the archive contents (where 7.x.x is the version number for the ProVision, and php7.x is the required php version build) :
Bash
tar -xf productionBuild-7.x.x-php7.x.tar -C /var/www/
Change the permissions to be the web user permissions
Bash
chown -R www-data.www-data /var/www
Go to http://﹤web root﹥/install/configTest.php. Follow the provided instructions, correcting any configuration errors if they occur. Once all steps are completed, you are ready to use your ProVision instance!