[Deploying Sakai] Sakai fails to load.
Steve Swinsburg
steve.swinsburg at gmail.com
Mon Jan 20 15:44:49 PST 2014
Hi Gesh,
The binary install is different to the source install.
Here are steps for a source install:
https://confluence.sakaiproject.org/pages/viewpage.action?pageId=82249316
I totally agree that the instructions are overly verbose and can be
confusing as the verbosity increases. There is no need to tell someone how
to install subversion or maven in the Sakai installation guide, I have said
this before. Any other piece of software will simply list the requirements
(ie you need subversion 1.6, maven3 jdk 6+) then tell you how to install
their own software, not all of the dependencies.
So in a nutshell:
1. Install JDK via package or whatever you please. It doesnt matter.
2. Install Maven 3.0.x and subversion.
3. Download a Tomcat zip/tar and extract it somewhere.
3b. Configure tomcat as per 5.4, 5.8 and 5.9
4. svn co https://source.sakaiproject.org/svn/trunk
5. cd to the top level of the Sakai source code you just checked out
6. mvn clean install sakai:deploy
-Dmaven.tomcat.home=/path/to/tomcat/from/step/3
7. cd /path/to/tomcat/bin
8 ./startup.sh && tail -f ../catalina.out
That will get you going. There are other bits about MAVEN_OPTS and
JAVA_OPTS that you will need but the above steps are what you need to get
the build going.
Post back when you have done that.
cheers,
Steve
On Tue, Jan 21, 2014 at 8:54 AM, Gesh hseG <gesh at gesh.uni.cx> wrote:
> The instructions you attached seem to be for making a dev build.
> All I want is to have a production version of Sakai running on my server.
> The only instructions I found that seemed relevant are at
> https://confluence.sakaiproject.org/pages/viewpage.action?pageId=82249313
> https://confluence.sakaiproject.org/pages/viewpage.action?pageId=82249316
> However, I've been told earlier in this thread that Debian's Tomcat package
> won't work with Sakai, and that I should install Tomcat manually.
> A) The wiki pages I've linked to are at the very least inconsistent in the
> values
> for JAVA_OPTS.
> B) The instructions given there are confusing, and having muddled as best
> as
> I could with them, led me to the logs sent before at best.
> Therefore can someone please say unequivocally:
> A) Can I use Debian's prepackaged Java and Tomcat packages in installing
> Sakai?
> If not, why not (both what Sakai needs that it doesn't supply and why
> it needs it)?
> B) If I can't use the prepackaged Java and Tomcat, precisely how do I
> install them?
> Attempts to do so myself led to a non-working Tomcat.
> Hoping this will be over soon.
> Gesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20140121/c0539f9e/attachment.html
More information about the production
mailing list