-
Notifications
You must be signed in to change notification settings - Fork 0
AlternateBootstrap
This web page contains instructions for installing and configuring CloudCoder on some variety of Linux or Unix other than Ubuntu or Debian. (If you can use Ubuntu or Debian, use the Bootstrap instructions.)
Note that these instructions are a work in progress.
You should install
- OpenJDK (1.6 or later)
- MySQL (version 5 or later)
- Apache (version 2 or later), with SSL
For example (if you are running a Linux distribution which uses the
yum package manager):
sudo yum install java-1.6.0-openjdk.x86_64 mysql mysql-server httpd mod_ssl(Note that in the command above httpd is Apache.) You will need to
consult your distribution's documentation to determine which packages
you need and how to install them.
Log into the server you will use to host the web application.
Create a cloud user account, which is the user under which the
webapp will run. For example, using the useradd command:
sudo useradd cloudSwitch over to running as the cloud user:
sudo su cloud
cd /home/cloudCreate a webapp directory under the cloud user's home directory
and navigate into it:
mkdir -p webapp
cd webappDownload the latest version of the CloudCoder webapp:
wget http://s3.amazonaws.com/cloudcoder-binaries/LATEST
wget http://s3.amazonaws.com/cloudcoder-binaries/cloudcoderApp-`cat LATEST`.jarFor more info (demo server, exercise repository, contributing to cloudcoder, etc): cloudcoder.org
