Install-1.1-packages

From Archivematica
Revision as of 15:09, 28 April 2014 by Jhs (talk | contribs)
Jump to navigation Jump to search

Installation >> Install 1.1 >> Install 1.1 packages

EXPERIMENTAL

As of Monday April 28, 2014, Archivematica 1.1 packages are available in the daily ppa only. These instructions will not work until those packages are moved into the release ppa, which is expected to happen within a day or two.

Updating from Archivematica 1.0

If you have installed Archivematica 1.0.0 or 1.0.1 from packages, it is possible to update your installation without re-installing. The steps are:

Update Archivematica Storage Service

sudo apt-get update
sudo apt-get install archivematica-storage-service

Update Archivematica

During the update process you will be asked about updating configuration files. Choose to accept the maintainers versions. You will also be asked about updating the database, say 'ok' to each of those steps. If you have set a password for the root mysql database user, enter it when prompted.

sudo apt-get install archivematica-mcp-server
sudo apt-get install archivematica-mcp-client
sudo apt-get install archivematica-dashboard

Update ElasticSearch

Archivematica 1.1.0 has been tested most extensively against version 0.90.13 of ElasticSearch. It is possible to use an older version (e.g. 0.20.6, which is what was distributed with Archivematica 1.0.0). Do not attempt to use ElasticSearch 1.0 or greater.

sudo wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -

Then add this line to the bottom of /etc/apt/sources.list

deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main

Now refresh your list of available packages and upgrade elasticsearch

sudo apt-get update
sudo apt-get install elasticsearch

Restart Services

sudo service uwsgi restart
sudo service nginx restart
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/elasticsearch restart
sudo /etc/init.d/gearman-job-server restart
sudo restart archivematica-mcp-server
sudo restart archivematica-mcp-client

Deploying Archivematica 1.1 packages

Archivematica packages are hosted on Launchpad, in an Ubuntu PPA (Personal Package Archive). There are a number of Archivematica PPA's, the Archivematica 1.1 packages are currently hosted in the archivematica/daily ppa. In order to install software onto your Ubuntu 12.04.4 system from a PPA:

  • Add the archivematica/release PPA to your list of trusted repositories (if add-apt-repositories is not available you must install python-software-properties first):
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:archivematica/daily
sudo add-apt-repository ppa:archivematica/externals-dev
sudo wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -

Then add this line to the bottom of /etc/apt/sources.list

deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main
  • Update your system to the most recent 12.04 release (12.04.4 is being tested with Archivematica 1.1 currently).
  • This step will also fetch a list of the software from the ppa's you just added to your system.
sudo apt-get update
sudo apt-get upgrade
  • Install all packages (each of these packages can be installed seperately, if necessary). Say YES or OK to any prompts you get after entering the following into terminal:
sudo apt-get install archivematica-storage-service
sudo apt-get install elasticsearch
sudo apt-get install archivematica-mcp-server 
sudo apt-get install archivematica-mcp-client 
sudo apt-get install archivematica-dashboard 
  • Configure the dashboard and storage service

note:these steps are safe to do on a desktop, or a machine dedicated to Archivematica. They may not be advisable on an existing web server. Consult with your web server administrator if you are unsure.

sudo wget -q https://raw.github.com/artefactual/archivematica/1.0/src/vm-includes/share/apache.default -O /etc/apache2/sites-available/default
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/storage /etc/nginx/sites-enabled/storage
sudo ln -s /etc/uwsgi/apps-available/storage.ini /etc/uwsgi/apps-enabled/storage.ini
sudo service uwsgi restart
sudo service nginx restart
sudo /etc/init.d/apache2 restart
sudo freshclam
sudo /etc/init.d/clamav-daemon start
sudo /etc/init.d/elasticsearch restart
sudo /etc/init.d/gearman-job-server restart
sudo start archivematica-mcp-server
sudo start archivematica-mcp-client

The storage service runs as a separate web application from the Archivematica dashboard. Go to the following link in a web browser:

http://localhost:8000 (or use the ip address of the machine you have been installing on).

log in as user: test password: test

  • Create a new administrative user in the Storage service

The storage service has its own set of users. In the User menu in the Administrative tab of the storage service, add at least one administrative user, and delete or modify the test user.

  • Test the dashboard

you can login to the archivematica dashboard and finish the installation in a web browser: http://localhost

  • Register your installation for full Format Policy Registry interoperability.

Register Archivematica 1.1

Using ICA-AtoM with Archivematica

If you are interested in using the ICA-Atom web-based content management and access system you can use the package within our PPA. Archivematica can upload digital objects to their associated descriptions in ICA-AtoM.

It is installed by running the following commands in your Terminal (answer yes to all prompts, it may require your mysql adminitration password if one was entered above):

sudo aptitude install ica-atom
sudo aptitude install upload-qubit
sudo /etc/init.d/apache2 restart
sudo cp /var/www/atom/init/atom-worker.conf /etc/init/atom-worker.conf

You can finish your installation by visiting http://localhost/ica-atom/. For more information about ICA-AtoM installation see ICA-AtoM 1.3.1 installation.

Occasionally when loading the ica-atom web installer for the first time an error appears, refreshing your web browser usually resolves this. We intend to fix this in future version of the AtoM package.

After the AtoM installation, configure it to use the Sword plugin (in the Plugins menu) as well as the job scheduler (in Settings), then start the atom-worker:

sudo start atom-worker