Installation |
For details on upgrading IBM Aspera Shares see Upgrading Shares
[root] $ rpm -Uvh aspera-shares-version.rpm
The following is an example of what you can expect to see:
[root] $ rpm -Uvh aspera-shares-1.9.1.100746-1.x86_64.rpm Preparing... ########################################### [100%] 1:aspera-shares ########################################### [100%] To use a remote MySQL server and disable the local MySQL server, add the connection information to this file: /opt/aspera/shares/etc/my.cnf.setup To complete the installation, please run this script as the root user: [root]$ /opt/aspera/shares/u/setup/bin/install
$ /opt/aspera/shares/u/setup/bin/install Starting aspera-shares ... Started Testing 20 times if MySQL is accepting connections ... Waiting for MySQL server to answer. mysqld is alive Writing /etc/init.d/aspera-shares ... Running chkconfig to add the service to the runlevels ... Generating a private key and self-signed certificate ... To install your own private key and certificate authority-signed certificate, replace these files /opt/aspera/shares/etc/nginx/cert.key /opt/aspera/shares/etc/nginx/cert.pem Creating the shares database ... Loading the shares database schema ... Initializing the shares database ... To create an admin user, run this command: /opt/aspera/shares/u/shares/bin/run rake aspera:admin NAME="admin" PASSWORD="jFOBTzkgoJBk836cVW3zFXTX7XvOJSg" EMAIL="aspera@example.com" Creating the stats collector database ... Generating stats collector keys ... Done
The password is randomly generated, and you can copy and paste it to create the admin user.
/opt/aspera/shares/u/shares/bin/run rake aspera:admin NAME="admin" PASSWORD="jFOBTzkgoJBk836cVW3zFXTX7XvOJSg" EMAIL="aspera@example.com"
By default the port is set to 443, and SSL/TLS is selected.