104 lines
3.6 KiB
HTML
104 lines
3.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>Campcaster installation documentation for Ubuntu</title>
|
|
<meta content="$Author$" name="author">
|
|
</head>
|
|
<body>
|
|
<h1>Preface</h1>
|
|
This document is part of the <a href="http://campcaster.campware.org/">Campcaster</a>
|
|
project, Copyright © 2004 <a href="http://www.mdlf.org/">Media
|
|
Development Loan Fund</a>, under the GNU <a
|
|
href="http://www.gnu.org/licenses/gpl.html">GPL</a>.<br>
|
|
<ul>
|
|
<li>Author: $Author$</li>
|
|
<li>Version: $Revision$</li>
|
|
<li>Location: $URL$</li>
|
|
</ul>
|
|
|
|
<h1>Scope</h1>
|
|
This document describes how to compile and install Campcaster on an Ubuntu
|
|
Dapper system. It will probably work, with at most small modifications,
|
|
on other Ubuntu or Debian systems. For other Linux distributions, please
|
|
see the <a href="install.html">general instructions</a>.
|
|
|
|
|
|
<h1>Installation instructions</h1>
|
|
|
|
|
|
<h2>1. Install the tools, libraries and services</h2>
|
|
Run the
|
|
<a href="http://code.campware.org/projects/campcaster/wiki/DevelopmentEnvironment#a1.Installpackages">
|
|
<code>apt-get install</code> command</a> given on our wiki page.
|
|
|
|
|
|
<h2>2. Obtain the Campcaster sources</h2>
|
|
If you are reading this, you probably already have the sources, so you can
|
|
skip to the next step.
|
|
|
|
<p>If you do not have the sources yet, you need to get the tarballs named
|
|
<code>campcaster-<version>.tar.bz2</code> and
|
|
<code>campcaster-libraries-<version>.tar.bz2</code>.
|
|
Both can be downloaded from
|
|
<a href="http://sourceforge.net/projects/campcaster/">
|
|
<code>http://sourceforge.net/projects/campcaster/</code></a>.
|
|
|
|
|
|
<h2>3. Compile and install Campcaster</h2>
|
|
To install Campcaster in /opt/campcaster, do the following:
|
|
|
|
<pre>tar xfj campcaster-<version>.tar.bz2
|
|
tar xfj campcaster-libraries-<version>.tar.bz2
|
|
cd campcaster-<version>
|
|
./configure --prefix=/opt/campcaster --with-apache-group=www-data
|
|
sudo make install
|
|
</pre>
|
|
|
|
|
|
<h2>4. Configure the external services</h2>
|
|
Before you can use Campcaster, you need to set up and configure the web server
|
|
and the database that Campcaster uses to store its data. Type the following:
|
|
|
|
<pre>sudo ./bin/postInstallStation.sh --directory=/opt/campcaster \
|
|
--apache-group=www-data \
|
|
--postgresql-dir=/etc/postgresql/8.1/main \
|
|
--postgresql-init-script=/etc/init.d/postgresql-8.1
|
|
</pre>
|
|
|
|
|
|
<h2>5. Start Campcaster</h2>
|
|
After a successful installation, the Campcaster scheduler has to be
|
|
started, by typing:
|
|
<pre>/opt/campcaster/bin/campcaster-scheduler.sh start</pre>
|
|
|
|
<p>To use the the web interface, point your browser to
|
|
<code>http://localhost/campcaster</code>. You can also use the web interface
|
|
from other computers; simply put the name or IP number of the computer where
|
|
Campcaster was installed in place of <code>localhost</code>.
|
|
|
|
<p>To start Campcaster Studio, type the following:
|
|
<pre>/opt/campcaster/bin/campcaster-studio.sh</pre>
|
|
|
|
<p>For your first login, use the following values:
|
|
<ul>
|
|
<li>username: root</li>
|
|
<li>password: q</li>
|
|
</ul>
|
|
Later you can change the password, and add more users, from the web interface.
|
|
|
|
<p>You can make the scheduler start automatically when the system boots up,
|
|
by doing the following:
|
|
<pre>sudo cp /opt/livesupport/etc/campcaster-scheduler /etc/init.d/
|
|
sudo update-rc.d campcaster-scheduler defaults 92
|
|
</pre>
|
|
|
|
<p>You can quickly fill your Campcaster storage with audio files using the
|
|
mass import script:
|
|
<pre>sudo /opt/campcaster/bin/import.sh --directory=<some directory>
|
|
</pre>
|
|
|
|
<p>Have fun!
|
|
</body>
|
|
</html>
|