Difference between revisions of "Install-1.1-packages"
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Installation]] >> [[Install-1.1|Install 1.1]] >> Install 1.1 packages | [[Installation]] >> [[Install-1.1|Install 1.1]] >> Install 1.1 packages | ||
− | |||
− | |||
− | |||
− | |||
== Updating from Archivematica 1.0 == | == Updating from Archivematica 1.0 == | ||
Line 54: | Line 50: | ||
== Installing Archivematica 1.1 packages (new install) == | == Installing Archivematica 1.1 packages (new install) == | ||
− | Archivematica packages are hosted on Launchpad, in an Ubuntu PPA (Personal Package Archive) | + | Archivematica packages are hosted on Launchpad, in an Ubuntu PPA (Personal Package Archive). 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): | *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): | ||
Line 60: | Line 56: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install python-software-properties | sudo apt-get install python-software-properties | ||
− | sudo add-apt-repository ppa:archivematica/ | + | sudo add-apt-repository ppa:archivematica/release |
− | sudo add-apt-repository ppa:archivematica/externals | + | sudo add-apt-repository ppa:archivematica/externals |
</pre> | </pre> | ||
Line 95: | Line 91: | ||
<pre> | <pre> | ||
− | sudo wget -q https://raw.github.com/artefactual/archivematica/1. | + | sudo wget -q https://raw.github.com/artefactual/archivematica/stable/1.1.x/src/vm-includes/share/apache.default -O /etc/apache2/sites-available/default |
sudo rm /etc/nginx/sites-enabled/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/nginx/sites-available/storage /etc/nginx/sites-enabled/storage | ||
Line 150: | Line 146: | ||
sudo start atom-worker | sudo start atom-worker | ||
</pre> | </pre> | ||
+ | |||
+ | == Using AtoM 2.x with Archivematica == | ||
+ | |||
+ | Archivematica has been successfully tested with Atom 2.x. The best known configuration is Archivematica 1.0.1 or greater with Atom 2.0.2-rc1 or greater. | ||
+ | Installation instructions for Atom 2 are available on the accesstomemory.org website https://www.accesstomemory.org/en/docs/2.0/ . When following those instructions, it is best to download Atom from the git repository (rather than use one of the supplied tarballs). When checking out Atom, use tag v2.0.2-rc1. | ||
+ | |||
+ | Once you have a working Atom installation, you can configure dip upload between Archivematica and Atom. The basic steps are: | ||
+ | |||
+ | * update atom dip upload configuration in the Archivematica dashboard | ||
+ | * confirm upload-qubit package is installed on the Archivematica server | ||
+ | * confirm atom-worker is configured on the Atom server | ||
+ | * enable the Sword Plugin in the Atom plugins page | ||
+ | * enable job scheduling in the Atom settings page | ||
+ | * confirm gearman is installed on the Atom server | ||
+ | * configure ssh keys to allow rsync to work for the archivematica user, from the Archivematica server to the Atom server | ||
+ | * start gearman on the Atom server | ||
+ | * start the atom worker on the Atom server | ||
+ | |||
+ | These steps are detailed on the [[Upload_DIP|DIP Upload page]]. |
Latest revision as of 18:02, 29 July 2014
Installation >> Install 1.1 >> Install 1.1 packages
Updating from Archivematica 1.0[edit]
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[edit]
sudo apt-get update sudo apt-get install archivematica-storage-service
Update Archivematica[edit]
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[edit]
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.
- Add the ElasticSearch apt repository next (from http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html):
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[edit]
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
Installing Archivematica 1.1 packages (new install)[edit]
Archivematica packages are hosted on Launchpad, in an Ubuntu PPA (Personal Package Archive). 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/release sudo add-apt-repository ppa:archivematica/externals
- Add the ElasticSearch apt repository next (from http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html):
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/stable/1.1.x/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
- Test the storage service
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.
Using ICA-AtoM with Archivematica[edit]
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
Using AtoM 2.x with Archivematica[edit]
Archivematica has been successfully tested with Atom 2.x. The best known configuration is Archivematica 1.0.1 or greater with Atom 2.0.2-rc1 or greater. Installation instructions for Atom 2 are available on the accesstomemory.org website https://www.accesstomemory.org/en/docs/2.0/ . When following those instructions, it is best to download Atom from the git repository (rather than use one of the supplied tarballs). When checking out Atom, use tag v2.0.2-rc1.
Once you have a working Atom installation, you can configure dip upload between Archivematica and Atom. The basic steps are:
- update atom dip upload configuration in the Archivematica dashboard
- confirm upload-qubit package is installed on the Archivematica server
- confirm atom-worker is configured on the Atom server
- enable the Sword Plugin in the Atom plugins page
- enable job scheduling in the Atom settings page
- confirm gearman is installed on the Atom server
- configure ssh keys to allow rsync to work for the archivematica user, from the Archivematica server to the Atom server
- start gearman on the Atom server
- start the atom worker on the Atom server
These steps are detailed on the DIP Upload page.