Difference between revisions of "SUSE 10.0 SC RAW Notes"

From Scalix Wiki
Jump to: navigation, search
(Apache Tomcat)
Line 8: Line 8:
  
 
== Apache Tomcat ==  
 
== Apache Tomcat ==  
 +
 +
=== Using SUSE Default (incomplete) ===
 +
 +
; Note : I never got this to work, but I am leaving these notes here in case they help someone else trying it.  After some thought, I decided to follow Florian's advise and to just use the customized supported version of Tomcat for Scalix.  Part of the problem I think is because the SUSE 10.0 tomcat package is .30, and currently Apache only supports .28.
  
 
Here I just used the SUSE ''tomcat5'' package, we'll also see if that works.  I use the smart package manager and just add the java packages installation source for SUSE to do so.  An example for adding this repo at:  http://heinous.org/wiki/SUSE_and_Smart
 
Here I just used the SUSE ''tomcat5'' package, we'll also see if that works.  I use the smart package manager and just add the java packages installation source for SUSE to do so.  An example for adding this repo at:  http://heinous.org/wiki/SUSE_and_Smart
Line 18: Line 22:
 
Also, you should log out of the system and back in after installing JAVA, so the environment variables work right.  You'll have lots of confusing problems if you don't.
 
Also, you should log out of the system and back in after installing JAVA, so the environment variables work right.  You'll have lots of confusing problems if you don't.
  
Then, when you are at the point in the installation where you create the admin users, do the following:
+
Then see [[Technotes/Tomcat]] for instructions on getting tomcat to run in sudo mode.
 
+
omaddu -n "scalix-tomcat/<mailnode" -p <any_password> -c admin -u tomcat scalix-tomcat
+
 
+
Then, edit the file '''/etc/opt/scalix/res/config/res.properties'''
+
 
+
And set:
+
 
+
res.commands.sudo.mode=true
+
  
 
I also needed to change the file '''/etc/tomcat5/base/Catalina/localhost/scalix-caa.xml''' to have privileged be set to false, but I'm not sure that's right:
 
I also needed to change the file '''/etc/tomcat5/base/Catalina/localhost/scalix-caa.xml''' to have privileged be set to false, but I'm not sure that's right:
Line 38: Line 34:
 
</Context>
 
</Context>
 
</pre>
 
</pre>
 
Then make sure sudo is installed, and run the command:
 
 
visudo
 
  
 
= Quick Installation for SUSE 10.0 =
 
= Quick Installation for SUSE 10.0 =

Revision as of 15:32, 10 April 2006

For the most part I just followed the directions in Scalix CE Raw/Installation, but I am using this to make not of things that I tried that may be useful to add back in if they work. This is a doc in progress.

Deviations

Sun Java

Here I just used the SUSE 10.0 java-1_5_0-sun package, we'll see if that works.

Apache Tomcat

Using SUSE Default (incomplete)

Note 
I never got this to work, but I am leaving these notes here in case they help someone else trying it. After some thought, I decided to follow Florian's advise and to just use the customized supported version of Tomcat for Scalix. Part of the problem I think is because the SUSE 10.0 tomcat package is .30, and currently Apache only supports .28.

Here I just used the SUSE tomcat5 package, we'll also see if that works. I use the smart package manager and just add the java packages installation source for SUSE to do so. An example for adding this repo at: http://heinous.org/wiki/SUSE_and_Smart

After installing the packages, do the following:

cd /opt
ln -s /usr/share/tomcat5 scalix-tomcat

Also, you should log out of the system and back in after installing JAVA, so the environment variables work right. You'll have lots of confusing problems if you don't.

Then see Technotes/Tomcat for instructions on getting tomcat to run in sudo mode.

I also needed to change the file /etc/tomcat5/base/Catalina/localhost/scalix-caa.xml to have privileged be set to false, but I'm not sure that's right:

<Context path="/caa" docBase="/opt/scalix/web/caa-services.war"
        debug="0" privileged="false">
<Logger className="org.apache.catalina.logger.FileLogger"
        prefix="scalix-caa_log." suffix=".txt"
        timestamp="true"/>
</Context>

Quick Installation for SUSE 10.0

Assumes you already installed most of the prereq packages and use the smart package mgt tool. (Check out http://heinous.org/wiki/SUSE_and_Smart for some notes on this.)

Questions & Comments welcome! Edit the Discussion tab, or, for more traditional contact information: see User:Leah
leah-@-heinous.org http://heinous.org http://www.frauerpower.com http://www.looniepos.com