| Installing Shares | |
For instructions on upgrading Shares see Upgrading Shares
[root] # rpm -Uvh aspera-shares-version.rpm
The following is an example of the output generated during the unpacking:
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
For more information about using a remote MySQL server, see Using Another MySQL Server During Installation.# /opt/aspera/shares/u/setup/bin/installThe following is an example of the output generated during installation:
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
To create or reset the admin user settings, run the following command from the Shares server root shell:
# /opt/aspera/shares/u/shares/bin/run rake aspera:admin NAME="admin_username" PASSWORD="password" EMAIL="email_address"