Tutorial on SIP and SIP SER server

Installation of SER.

 

This page contains instructions to install SER on

 

 

References:

http://iptel.org/ser/doc/ser-howto/ser-Howto.html

By Quincy Wu and Stephen Kingham, June 2004

 

Step by Step Installation of SER on FreeBSD 4.10

The following has been tested on a FreeBSD install as per instructions and is based on SER version 0.8.12

Key to the colours used:
Pink indicates a command or a filename
Red indicates something specific to your SER Server, do not just put in the example

 

 

 

Step by Step Installation of WEBSER on FreeBSD 4.10

When the original distribution is installed the directory locations do not match up with the typical apache file locations. These notes document all the changes needed. SUGGESTION: For the Tutorial we should develop a new install TAR so delegates do not spend 30 minutes editing all the files.

 

The follwoing changes can be applied three ways:

1. Get and extract this tar file

Get the file fixupserwebphp.tar (yet to be developed) from this server

put it in the directory /usr/local/src/ser

Issue these commands

cd /usr/local/www/data/serweb

tar -xvf fixupserwebphp.tar

OR  
2. Manualy make all these changes

Generaly you have to add "../" to all these files so that they point correctly to where the phplib is.

  • Edit ./admin/prepend.php
    # change $_PHPLIB["libdir"] = "../../../phplib/";

  • Edit ./user_interface/prepend.php
    # change $_PHPLIB["libdir"] = "../../../phplib/";
  • Edit ./user_interface/reg/prepend.php
    # change $_PHPLIB["libdir"] = "../../../../phplib/";
  • Edit ./admin/acl.php
    # change require "../../../phplib/oohforms.inc";
  • Edit ./admin/index.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./admin/users.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/accounting.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/find_user.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/index.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/missed_calls.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/my_account.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/phonebook.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/send_im.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/notification_subscription.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/finish.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/get_pass.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/index.php
    # require "../../../../phplib/oohforms.inc";
OR
3. Create a symbolic link
ln -s /usr/local/www/phplib /usr/local/www/data/
# For an operating service, this may not be recommended for security reason; but it works for the scope of this workshop.

 

 


 

Step by Step Installation of SER on RedHad Fedora Core 1

The following has been tested on a RedHat Fedora Core 1 install as per instructions and is based on SER version 0.8.12

Key to the colours used:
Pink indicates a command or a filename
Red indicates something specific to your SER Server, do not just put in the example

 

 

 

Step by Step Installation of WEBSER on RedHad Fedora Core 1

When the original distribution is installed the directory locations do not match up with the typical apache file locations. These notes document all the changes needed. SUGGESTION: For the Tutorial we should develop a new install TAR so delegates do not spend 30 minutes editing all the files.

 

The follwoing changes can be applied two ways:

1. Get and extract this tar file

get the file fixupserwebphp.tar from this server

put it in the directory /usr/local/src/ser

issue these commands

cd /var/www/html/serweb

tar -xvf fixupserwebphp.tar

OR  
2. Manualy make all these changes

Generaly you have to add "../" to all these files so that they point correctly to where the phplib is.

  • Edit ./admin/prepend.php
    # change $_PHPLIB["libdir"] = "../../../phplib/";

  • Edit ./user_interface/prepend.php
    # change $_PHPLIB["libdir"] = "../../../phplib/";
  • Edit ./user_interface/reg/prepend.php
    # change $_PHPLIB["libdir"] = "../../../../phplib/";
  • Edit ./admin/acl.php
    # change require "../../../phplib/oohforms.inc";
  • Edit ./admin/index.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./admin/users.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/accounting.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/find_user.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/index.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/missed_calls.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/my_account.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/phonebook.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/send_im.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/notification_subscription.php
    # require "../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/finish.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/get_pass.php
    # require "../../../../phplib/oohforms.inc";
  • Edit ./user_interface/reg/index.php
    # require "../../../../phplib/oohforms.inc";