Changes between Version 1 and Version 2 of OpenclinicaFedoraBeta


Ignore:
Timestamp:
06/16/09 10:51:08 (9 years ago)
Author:
joshuadf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenclinicaFedoraBeta

    v1 v2  
    7979# set tomcat to start automatically on boot 
    8080chkconfig tomcat6 on 
    81  
    82 # install postgresql JDBC driver per OpenClinica instructions 
    83 cp /usr/local/oc/OpenClinica-*/config/libraries/postgresql-8.1-405.jdbc3.jar /usr/local/tomcat/lib/ 
    8481}}} 
    8582 
     
    107104}}} 
    108105 
    109 Lastly, in `/usr/local/tomcat/conf/Catalina/localhost/OpenClinica.xml` change the `JDBCRealm` and `SQLPostgres` password lines for the "clinica" user to your db password and then run 
     106Finally, make a copy of the default datainfo.properties file and edit with your settings: 
    110107{{{ 
    111108# change OpenClinica settings 
    112 sed -i 's;smtpHost=mail.example.com;smtpHost=localhost;' /usr/local/tomcat/webapps/OpenClinica/properties/datainfo.properties 
    113 sed -i 's;adminEmail=.*;adminEmail=you@your.domain;' /usr/local/tomcat/webapps/OpenClinica/properties/datainfo.properties 
    114 /etc/init.d/tomcat5 restart 
     109/usr/local/tomcat/webapps/OpenClinica/properties/datainfo.properties 
     110rsync -vaz /usr/local/tomcat/webapps/OpenClinica/WEB-INF/classes/datainfo.properties oc3-datainifo.orig 
     111rsync -vaz /usr/local/tomcat/webapps/OpenClinica/WEB-INF/classes/datainfo.properties my-datainfo.properties 
     112sed -i 's;password=clinica;password=MYSTRONGPASS;' my-datainfo.properties 
     113sed -i 's;smtpHost=mail.*;smtpHost=localhost;' my-datainfo.properties 
     114sed -i 's;adminEmail=.*;adminEmail=you@your.domain;' my-datainfo.properties 
     115rsync -vaz my-datainfo.properties /usr/local/tomcat/webapps/OpenClinica/WEB-INF/classes/datainfo.properties  
     116 /usr/local/tomcat/webapps/OpenClinica/properties/datainfo.properties 
     117/etc/init.d/tomcat6 restart 
    115118}}} 
    116119