It is possible to automate the installation of Faspex by using setup files to
define configuration options that are manually set during a typical installation. You
must first use the asctl command to generate a setup file with the desired
configuration information. After you have created the setup files, you can use them to
install Faspex.
-
Install the Aspera common applications and the Faspex packages, in that
order.
# rpm -Uvh aspera-common-version
# rpm -Uvh aspera-faspex-version
Note: Do not run the
asctl faspex:setup command. That command initiates a
typical Faspex installation. For more information on a typical Faspex
installation, see
Installing Faspex with a Local Node.
-
Create the setup files for the Aspera common and Faspex applications.
The filenames of the setup files must end with the
.yml extension. As
you run the following commands, you are prompted to set the desired
configuration options used to install each
application:
asctl apache:create_setup_file /path/to/apache_setup_file.yml
asctl mysql:create_setup_file /path/to/mysql_setup_file.yml
asctl faspex:create_setup_file /path/to/faspex_setup_file.yml
-
Use the setup files to install the Aspera common and Faspex applications.
Run the following commands manually or through a script to install the
applications:
asctl apache:setup_from_file /path/to/apache_setup_file.yml
asctl mysql:setup_from_file /path/to/mysql_setup_file.yml
asctl faspex:setup_from_file /path/to/faspex_setup_file.yml
Your Faspex installation is now complete. To access Faspex from a
browser, enter the Faspex hostname or IP address followed by
/aspera/faspex in
the browser URL. For example:
http://faspex.example.com/aspera/faspex
or
http://198.51.100.24/aspera/faspexNote: As of Faspex 4.0.3,
for security reasons, Faspex by default only allows login through the hostname
configured in the
faspex.yml configuration file (the
hostname you designated during installation. If you try to log in to the web
application from an unlisted hostname or perform a GET request with an unlisted
hostname, Faspex returns the error, "Invalid hostname". To access Faspex from an
alternate hostname, follow the instructions in
Whitelisting Alternate Hostnames for Faspex.
As
an admin, you must log in and activate Faspex with a valid license key before you can
begin configuring users and sending or receiving packages. For more information on
installing your license key, see
Updating Your License.