Ensure that System Requirements have been met prior to proceeding with the Installation Guide.
Before installing, verify that you have appropriate install permissions. Depending on your permissions and system setup, commands may need to be run as superuser by prepending "sudo" to the listed commands. |
apt-get update apt-get upgrade |
1. Add PHP 5.6 package sources to your system:
and confirm with ENTER to continue.
2. Update packages:
3. Install PHP:
and confirm with “y” and ENTER. You’ll now see “PHP 5.6.x” in the scrolling installation logs. To verify the installed version of PHP, run:
|
PHP5 / Apache2 / extensions
Development tools for pecl / additional system packages:
|
apt-get install apache2 libapache2-mod-php5 php5 php5-cgi php5-cli libssh2-php php5-ssh2 php5-gd php5-curl php5-ldap php5-mysql php-pear php5-dev curl openssl |
ProVision 5.2 and above require MySQL 5.6.20 and above. |
Add new repository for MySQL 5.6 distribution.
Update current packages.
Install MySQL 5.6 to use a local database.
You will be asked to enter a root password for the mysql server. MySQL is now installed. You can proceed to next section DNS And Additional Utilities |
apt-get install mysql-server |
|
apt-get install curl openssl nmap dnsutils bind9utils dnssec-tools expect |
a2enmod php5 ssl rewrite headers |
vi /etc/hosts |
X.X.X.X yourhostname |
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/apache2.conf |
Update site configurations to use /var/www for docroot
sed -i 's/\/var\/www\/html/\/var\/www/' /etc/apache2/sites-available/000-default.conf sed -i 's/\/var\/www\/html/\/var\/www/' /etc/apache2/sites-available/default-ssl.conf |
service apache2 restart |
mysql -p -e "SET GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION';SET SESSION sql_mode='NO_ENGINE_SUBSTITUTION';" |
This section only needs to be followed if the customer will be using Radius for authentication.
Install radius module:
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:
|
apt-get install libssh2-1-dev |
pecl install -f ssh2 |
vi /etc/php5/mods-available/ssh2.ini |
; configuration for php ssh2 module ; priority=20 extension=ssh2.so |
php5enmod ssh2 |
service apache2 reload |
The latest version of ProVision can be found at https://cloud.6connect.com/Download/Latest/ and downloaded using the credentials provided to you. If you need credentials provided to you, or any other assistance, please contact our support team atsupport@6connect.com. |
1. Remove the current contents in the ProVision web folder location (currently the www root) and after extract the archive contents (where 5.x.x is the version number for the build):
tar -xf productionBuild-5.x.x-php5.6.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!