<div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element'); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
Ensure that System Requirements have been met prior to proceeding with the Installation Guide.
apt-get update apt-get upgrade |
This step is only applicable to Debian 7 users. If you are using Debian 8, please skip to the next step. |
Installations of ProVision 7.x and newer require PHP 7.0 (and related extensions). ProVision 7.x installations using Debian versions prior to Stretch 9 require updating to PHP 7.0. Debian Wheezy comes with PHP 5.4 by default. You can either add a repository which provides PHP 7.0 or install PHP manually. In this example, we are going to use 3rd party repository that also upgrades the Apache to 2.4 as well as some other packages.
vi /etc/apt/sources.list |
Add the following lines to sources.list:
deb http://packages.dotdeb.org wheezy-php70 all deb-src http://packages.dotdeb.org wheezy-php70 all |
wget https://www.dotdeb.org/dotdeb.gpg apt-key add dotdeb.gpg |
apt-get update |
PHP 7.0 / Apache2 / extensions
Development tools for pecl / additional system packages:
|
apt-get install apache2 libapache2-mod-php7 php7 php7-cgi php7-cli php7-gd php7-curl php7-ldap php7-mysqlnd php7-ssh2 php-pear php7-dev curl openssl memcached php7-memcache |
apt-get install mysql-server |
|
apt-get install curl openssl memcached php7-memcache nmap dnsutils bind9utils expect |
a2enmod php7 ssl rewrite |
vi /etc/hosts |
yourhostname X.X.X.X |
make-ssl-cert generate-default-snakeoil --force-overwrite |
Please note that mod_rewrite is required! If it is not enabled in Apache, key elements will not work as expected. |
a2ensite default-ssl |
sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/sites-available/default* |
service apache2 reload |
mysql -p -e "SET GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION';SET SESSION sql_mode='NO_ENGINE_SUBSTITUTION';" |
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. |
This section only needs to be followed if the customer will be using Radius for authentication.
1. Install radius module: Debian 7:
Debian 8:
Create module loading configuration: (shown using the vi editor, though you may use the editor of your choice)
Add the following lines to radius.ini:
To enable the radius module, type the following command:
|
1. 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 build):
tar -xf productionBuild-7.x.x-php7.0.tar -C /var/www/ |
2. Change the permissions to be the web user permissions
chown -R www-data.www-data /var/www |
3. 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!