If you are using Ubuntu Dapper (or later), then the easiest way of doing this
is to run the
apt-get install
command given on our wiki page.
If you do not have the sources yet, you need to get the tarballs named
campcaster-<version>.tar.bz2
and
campcaster-libraries-<version>.tar.bz2
.
Both can be downloaded from
http://sourceforge.net/projects/campcaster/
.
tar xfj campcaster-<version>.tar.bz2 tar xfj campcaster-libraries-<version>.tar.bz2 cd campcaster-<version> ./configure --prefix=/opt/campcaster make installTo run
make install
, you need to be able to write the
installation directory. Run it as root (change to the root user, or
write sudo
before it).
The configure
command takes several arguments,
the most important are the following:
--prefix=PREFIX install the files of the application in PREFIX [default: /usr/local]The installation directory. This is where Campcaster will be installed.
--with-apache-group specify the group of the apache web server daemon [default: apache]The group of the apache web server daemon. On Debian-based systems, including Ubuntu, this is
www-data
.
There are several more options; type ./configure --help
to get
a list of them, together with their default values.
./bin/postInstallStation.sh --directory=/opt/campcasterYou need to run this script as root, too.
You can also set up everything manually; see the gettingStarted.html document about how to do that.
postInstallStation.sh
takes several arguments;
the most important are the following:
--directory=PREFIX look for Campcaster files in PREFIXThe installation directory, where Campcaster was installed. This argument is obligatory.
--apache-group specify the group of the apache web server [default: apache]The group of the apache web server daemon. On Debian-based systems, including Ubuntu, this is
www-data
.
--postgresql-dir the PostgreSQL configuration directory [default: /etc/postgresql]The directory containing the PostgreSQL configuration file
pg_hba.conf
. On Ubuntu Dapper and Edgy, this is
/etc/postgresql/8.1/main
. On some distributions, it may be
/var/lib/postgres/data/
.
--postgresql-init-script the start/stop command for the PostgreSQL daemon [default: /etc/init.d/postgresql]The init script used to start and stop the PostgreSQL daemon. On Ubuntu Dapper and Edgy, this is
/etc/init.d/postgresql-8.1
.
There are several more options; type
./bin/postInstallStation.sh --help
to get a list of them, together with their default values.
<installation directory>/bin/scheduler.sh.
To start the scheduler, simply type:
<installation directory>/bin/scheduler.sh start
To use the the web interface, point your browser to
http://localhost/campcaster
. 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 localhost
.
To start Campcaster Studio, type the following:
<installation directory>/bin/campcaster-studio.sh
For your first login, use the following values:
- username: root
- password: q
Later you can change the password, and add more users, from the web interface.
You can make the scheduler start automatically when the system boots up,
by installing the <installation directory>/bin/campcaster-scheduler
init script. In Debian-based systems, this is done by
typing
cp <installation directory>/bin/campcaster-scheduler /etc/init.d/
update-rc.d campcaster-scheduler defaults 92
as root. Note: in the init script, the variable CAMPCASTER_DIR
is hard-coded to /opt/campcaster
. You will need to edit it and
change it to your installation directory if it is different.
You can quickly fill your Campcaster storage with audio files using the
mass import script <installation directory>/bin/import.sh
.
Use the --help
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).
Have fun!