Repository navigation
QuickInstallNotes
Chris Delis edited this page Oct 15, 2015
·
1 revision
- go to tomcat root
cd /usr/local/tomcat
- Delete existing install
ps -ef | grep "java.*\-Xms${MEMORY}M" | awk '{print $2}' | xargs kill -9;
rm -fR ./MST-instances* ./webapps/MetadataServicesToolkit*;
rm -fR ./logs/*
- download mst
/usr/sfw/bin/wget http://xcmetadataservicestoolkit.googlecode.com/files/MST-instances-0.3.5.zip;
/usr/sfw/bin/wget http://xcmetadataservicestoolkit.googlecode.com/files/marcnormalization-0.3.5.zip;
/usr/sfw/bin/wget http://xcmetadataservicestoolkit.googlecode.com/files/marctoxctransformation-0.3.5.zip;
unzip MST-instances-0.3.5.zip;
cd ./MST-instances/MetadataServicesToolkit/services/; unzip ../../../marcnormalization-0.3.5.zip; unzip ../../../marctoxctransformation-0.3.5.zip; cd ~-
mv ./MST-instances/MetadataServicesToolkit.war ./webapps;
- Make changes necessary to service.xccfg (U of R specific changes listed below:)
- change CHANGE_ME to NRU
Add014Source 1InvalidFirstChar014 = 0
- Even more now: See complete list of U of R specific changes @ here.
vi ./MST-instances/MetadataServicesToolkit/services/marcnormalization/META-INF/classes/service.xccfg
- uncomment
OaiRepoAdminEmail
vi ./MST-instances/MetadataServicesToolkit/install.properties
- change db password
vi ./MST-instances/MetadataServicesToolkit/install.properties
- pick a new password
echo -n 'mst4world' | sha1sum | xxd -p -r | base64
- and put it in the sql script
vi MST-instances/MetadataServicesToolkit/sql/create_database_script.sql
- if MST-instances directory not in tomcat/bin (default) then need to point to it. Add
webapps/MetadataServicesToolkit/WEB-INF/classes/env.properties- this contains one line pointing to the instance, for example: mst.root.dir=/xc/ - if on CARLI server may need to run chown -R to tomcat6 and chgrp -R to admin on MST-instances (same applies to the war file)
- run install sql
mysql --user=root --password=pass < MST-instances/MetadataServicesToolkit/sql/create_database_script.sql
- customize error display for browse records by editing:
MST-instances/MetadataServicesToolkit/services/marctoxctransformation/META-INF/classes/xc/mst/services/custom.propertiesMST-instances/MetadataServicesToolkit/services/marcnormalization/META-INF/classes/xc/mst/services/custom.properties
- make sure you have enough hard drive space
- start tomcat
export JAVA_OPTS="-Xms2400M -Xmx2400M" -server; ./bin/startup.sh
- make sure your java process is actually using the right amount of memory (some catalina.sh's have been modified)
- check mysql connection
cd /usr/local/tomcat/webapps/MetadataServicesToolkit/WEB-INF/lib;
java -cp ./mst-common-0.3.4.jar:./mysql-connector-java-5.0.8.jar xc.mst.dao.TestConnection com.mysql.jdbc.Driver "jdbc:mysql://localhost:3306" user pass
- setup email configuration using MST UI
- Downloads
- Installing the Toolkit
- Hardware Requirements
- Installing 3rd Party Tools
- Installing the Metadata Services Toolkit
- Configuring
- Starting the MST
- Uninstalling and Reinstalling the MST
- Upgrading the MST
- Useful Info
- Using the Toolkit
- Services
- What is a service?
- What are Configuration 1 and Configuration 2?
- XC MARCXML Normalization
- MARCXML to XC Transformation
- DC to XC Transformation
- MARC Aggregation
- Multiple Instances of the Same Service
- Harvesting from an MST Service
- How To Implement a Service
- About the XC Schema
- MST Frequently Asked Questions
-
Performance Results
- RecordBreakdown
- MySQLCustomizations
- Release Notes
- Next Coding Period Summary
- Glossary
- Developer ScratchPad
- ServerChart
- Transformation 1.0
- TransformationDocumentationNotes
- new
- TransformationDocumentation
- old
- AdditionalWorksAndExpressions
- Transformation Service Documentation
- TransformationServiceSteps
- XcRoleTranslationTable
- AggregationServices
- MarcAggregation
- TransformationTwoPointOh
- old
- FirstIteration
- PriorDesign
- PackagingMST
- 1.0 Decisions
- ReleaseWork
- QuickInstallNotes
- MST Implementation Details
- OaiIdIndexAlgorithm
- CacheDetails
- MessageHandling
- ServiceTests
- ProcessingStepsExplained
- ResumptionToken->completeListSize
- UpdateDelete
- OaiPmhImpl
- record counts
- RecordCountsOnePtTwoPtOne
- in production
- how to log and display
- RecordCountsOnePtZero
- RecordCountTestRestarted
- UrRecordCounts
- RecordCountTesting
- TransformationWackiness
- OaiImplementation
- Testing
- randys-30
- RegressionTests
- QuickRef
- UnicodeNormalization
- LoggingHelp
- CodeFormatPolicy
- SvnBranchingStrategy
- MultipleEclipseWorkspaces
- DeleteReaddServiceForRetest
- FileHarvests
- CharsetEncodingWithEric
- DrupalSolrOptimization
- WorkPlan
- MetricsForAssessment
- IdeasForImprovement
- RandomNotes
-
Wiki en español
- Servicios
- Qué es un Servicio de Metadatos?
- Servicio de Normalización XC MARCXML
- Servicio de Transformación MARCXML a Esquema XC
- Servicio de Agregación MARC
- Servicios