Difference between revisions of "Install-1.0-packages"

From Archivematica
Jump to navigation Jump to search
(Created page with "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, ...")
 
Line 1: Line 1:
Deploying Archivematica 1.0 packages
+
== 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:
 
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:
  
* Update your system to the most recent 12.04 release (12.04.3)
+
*Update your system to the most recent 12.04 release (12.04.3)
 
+
<pre>
 
sudo apt-get update
 
sudo apt-get update
 
sudo apt-get upgrade
 
sudo apt-get upgrade
 
+
</pre>
* Add the archivematica/daily PPA to your list of trusted repositories:
+
*Add the archivematica/daily PPA to your list of trusted repositories:
 
+
<pre>
 
sudo add-apt-repository ppa:archivematica/daily
 
sudo add-apt-repository ppa:archivematica/daily
 
+
</pre>
 
(for the final release, use ppa:archivematica/release )
 
(for the final release, use ppa:archivematica/release )
  
* Fetch a list of the software from the archivematica/daily ppa:
+
*Fetch a list of the software from the archivematica/daily ppa:
 
+
<pre>
 
sudo apt-get update
 
sudo apt-get update
 
+
<pre>
 
* Install the storage service
 
* Install the storage service
  
 
normally you would just do:
 
normally you would just do:
 +
<pre>
 
sudo apt-get install archivematica-storage-service
 
sudo apt-get install archivematica-storage-service
 
+
</pre>
 
but for now it is necessary to do:
 
but for now it is necessary to do:
  
 +
<pre>
 
sudo apt-get install nginx uwsgi uwsgi-python-plugin
 
sudo apt-get install nginx uwsgi uwsgi-python-plugin
 
sudo dpkg -i archivematica-storage-service_0.2.2ppa8_all.deb
 
sudo dpkg -i archivematica-storage-service_0.2.2ppa8_all.deb
 +
</pre>
  
 
* Configure the storage service
 
* Configure the 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.
+
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.  
  
 +
<pre>
 
sudo rm /etc/nginx/sites-enabled/default
 
sudo rm /etc/nginx/sites-enabled/default
 
sudo ln -s /etc/nginx/sites-enabled/storage /etc/nginx/sites-available/storage
 
sudo ln -s /etc/nginx/sites-enabled/storage /etc/nginx/sites-available/storage
Line 36: Line 40:
 
sudo service uwsgi restart
 
sudo service uwsgi restart
 
sudo service nginx restart
 
sudo service nginx restart
 
+
</pre>
 
* Test the storage service
 
* Test the storage service
 
go to the following link in a web browser:
 
go to the following link in a web browser:
  
http://localhost:8000
+
[[http://localhost:8000]]
  
 
log in as user: test pass: test
 
log in as user: test pass: test

Revision as of 15:43, 8 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:

  • Update your system to the most recent 12.04 release (12.04.3)
sudo apt-get update
sudo apt-get upgrade
  • Add the archivematica/daily PPA to your list of trusted repositories:
sudo add-apt-repository ppa:archivematica/daily

(for the final release, use ppa:archivematica/release )

  • Fetch a list of the software from the archivematica/daily ppa:
sudo apt-get update
<pre>
* Install the storage service

normally you would just do:
<pre>
sudo apt-get install archivematica-storage-service

but for now it is necessary to do:

sudo apt-get install nginx uwsgi uwsgi-python-plugin
sudo dpkg -i archivematica-storage-service_0.2.2ppa8_all.deb
  • Configure the 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 rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-enabled/storage /etc/nginx/sites-available/storage
sudo ln -s /etc/uwsgi/apps-enabled/storage.ini /etc/nginx/apps-available/storage.ini
sudo service uwsgi restart
sudo service nginx restart
  • Test the storage service

go to the following link in a web browser:

[[1]]

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.