HTML |
---|
<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> |
Debian 8
Before You Begin
Ensure that System Requirements have been met prior to proceeding with the Installation Guide.
...
Expand |
---|
- curl
- openssl
- memcached
- php7.1-memcache
- nmap
- dnsutils
- bind9utils
- expect
|
Code Block |
---|
apt-get install curl openssl memcached php7.1-memcache nmap dnsutils bind9utils expect |
...
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:
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 |
---|
title | mod 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 |
---|
|
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 |
---|
title | 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. |
...
Expand |
---|
title | If you are going to use radius authentication, click here. |
---|
|
1. Install radius module: Debian 7:
Code Block |
---|
language | bash |
---|
title | Debian 7: |
---|
| pecl install radius |
Debian 8:
Code Block |
---|
language | bash |
---|
title | Debian 8: |
---|
| apt-get install php7-radius |
Create module loading configuration: (shown using the vi editor, though you may use the editor of your choice)
Code Block |
---|
| vi /etc/php5/mods-available/radius.ini |
Add the following lines to radius.ini:
Code Block |
---|
| ; configuration for php radius module
; priority=20
extension=radius.so |
To enable the radius module, type the following command:
Code Block |
---|
| php7enmod radius |
|
...