Campsite

Requirements and Dependencies

In this chapter:
  • Debian Dependencies
  • Ubuntu Dependencies

To install the Campsite server, you need to have shell or ftp access to a Linux, FreeBSD or Unix system. Campsite 3.2 is known to work on the following Linux distributions: Ubuntu, Fedora, Mandriva, Debian.


Before installing Campsite, make sure you have the following applications up and running:

1. Apache web server -- your http daemon, serving your web site to the world (http://www.apache.org). You will need version 2.0.x or newer.

For installation instructions, see the Apache web site. Installing Apache will generate the httpd.conf file referred to further down. This file contains all relevant information for Apache to handle the content on your Linux server. The adjustments described below need to be made in order to tell Apache about the procedures for Campsite files and templates.

2. MySQL Database Server - this application handles the Campsite database. You will need MySQL 5.0 or newer.

Two components of MySQL are needed for Campsite:
 * the server
 * client programs

All of those can be found on the MySQL website (http://www.mysql.com).

3. PHP 5.0 or newer - This is needed for Campsite administration interface. PHP is a module for the Apache web server. The followind PHP modules must be installed:

        * php-cli - Command Line Interface module
        * php-mysql - functions for accessing the MySQL database server
        * php-gd - provides a module for handling graphics directly from the PHP scripts

4. Imagemagick - needed for creating thumbnails of images

 

Debian Dependencies

To install and configure all needed Debian 3.1 libraries run the following command at your command prompt:
apt-get install libdbd-mysql-perl mysql-client mysql-common
  mysql-server php5-mysql php5-cli php5-gd imagemagick


Ubuntu Dependencies

To install and configure all needed Ubuntu libraries run the following command at your command prompt (by copying and pasting it into your terminal):

sudo apt-get install build-essential php5-cli php5-mysql
  apache2 libapache2-mod-php5 php5 mysql-server
  imagemagick php5-gd

The file in php.ini may need to be reconfigured for the extensions mysql.so and gd.so. To do this open up the file /etc/php5/apache2/php.ini and find the lines:

extension=mysql.so
extension=gd.so

If these two lines are commented out (ie proceded by semicolons), uncomment them by removing the semicolons.


your comment:
name :
comment :

If you can't read the word, click here
word :