...
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
vi /etc/hosts |
Add a record for your hostname
Code Block | ||
---|---|---|
| ||
yourhostname X.X.X.X |
Create self signed certificate:
Code Block | ||
---|---|---|
| ||
make-ssl-cert generate-default-snakeoil --force-overwrite |
Apache
Note | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
a2ensite default-ssl |
Allow overwrites in the apache vhosts
Code Block | ||
---|---|---|
| ||
sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/sites-available/default* |
6. Reload apache
Code Block | ||
---|---|---|
| ||
service apache2 reload |
MySQL
MySQL Configuration:
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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)
...