Warning |
---|
The sample content package is deprecated as of Avalon 6.0. Please use the Batch Ingest method to ingest sample content. |
Info |
---|
This documentation is for Release 5.x, 4.x and 3.x. For the release 1 and 2 version of this page, see Install Sample Content Via Batch Ingest. |
Installation of the sample content is simple, but must be run as the root user from a bash prompt on the Avalon system. The process for this depends on which kind of installation you have.
- Portable VM image:
Open a terminal window from within the VM console, and typesu root
to become the root user. This will require the root password you provided the first time the system was booted. - Vagrant virtual machine:
From within the original installer directory (from step 4 of the Vagrant Virtual Machine Image Installation Instructions), typevagrant ssh
to log in as the vagrant user, then typesudo -i
to become the root user. - Manual Puppet installed machine:
Log in and become root as you did in steps 1 and 2 of the Manual Puppet Install instructions.
Warning |
---|
If running a manual installation, a hard link needs to be created so that the sample content rpm can find avalon in the '/var/www/avalon/current' directory. Example: ln -s /var/www/avalon/ /var/www/avalon/current |
Install the sample content by running rpm as root Once you have a root prompt, run rpm with the correct rails environment (RAILS_ENV) for your setup and the correct URL for your version.
Code Block |
---|
#For R5 installs: RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content-5.0-1.noarch.rpm #For R4 installs: RAILS_ENV="developmentproduction" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample--forcecontent-4.0-1.noarch.rpm #For R3 installs: RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content-3.0-1.noarch.rpm #For pre-R3 installs: RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content.noarch.rpm |
...
|
If the install fails and you need to rerun the installation, add the --force flag to the rpm command.
Once the sample content has been loaded, you should be able to discover, view, and play it back. Open a web browser, connect to your avalon instance, and select Sample Collection from the Collection facet on the left side of the page.