`

Installing Sakai 2.7 with Tomcat 5.5.33 (Ubuntu)

阅读更多
Over 350 educational organizations use Sakai as a learning management system, research collaboration system and ePortfolio solution.

This tutorial assumes that you already have Ubuntu installed with no add-ons.  If you are unsure of how to install Ubuntu please check their website (http://www.ubuntu.com) or please reconsider attempting this installation.



sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-server openssh-client
sudo apt-get install apache2
sudo vi /etc/apt/sources.list
add deb http://archive.canonical.com/ubuntu lucid partner
add deb-src http://archive.canonical.com/ubuntu lucid partner
sudo apt-get install sun-java6-jdk
sudo apt-get install wget
cd /opt
sudo wget http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.33/bin/apache-tomcat-5.5.33.tar.gz
sudo tar xvzf apache-tomcat-5.5.33.tar.gz
sudo ln -s /opt/apache-tomcat-5.5.33 tomcat
cd /opt/tomcat/bin
sudo vi startup.sh
add export JAVA_HOME=/usr/lib/jvm/java-6-sun after comments
sudo vi shutdown.sh
add export JAVA_HOME=/usr/lib/jvm/java-6-sun after comments
sudo vi setenv.sh
export JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m -Djava.awt.headless=true -Dhttp.agent=Sakai -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dsun.lang.ClassLoader.allowArraySyntax=true'
sudo chmod 755 setenv.sh
export CATALINA_HOME=/opt/tomcat
sudo sh startup.sh
cd /opt/tomcat
sudo wget http://source.sakaiproject.org/release/2.7.0/artifacts/sakai-bin-2.7.0.tgz
sudo tar xvzf sakai-bin-2.7.0.tgz
sudo vi /opt/tomcat/sakai/sakai.properties and paste in text @ https://source.sakaiproject.org/svn/config/branches/sakai-2.7.x/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties
Install MySQL server
Find DATABASE CONFIGURATION in /opt/tomcat/sakai/sakai.properties and replace yourDbUserName and yourDbPassword with MySQL username & password
Uncomment all MySQL lines:

    # MySQL settings - make sure to alter as appropriate
    vendor@org.sakaiproject.db.api.SqlService=mysql

driverClassName@javax.sql.BaseDataSource=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
url@javax.sql.BaseDataSource=jdbc:mysql://127.0.0.1:3306/sakai?useUnicode=true&characterEncoding=UTF-8
validationQuery@javax.sql.BaseDataSource=select 1 from DUAL
defaultTransactionIsolationString@javax.sql.BaseDataSource=TRANSACTION_READ_COMMITTED
cd /opt/tomcat/conf
cd /opt/tomcat/webapps/ROOT
sudo vi index.html


<html>
<head>
<title>Redirecting to /portal</title>
<meta http-equiv="Refresh" content="0:URL=/portal">
</head>
<body bgcolor="#ffffff" onLoad="javascript:window.location='/portal';">
<div style="margin:18px;width:288px;background-color:#cccc99;padding:18px;border:thin solid #666600;text-align:justify">
<p style="margin-top:0px">
You are being redirected to the Sakai portal. If you are not automatically redirected, use the link below to continue:<br/>
<a href="/portal">Take me to the Sakai portal</a>
</p>
</body>
</html>


At this point you should be able to navigate to your http://yourserver:8080/portal and login to Sakai with the username admin and password admin.  Please be sure to give Sakai a few moments to start up once you have enabled your Tomcat servlet.
Thanks to Jonathan Vernon and Trevor Parker for their hard work on this tutorial.
分享到:
评论

相关推荐

    Ubuntu.15.04.Server.with.systemd.Administration.and.Reference.epub

    Installing the Ubuntu Server Chapter 3. Usage Basics: Login, Interfaces, and Help Chapter 4. Managing Software Part 2: Services Chapter 5. Managing Services with systemd Chapter 6. Mail Servers ...

    OpenERP Installing Ubuntu9.04

    OpenERP Installing Ubuntu9.04

    Failed to install Tomcat6 service(Tomcat6安装失败解决方法)

    3. **具体错误**:“Failed installing Tomcat6 service”。 4. **错误位置**:在执行 `$tomcat_install/logs/jakarta_service_date.log` 日志文件中记录的 `service.bat` 文件时出现。 #### 解决方案 为了解决...

    Installing STLinux on Ubuntu

    ### 安装STLinux在Ubuntu上的关键步骤与挑战 #### 概览 本文将深入探讨在Ubuntu上安装STLinux的全过程,重点解析由于包管理系统的差异而带来的挑战及其解决方案。对于那些希望在Ubuntu环境中利用STLinux强大功能的...

    apache-tomcat-8.5.34注册服务包.zip

    官方原版一键注册tomcat为windows服务,tomcat8w.exe界面更改tomcat内存大小,开机自启,延迟自启 D:\x\develop\apache-tomcat-8.5.34\bin&gt;service.bat install Installing the service 'Tomcat8' ...

    Ubuntu Server Guide < 英文版>

    The Ubuntu Server Guide contains information on how to install and configure various server applications on your Ubuntu system to fit your ...installing Ubuntu, refer to the Ubuntu Installation Guide.

    anaconda安装 - Installing Anaconda on Ubuntu

    ### 安装Anaconda在Ubuntu上的详细步骤及关键知识点 #### 一、Anaconda简介 Anaconda是一款非常受欢迎的数据科学平台,它集成了Python或R语言环境中的许多库和工具,便于用户进行数据处理、科学计算、机器学习等...

    Ubuntu 使用手册 14.04 最新版本(英文原版)

    Installing Ubuntu—Getting started 11 Finishing Installation 16 2 The Ubuntu Desktop 19 Understanding the Ubuntu desktop 19 Unity 19 The Launcher 21 The Dash 21 Workspaces 24 Managing windows 24 Unity...

    Tomcat The Definitive Guide, 2nd Edition(PDF)

    Updated for the latest version of Tomcat, this new edition offers a complete guide to installing, configuring, maintaining and securing this servlet container. In fact, with such a wealth of new ...

    tomcat 环境配置及问题处理

    - `Installing the service ‘Tomcat6’……..` - `Using CATALINA_HOME: “D:\Program Files\Tomcat”` - `Using CATALINA_BASE: “D:\Program Files\Tomcat”` - `Using JAVA_HOME: “D:\Program Files\Java\...

    Sams.Ubuntu.Unleashed.Aug.2006.part1

    Chapter 3 Installing Ubuntu Chapter 4 Post-Installation Configuration Chapter 5 First Steps with Ubuntu Chapter 6 The X Window System Chapter 7 Managing Software Chapter 8 On the Internet: ...

    Installing and Configuring Openfiler with DRBD and Heartbeat

    Installing and Configuring Openfiler with DRBD and Heartbeat

    installing samba on ubuntu

    面是我在Ubuntu6.06 LTS 下源码编译安装samba主要安装过程,本人第一次用Ubuntu,刚装上去时候,没有gcc编译环境。郁闷了半天。找出这一过程发了不少的时间。可能还有些不妥,不过我经过这样的安装达到了向windows共享...

    linux环境Tomcat安装配置手册

    本手册旨在指导用户在 Linux 环境中安装和配置 Tomcat 服务器, step-by-stepguiding users through the process of installing and configuring Tomcat on a Linux environment. 知识点一:下载和安装 Tomcat 在...

    Beginning.Ubuntu.LTS.Server.Administration.From.Novice.to.Professional.2nd.Edition

    Installing and configuring Ubuntu to ensure secure installations Virtual Ubuntu and LDAP configuration Full network and web services management What you’ll learn Administer, install, and configure ...

    Installing Ubuntu 14.04 & ROS & TurtleBot 06-29-2016

    Installing Ubuntu 14.04 & ROS & TurtleBot 06-29-2016 个人小结,关于Ubuntu和ROS的安装。

    freedesktop.org.xml内容错误解决方案文件

    Installing mimemagic 0.3.10 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby26/lib/ruby/gems/2.6.0/gems/mimemagic-0.3.10/ext/...

Global site tag (gtag.js) - Google Analytics