Code Search for Developers
 
 
  

install.html from LiveSupport at Krugle


Show install.html syntax highlighted

<!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</title>
  <meta content="$Author: fgerlits $" 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: fgerlits $</li>
  <li>Version: $Revision: 2620 $</li>
  <li>Location: $URL: svn://code.campware.org/livesupport/trunk/campcaster/doc/install.html $</li>
</ul>

<h1>Scope</h1>
This document describes how to compile and install Campcaster on your
system.


<h1>Installation instructions</h1>


<h2>1. Install the tools, libraries and services</h2>
First, you need to install the <a href="developmentTools.html">tools, 
libraries and services</a> needed to compile and run Campcaster.
You can either install pre-packaged
versions, if they are provided for your distribution; or you can download
them from the URLs listed, and compile them yourself (follow the instructions
included with each tool and library).

<p>If you are using Ubuntu Dapper (or later), then the easiest way of doing this
is to 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-&lt;version&gt;.tar.bz2</code> and
<code>campcaster-libraries-&lt;version&gt;.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-&lt;version&gt;.tar.bz2
tar xfj campcaster-libraries-&lt;version&gt;.tar.bz2
cd campcaster-&lt;version&gt;
./configure --prefix=/opt/campcaster
make install
</pre>
To run <code>make install</code>, you need to be able to write the
installation directory.  Run it as root (change to the root user, or
write <code>sudo</code> before it).

<p>The <code>configure</code> command takes several arguments, 
the most important are the following:
<pre>  --prefix=PREFIX           install the files of the application in PREFIX
                            [default: /usr/local]
</pre>
The installation directory.  This is where Campcaster will be installed.
<br>
<pre>  --with-apache-group       specify the group of the apache web server daemon
                            [default: apache]
</pre>
The group of the apache web server daemon.  On Debian-based systems, including
Ubuntu, this is <code>www-data</code>.

<p>There are several more options; type <code>./configure --help</code> to get
a list of them, together with their default values.


<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. 
The simplest way is to use the script included with Campcaster:
<pre>./bin/postInstallStation.sh --directory=/opt/campcaster</pre>
You need to run this script as root, too.

<p>You can also set up everything manually; see the 
<a href="gettingStarted.html">gettingStarted.html</a> 
document about how to do that.

<p><code>postInstallStation.sh</code> takes several arguments;
the most important are the following:
<pre>  --directory=PREFIX        look for Campcaster files in PREFIX
</pre>
The installation directory, where Campcaster was installed.  This argument
is obligatory.

<p><pre>  --apache-group            specify the group of the apache web server
                            [default: apache]
</pre>
The group of the apache web server daemon.  On Debian-based systems, including
Ubuntu, this is <code>www-data</code>.

<p><pre>  --postgresql-dir          the PostgreSQL configuration directory
                            [default: /etc/postgresql]
</pre>
The directory containing the PostgreSQL configuration file
<code>pg_hba.conf</code>.  On Ubuntu Dapper and Edgy, this is 
<code>/etc/postgresql/8.1/main</code>.  On some distributions, it may be
<code>/var/lib/postgres/data/</code>.

<p><pre>
  --postgresql-init-script  the start/stop command for the PostgreSQL daemon
                            [default: /etc/init.d/postgresql]
</pre>
The init script used to start and stop the PostgreSQL daemon.  On Ubuntu Dapper
and Edgy, this is <code>/etc/init.d/postgresql-8.1</code>.

<p>There are several more options; type
<code>./bin/postInstallStation.sh --help</code>
to get a list of them, together with their default values.


<h2>5. Start Campcaster</h2>
After a successful installation, the Campcaster scheduler has to be
started. The scheduler has a System V runlevel-style startup script,
under <code>&lt;installation directory&gt;/bin/scheduler.sh<code>. 
To start the scheduler, simply type:
<pre>&lt;installation directory&gt;/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>&lt;installation directory&gt;/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 installing the &lt;installation directory&gt;/etc/campcaster-scheduler 
init script.  In Debian-based systems, this is done by 
typing 
<pre>cp &lt;installation directory&gt;/etc/campcaster-scheduler /etc/init.d/
update-rc.d campcaster-scheduler defaults 92
</pre>
as root.  Note: in the init script, the variable <code>CAMPCASTER_DIR</code> 
is hard-coded to <code>/opt/campcaster</code>.  You will need to edit it and 
change it to your installation directory if it is different.

<p>You can quickly fill your Campcaster storage with audio files using the 
mass import script <code>&lt;installation directory&gt;/bin/import.sh</code>.
Use the <code>--help</code> option to learn how to use it.  You will need 
write permissions to the installation directory (i.e., typically you will 
need to run the script as root).

<p>Have fun!
</body>
</html>




See more files for this project here

LiveSupport

LiveSupport is a radio playout and automation system. It enables radio stations to automate their broadcasts by using playlists that are scheduled for airing. Playlists can contain music, talk, or even other playlists. A Web interface is included, so radio station personnel can manage the the station's broadcasts remotely.

Project homepage: http://www.campware.org/en/camp/livesupport_news/
Programming language(s): C++,PHP,Shell Script,XML
License: gpl2

  db/
    dbSchema.sql
  developmentEnvironment/
    templates/
      Bar.cxx
      Bar.h
      Makefile
      configure.ac
      htmlDocumentTemplate.html
      phpScriptTemplate.php.txt
      phpScriptTemplate.phps
      shellScriptTemplate.sh
    autoconfConfigureConventions.html
    buildEnvironment.html
    cxxHeaderFileConventions.html
    cxxSourceFileConventions.html
    directoryStructure.html
    fileConventions.html
    htmlFileConventions.html
    index.html
    installation.html
    makefileConventions.html
    phpFileConventions.html
    shellScriptConventions.html
  doxygen/
    .keepme
  gui/
    designs/
      advancedsearch.gif
      editfile.gif
      index.html
      info.gif
      livemode.gif
      login_upload.gif
      playlist_list_view.gif
      playlist_timeline_view.gif
      scheduler_day.gif
      scheduler_week.gif
      simple-browser.gif
      uploadstream.gif
    c_gui_finaltimetable.xls
    htmlPageDescription.rtf
    metadataFields.html
    styleguide.pdf
    tec_doc_t3293_tcm6-10494.pdf
    windowDescription.rtf
  manual/
    LiveSupport Studio manual.sxw
    index.html
    manual_htm_159b8718.jpg
    manual_htm_3098a412.jpg
    manual_htm_4d262ba6.png
    manual_htm_59ef6c7.jpg
    manual_htm_5f12d0a5.jpg
    manual_htm_6e566889.png
    manual_htm_7c768cd8.png
    manual_htm_b09f4d5.jpg
    manual_htm_m3d23fe65.png
    manual_htm_m59d803c0.jpg
    manual_htm_m6e4aac82.jpg
    manual_htm_m75ba079b.png
    manual_htm_m79fcafa8.jpg
  model/
    Authentication/
      Authenticateuser_SequenceDiagram.svg
      Concepts.svg
      EssentialUseCases.svg
      Systembehaviour.svg
      index.html
    LocalStorage/
      Accessplaylist_SequenceDiagram.svg
      Accessrawaudiodata_SequenceDiagram.svg
      Concepts.svg
      Createplaylist_SequenceDiagram.svg
      Deleteaudioclip_SequenceDiagram.svg
      Deleteplaylist_SequenceDiagram.svg
      Editplaylist_SequenceDiagram.svg
      EssentialUseCases.svg
      Searchinmetadata_SequenceDiagram.svg
      Storeorupdateaudioclip_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateAudioclipmetadata_SequenceDiagram.svg
      index.html
    MediaArchive/
      Concepts.svg
      DeleteAudioclip_SequenceDiagram.svg
      Downloadrawaudiodata_SequenceDiagram.svg
      EssentialUseCases.svg
      Searchinmetadata_SequenceDiagram.svg
      StoreorupdateAudioclip_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateAudioclipmetadata_SequenceDiagram.svg
      index.html
    PlaylistEditor/
      AddanAudiocliptoLocalstorage_SequenceDiagram.svg
      AddanAudiocliptoaPlaylist_SequenceDiagram.svg
      AddorupdateanAudiocliptoMediaarchive_SequenceDiagram.svg
      Concepts.svg
      CreateaPlaylist_SequenceDiagram.svg
      DeleteanAudioclipfromLocalstorage_SequenceDiagram.svg
      EditthetransitionofanAudioclip_SequenceDiagram.svg
      EssentialUseCases.svg
      ListentoaPlaylist_SequenceDiagram.svg
      Maintainconfigurationinformation_SequenceDiagram.svg
      MirroranAudioclipfromaremoteMediaarchiveinLocalstorage_SequenceDiagram.svg
      MovethepositionofanAudioclipinaPlaylist_SequenceDiagram.svg
      SearchforAudioclips_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateanAudioclipinLocalstorage_SequenceDiagram.svg
      UploadaPlaylisttoaSchedulerdaemon_SequenceDiagram.svg
      index.html
    Scheduler/
      Concepts.svg
      Createplaylist_SequenceDiagram.svg
      Editplaylist_SequenceDiagram.svg
      EssentialUseCases.svg
      Manageplaylists_SequenceDiagram.svg
      Manageschedule_SequenceDiagram.svg
      Retrieveremotefiles_SequenceDiagram.svg
      Reviewplaylog_SequenceDiagram.svg
      Startstopscheduler_SequenceDiagram.svg
      Systembehaviour.svg
      Uploadplaylists_SequenceDiagram.svg
      index.html
    SoftwareArchitecture/
      PlaylistEditorArchitecture.svg
      SchedulerArchitecture.svg
      SoftwareArchitecture.zuml
      index.html
    Architecture.svg
    LiveSupport.zuml
    index.html
  phpdocs/
  quickstart/
    index.html
    livesupport_logo_blends.png
    outline_clouds.jpg
  developmentTools.html
  gettingStarted.html
  index.html
  install.html
  installUbuntu.html
  ls_pref.html
  preferences.html
  release.html
  repositoryCdHowto.html
  studioLocalization.html
  userLocalizationInstructions.html