You may want to host your own IBM Aspera Connect installers and plugins for your
applications rather than having the downloads served from Aspera's CloudFront CDN. This
also enables your customers to make your users download Connect from a server of your
choice.
-
Download the Connect SDK zip file from the Aspera Developer Network and unzip
the folder into a temporary location.
-
Create a folder named "connect" at the following location: /opt/aspera/faspex/connect.
-
Copy the contents of the Connect SDK to your new connect folder.
-
Give Faspex permissions and ownership of the
new Connect directory.
# chown -R faspex:faspex /opt/aspera/faspex/connect
# chmod -R 755 /opt/aspera/faspex/connect
-
Edit the connectinstaller-4.js file found at the following location: /opt/aspera/faspex/connect/v4/connectinstaller-4.js
Change the default SDK location to
connectOptions.sdkLocation.
var updatesURL = connectOptions.sdkLocation;
-
Edit the Faspex Apache configuration file to add the proper URL redirect for
the connect folder. You can find the configuration file at:
/opt/aspera/faspex/config/faspex.apache.linux.conf.
Add the following section to the end of the
file.
Alias /connect "/opt/aspera/faspex/connect"
<Directory "/opt/aspera/faspex/connect">
Options -Indexes -FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
-
Change the location from which customers will download IBM Aspera Connect Browser Plug-in.
Edit the connect_auto_install.js file found at the following location:
/opt/aspera/faspex/public/javascripts/connect_auto_install.js.
Find the following
lines:
var AW2_URL = '//d2gcli82fxqn2z.cloudfront.net/connect';
var AW4_URL = '//d2gcli82fxqn2z.cloudfront.net/connect/v4';
Replace
d3gcli72yxqn2z.cloudfront.net with the Faspex server domain in your
environment.
For example:
var AW2_URL = '//'+window.location.host+'/connect';
var AW4_URL = '//'+window.location.host+'/connect/v4';
Find the following
line:
loadJS(AW4_URL + '/connectinstaller-4.min.js', function()
Replace
it with the line
below:
loadJS(AW4_URL + '/connectinstaller-4.js', function() {
-
Restart the Faspex Apache service.
Your Faspex server is now hosting Connect plugins and installers.