Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 7.0.1

...

 

Code Block
languagebash
a2enmod php7 ssl rewrite
In order to create self signed certificates and to work properly, the hostname must be resolved properly. 
    Open the hosts file for editing: 

 

Code Block
languagebash
    vi /etc/hosts

 

    Add a record for your hostname

 

Code Block
languagetext
    yourhostname X.X.X.X

 

Create self signed certificate:

 

Code Block
languagebash
    make-ssl-cert generate-default-snakeoil --force-overwrite

Apache

Note
titlemod rewrite REQUIRED

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

 

Code Block
languagebash
    a2ensite default-ssl

 

Allow overwrites in the apache vhosts

 

Code Block
languagebash
    sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/sites-available/default* 

 

6. Reload apache

 

Code Block
languagebash
    service apache2 reload

MySQL

MySQL Configuration:

 

Code Block
languagebash
    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.

 

Note
titleMySQL 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)

...