Project

General

Profile

Actions

Bug #4588

closed

Install parc metacat

Added by Michael Daigle almost 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
11/30/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4588

Description

installed PARC metacat on data.palmyraresearch.org. Here are the steps I took:

mkdir /var/parc
chown webuser:webuser /var/parc
sudo su - postgres
createdb parc
psql parc
CREATE USER parc WITH UNENCRYPTED PASSWORD '<password>';
(note <password> is same as esa)

cp /etc/http/conf/http.conf to http.conf.20091130
vi /etc/http/conf/http.conf and added following section (note different IP than esa):
<VirtualHost 128.111.242.17:80>
DocumentRoot /var/www/org.palmyraresearch.data/catalog/style/skins/parc
ServerName data.palmyraresearch.org
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common

ScriptAlias /catalog
/cgi-bin/ "/var/www/org.palmyraresearch.data/catalog/cgi-bin/"
&lt;Directory "/var/www/org.palmyraresearch.data/catalog/cgi-bin/"&gt;
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
&lt;/Directory&gt;
&lt;Directory "/var/www/org.palmyraresearch.data/catalog/style/skins/parc"&gt;
AllowOverride none
Options Indexes FollowSymLinks
IndexOptions FancyIndexing
&lt;/Directory&gt;
&lt;Location "/var/www/org.palmyraresearch.data/catalog/style/skins/parc/parc.cfg"&gt;
AllowOverride None
Order allow,deny
Deny from all
&lt;/Location&gt;
JkMount /catalog ajp13
JkMount /catalog/* ajp13
JkMount /catalog/metacat ajp13
JkUnMount /catalog/cgi-bin/* ajp13
JkMount /*.jsp ajp13
JkMount /authority ajp13
JkMount /authority/* ajp13
&lt;/VirtualHost&gt;

mkdir /var/www/org.palmyraresearch.data
chown webuser:webuser /var/www/org.palmyraresearch.data

scp knb.war from build machine to data.palmyraresearch.org:/tmp
mv /tmp/knb.war /var/www/org.palmyraresearch.org/catalog.war
chown webuser:webuser /var/www/org.palmyraresearch.data/catalog.war

Edit /usr/local/devtools/jakarta-tomcat/conf/server.conf and added following lines:
<Host name="data.palmyraresearch.org" debug="0" appBase="/var/www/org.palmyraresearch.data"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/tomcat" prefix="data_parc_log." suffix=".log"
timestamp="true"/>
</Host>

/etc/init.d/http stop
/etc/init.d/tomcat stop
/etc/init.d/tomcat start
/etc/init.d/http start

chmod +x /var/www/org.palmyraresearch.data/catalog/cgi-bin/*

go to data.palmayraresearch.org/catalog and step through config utility
-- added appropriate administrators
-- set /var/parc as the root dir for all data, temp etc directories
-- configured db credentials
-- made parc skin default.

Actions

Also available in: Atom PDF