Installing Shares

For instructions on upgrading IBM Aspera Shares see Upgrading Shares

  1. Download the IBM Aspera Shares installer.
  2. To unpack, run the following command as root, where version is the package version:
    [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.4.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
    
  3. Run the install script:
     $ /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

    Shares randomly generates a password that you can copy and paste to create the admin user.

    Note: If you forget to make a note of the password at installation time, you can reset it by running the following command from the Shares server root shell:
    /opt/aspera/shares/u/shares/bin/run rake aspera:admin NAME="shares_admin"
    PASSWORD="jFOBTzkgoJBk836cVW3zFXTX7XvOJSg" EMAIL="aspera@example.com"