Fedora (Obsolete)

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, such as IP addresses and server status.

Tomcat

Tomcat is the servlet container used in the production and staging environments. ( The dev and test environments use Jetty.) It is a Java program.

Version

  • We're running version 7.0.52.0 .
  • For more details:
    • /usr/share/tomcat7/bin/catalina.sh version

Source

  • /usr/share/tomcat7/

Scripts

  • /usr/share/tomcat7/bin/catalina.sh stop # stops Tomcat
  • /usr/share/tomcat7/bin/catalina.sh start # starts Tomcat

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

Java

  • Version: openjdk "1.8.0_171"
  • Installed at /usr/lib/jvm/java-8-openjdk-amd64/

Fedora