Editing RBE10K/Libreplan/Installation

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
== Install dependencies ==
 
== Install dependencies ==
 
<code>
 
<code>
echo "x11-base/xorg-server xvfb" >> /etc/portage/package.use
+
  emerge -a commons-dbcp commons-pool tomcat jdbc-postgresql postgresql-server
  emerge -a virtual/jdk commons-dbcp commons-pool tomcat jdbc-postgresql postgresql-server cutycapt
+
 
</code>
 
</code>
  
Line 27: Line 26:
 
  CREATE USER libreplan WITH PASSWORD 'libreplan';
 
  CREATE USER libreplan WITH PASSWORD 'libreplan';
 
  GRANT ALL PRIVILEGES ON DATABASE libreplan TO libreplan;
 
  GRANT ALL PRIVILEGES ON DATABASE libreplan TO libreplan;
\q
 
 
</code>
 
</code>
  
Line 38: Line 36:
 
</code>
 
</code>
  
== Install the web application as ROOT ==
+
== Install the web application ==
 
<code>
 
<code>
mv /var/lib/tomcat-7/webapps/ROOT /var/lib/tomcat-7/original-webapps-ROOT
+
  cp libreplan.war /var/lib/tomcat-7/webapps/
  cp libreplan.war /var/lib/tomcat-7/webapps/ROOT.war
+
 
</code>
 
</code>
  
 
== Configure Libreplan ==
 
== Configure Libreplan ==
Create a file '''/etc/tomcat-7-libreplan/Catalina/localhost/ROOT.xml''' with the following contents:
+
Edit '''/etc/tomcat-7-libreplan/Catalina/localhost/libreplan.xml''' and paste this in it:
  
 
<code>
 
<code>
Line 66: Line 63:
 
<code>
 
<code>
 
  /etc/init.d/tomcat-7 start
 
  /etc/init.d/tomcat-7 start
rc-update add tomcat-7 default
 
 
</code>
 
</code>

Please note that all contributions to MediaWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see MediaWiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox