Difference between revisions of "Install Archivematica Ubuntu"
| Line 24: | Line 24: | ||
===Install Web Applications=== | ===Install Web Applications=== | ||
| + | == Setting up Mysql == | ||
| + | Create db for dashboard and ica-atom | ||
| + | <pre> | ||
| + | mysqladmin create dashboard | ||
| + | mysqladmin create ica-atom | ||
| + | </pre> | ||
| + | |||
| + | == Setup apache defaults == | ||
| + | Here is the default site we have been using for development | ||
| + | <pre> | ||
| + | NameVirtualHost * | ||
| + | |||
| + | <VirtualHost *> | ||
| + | |||
| + | ServerAdmin webmaster@localhost | ||
| + | DocumentRoot /var/www | ||
| + | |||
| + | <Directory /> | ||
| + | Options FollowSymLinks | ||
| + | AllowOverride None | ||
| + | </Directory> | ||
| + | |||
| + | ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | ||
| + | |||
| + | <Directory "/usr/lib/cgi-bin"> | ||
| + | AllowOverride None | ||
| + | Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | ErrorLog /var/log/apache2/error.log | ||
| + | |||
| + | # Possible values include: debug, info, notice, warn, error, crit, | ||
| + | # alert, emerg. | ||
| + | LogLevel warn | ||
| + | |||
| + | CustomLog /var/log/apache2/access.log combined | ||
| + | ServerSignature On | ||
| + | |||
| + | Alias /dcb "/var/www/dcb/" | ||
| + | <Directory "/var/www/dcb/"> | ||
| + | Options Indexes MultiViews FollowSymLinks | ||
| + | AllowOverride None | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | Alias /qubit "/var/www/qubit/" | ||
| + | <Directory "/var/www/qubit/"> | ||
| + | Options Indexes MultiViews FollowSymLinks | ||
| + | AllowOverride None | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | Alias /ica-atom "/var/www/ica-atom/" | ||
| + | <Directory "/var/www/ica-atom/"> | ||
| + | Options Indexes FollowSymLinks MultiViews | ||
| + | AllowOverride All | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | # Serve static files from Dashboard | ||
| + | Alias /media "/var/www/dashboard/media/" | ||
| + | <Directory "/var/www/dashboard/media/"> | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | |||
| + | # Django with mod_wsgi | ||
| + | # http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango | ||
| + | WSGIScriptAlias / /var/www/dashboard/apache/django.wsgi | ||
| + | <Directory "/var/www/dashboard/apache/"> | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | </Directory> | ||
| + | |||
| + | </VirtualHost> | ||
| + | </pre> | ||
| + | |||
== ICA-Atom == | == ICA-Atom == | ||
In order for the upload-dip service of archivematica to function one must use ica-atom 1.0.9 | In order for the upload-dip service of archivematica to function one must use ica-atom 1.0.9 | ||
Revision as of 19:03, 8 December 2010
This Guide assumes you want to install the core Archivematica Components on a existing Ubuntu 10.04 machine.
Add Our Repository
CREATE PUBLIC ARCHIVEMATICA REPOSITORY
Installing Packages
Core Install
Install the following packages archivematica-mcp-server, archivematica-mcp-client, archivematica-mcp-rpccli,
sudo aptitude install archivematica-mcp-server archivematica-mcp-client archivematica-mcp-rpccli
Shotgun Approach
There is a meta package available called archivematica-shotgun, aka the shotgun approach. This package is used to build our demo and test environments and includes a wide range of tools and libraries we find useful for digital archiving. It includes archivematica-mcp-server, archivematica-mcp-client, transcoder, archivematica-mcp-rpccli, upload-qubit, droid, fits, jhove, xena, easy-extract, bagit, nfs-kernel-server, nfs-common, fusesmb, smbfs, samba-common, hfsplus, hfsprogs, vlc, guymager, autopsy, gddrescue. This package set assumes you are using a desktop environment, if installing on a server please use the core packages above.
sudo aptitude install archivematica-shotgun
Post Install
Add your user to the archivematica group
sudo gpasswd -a myUserName archivematica
Give archivematica sudoers rights
sudo echo "archivematica ALL=NOPASSWD:/bin/mv,/bin/chown,/bin/chmod,/usr/bin/unoconv,/usr/bin/gs" >> /etc/sudoers
Install Web Applications
Setting up Mysql
Create db for dashboard and ica-atom
mysqladmin create dashboard mysqladmin create ica-atom
Setup apache defaults
Here is the default site we have been using for development
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /dcb "/var/www/dcb/"
<Directory "/var/www/dcb/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /qubit "/var/www/qubit/"
<Directory "/var/www/qubit/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /ica-atom "/var/www/ica-atom/"
<Directory "/var/www/ica-atom/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Serve static files from Dashboard
Alias /media "/var/www/dashboard/media/"
<Directory "/var/www/dashboard/media/">
Order allow,deny
Allow from all
</Directory>
# Django with mod_wsgi
# http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
WSGIScriptAlias / /var/www/dashboard/apache/django.wsgi
<Directory "/var/www/dashboard/apache/">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
ICA-Atom
In order for the upload-dip service of archivematica to function one must use ica-atom 1.0.9
check out revision 6907
svn checkout -r6907 http://qubit-toolkit.googlecode.com/svn/branches/ica-atom/ ica-atom-svn
export to /var/www
sudo svn export ica-atom-svn /var/www/ica-atom