Concerto can be installed via several methods
Debian Package: By far the easiest method of installation on an APT-based Linux system. This will install the latest stable Concerto build and get things up and running quickly. But it does make a number of assumptions about your use of Apache, ruby, and rubygems - and choices made based on that may not be suitable for all users. See the details below.
Virtual Machine Image: A total turnkey Concerto server inside a VM image. Simply download one of the images (VirtualBox, Xen, and Hyper-V images are available) and run it in any compatible VM software (such as VirtualBox) and log in via ssh to go through a simple setup procedure. All packages, configurations, and dependencies are already set up.
Installation from Source: Download the latest stable build of Concerto and build and install Concerto and its dependencies.
In general, Concerto 2 requires a webserver capable of serving Ruby on Rails applications and a recent version of Ruby, ImageMagick, RubyGems, and the Bundler gem to get started. Its many other requirements are satisfied through installing the gems specified in the Gemfile via Bundler. Depending on your installation method, much of this may be done for you. Some requirements of note:
A webserver (Apache 2 is highly recommended for this and Concerto provides VHost configurations for Apache to make this as simple as possible)
A Rack-compatible adapter (such as Phusion Passenger - which comes in Apache, Nginx, and other flavors). This can be installed as a gem.
A database (by default, SQLite is used, but this can be altered by changing config/database.yml as suggested in config/database.yml.mysql, using the install script with the MySQL option, or using the Virtual Machine Image)
ImageMagick is used for image processing and such and is a prerequisite for the RMagick gem that Concerto uses.
Delayed Job is used to process certain long-running tasks asynchronously. It will be installed with all the other Concerto gems and run in the background unless disabled in the Dashboard.
The full concerto package (
concerto-full) will closely replicate the setup of the server virtual image. It includes Imagemagick, Ruby 1.9, the MySQL client libraries, Apache2, and all the required libraries for Passenger (though Passenger itself will be installed outside of Debian (as the repository version is generally horribly outdated). The package drops the Concerto source code in /usr/share/concerto and then performs a few post-install tasks:
The more lightweight Concerto package (
concerto-lite) will make relatively few assumptions about a system's setup. It requires ImageMagick, Ruby 1.9, the MySQL client libraries and the associated ruby bindings.
sudo apt-get install curl
curl get.concerto-signage.org/add_repo.sh | sh
sudo apt-get install concerto-full(or concerto-lite)
sudo a2ensite concerto && sudo apache2ctl restart(making sure that any conflicting vhosts such as the default are disabled:
sudo a2dissite 000-default)
The virtual server image contains a full-stack installation of the Concerto webserver with all components pre-configured. The default username is concerto and the password is truc9awr. Users are prompted to change this at first logon.
VirtualBox Image: http://dl.concerto-signage.org/concerto_server-2.0.0_Build1.ova
NB: Upon startup, Concerto will create and configure a SQLite database. If you wish to alter this, edit config/database.yml appropriately. A sample MySQL database configuration file is provided in config/database.yml.mysql - it can replace config/database.yml when edited. Upon its next startup, Concerto will populate whatever database you've specified. Prerequisites: As above, make sure you have Ruby, RubyGems, Bundler, ImageMagick, Apache (or compatible webserver), Passenger (or compatible Rack adapter)
[On Debian and Compatible] sudo apt-get install ruby1.9.1-full zlib1g-dev build-essential imagemagick librmagick-ruby libmagickcore-dev libmagickwand-dev nodejs libruby1.9.1 libsqlite3-dev libmysqlclient-dev libmysqlclient18 git-core libxslt-dev; sudo gem install bundler
[For Apache & Passenger]: sudo apt-get install apache2-mpm-worker libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-prefork-dev libapr1-dev libaprutil1-dev;sudo gem install passenger; sudo /usr/local/bin/passenger-install-apache2-module;
git clone https://github.com/concerto/concerto.git
bundle install or bundle install --path vendor/bundleif you don't wish to install all of the Gem dependencies of Concerto/Rails globally (there are just over 115 of them).
RAILS_ENV=production be rake assets:precompile