This page is about Fedora 4, as used by the Digital Collections site. The focus is on important or frequently-used paths, scripts, log files and URLs on the fedora-stage and fedora-prod servers, as well as recipes helpful in development and troubleshooting.
AWS servers
The two EC2 servers that run Fedora are named fedora1-prod and fedora1-stage, respectively. See https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Instances for more info.
Java
- Version: openjdk "1.8.0_171"
- Installed at /usr/lib/jvm/java-8-openjdk-amd64/
Tomcat
Scripts
- /usr/share/tomcat7/bin/catalina.sh (starting and stopping)
Logs
- /var/lib/tomcat7/logs/catalina.out
- /var/lib/tomcat7/logs/localhost_access_log.2018-09-11.txt
- Settings /var/lib/tomcat7/conf/logging.properties
Basic settings:
- Users: /var/lib/tomcat7/conf/tomcat-users.xml
- Ports: /var/lib/tomcat7/conf/server.xml
Fedora
- Installed in the Tomcat webapps directory: /var/lib/tomcat7/webapps/fedora
- Data directory: fcrepo.home=/opt/fedora-data
- Sample call to the Fedora 4 API: curl -u fedoraAdmin:PASSWORD http://localhost:8080/fedora/rest/prod/kk/91/fk/64/kk91fk644