Difference between revisions of "Install-1.0-packages"

From Archivematica
Jump to navigation Jump to search
Line 69: Line 69:
 
You can finish your installation by visiting http://localhost/ica-atom/.   
 
You can finish your installation by visiting http://localhost/ica-atom/.   
  
Occasionally when loading the ica-atom web installer for the first time an error appears, refreshing your web browser usually resolves this. We hope to fix this in future version of the AtoM package.
+
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.

Revision as of 13:46, 20 January 2014

Deploying Archivematica 1.0 packages

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

  • Add the archivematica/daily PPA to your list of trusted repositories (if add-apt-repositories is not available you must install python-software-properties first):
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:archivematica/daily
sudo add-apt-repository ppa:archivematica/externals-dev

Note: The daily PPA is used for daily snapshots, it is not suitable for use in a production environment. When testing of the packages in the daily PPA is complete, they will be copied to the archivematica/release ppa for production use.

  • Update your system to the most recent 12.04 release (12.04.3). These instructions have been tested on both 32 bit and 64 bit versions of Ubuntu server. This step will also fetch a list of the software from the archivematica/daily ppa
sudo apt-get update
sudo apt-get upgrade
  • Install all packages (each of these packages can be installed sperately, if necessary). Say YES or OK to any prompts you get after entering the following into terminal:
sudo apt-get install archivematica-mcp-server archivematica-mcp-client archivematica-dashboard archivematica-storage-service
  • 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.0.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 /etc/init.d/clamav-daemon restart
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

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 pass: test

  • Delete the test user and create a new user

The storage service runs as a separate web app from the Archivematica dashboard, and has its own set of users. You should add at least one 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

Using AtoM with Archivematica

If you are interested in using the ICA-Atom Access system you can use the package with in our PPA.

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 cp /var/www/atom/init/atom-worker.conf /etc/init/atom-worker.conf
sudo start atom-worker

You can finish your installation by visiting http://localhost/ica-atom/.

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.