sycamore leaf
ISU Home
Paul Asay at ISU Library

How to Install ResCarta Institutional Repository Toolkit on Ubuntu Linux

This is from memory so hopefully I didn't miss a step or get something out of order

  1. Install Ubuntu 14:04 server on either a dedicated server or VM
  2. Install packages SSH, LAMP, Java, Tomcat during install (probably only need SSH, Java and Tomcat)
  3. After the system comes up install the latest updates:
    1. sudo apt-get upgrade
    2. sudo apt-get update
  4. Edit Tomcat Users: sudo vi /etc/tomcat7/tomcat-users.xml
  5. add role for ResCarta Admin: <role rolename="rc-web-admin"/>
  6. add role for ResCarta User: <role rolename="rc-web-user"/>
  7. edit username and password for Tomcat (replace xxx with your values)
  8. <user username="xxx" password="xxx" roles="manager-gui,admin-gui"/>
  9. add username for ReCarta Admin:
  10. <user username="xxx" password="xxx" roles="manager-gui,admin-gui"/>
  11. <user username="xxx" password="xxx" roles="rc-web-admin,rc-web-user/">
  12. Restart tomcat: sudo service tomcat7 restart
  13. create a directory for Rescarta to be installed into (I used just /rescarta)
  14. make sure you are the owner chown (your user id:your group) /rescarta
  15. download the latest version of ResCarta from http://www.rescarta.org/ and store it in the directory created above
  16. install the basic package: java -jar rc-tools-install-xxx.jar
  17. Bring up tomcat default webside http://your_ip_address:8080
  18. Click on manager webapp link using the tomcat username and password from above
  19. To deploy ResCarta as a tomcat service:
  20. In Context Path enter: /rescarta
  21. in WAR or Directory URL enter: file:/rescarta/apache-tomcat-xxx/webapps/ResCarta-Web
  22. Bring up ResCarta http://your_ip_address:8080/rescarta
  23. Note: home directory for ResCarta with this method is /var/lib/tomcat7/webapps/rescarta