Bug #4588
closedInstall parc metacat
0%
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/"
<Directory "/var/www/org.palmyraresearch.data/catalog/cgi-bin/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/org.palmyraresearch.data/catalog/style/skins/parc">
AllowOverride none
Options Indexes FollowSymLinks
IndexOptions FancyIndexing
</Directory>
<Location "/var/www/org.palmyraresearch.data/catalog/style/skins/parc/parc.cfg">
AllowOverride None
Order allow,deny
Deny from all
</Location>
JkMount /catalog ajp13
JkMount /catalog/* ajp13
JkMount /catalog/metacat ajp13
JkUnMount /catalog/cgi-bin/* ajp13
JkMount /*.jsp ajp13
JkMount /authority ajp13
JkMount /authority/* ajp13
</VirtualHost>
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.