Tutorial on SIP and SIP SER server

Standard Unix Builds for Tutorial

Go back to main tutorial/workshop page

 

This page contains:

Information for SIP Tutorial Delegates to build a Unix server, which they can bring or leave at their office connected to the network.

 

WHY A DELEGATE (OR GROUP) HAVE THEIR OWN UNIX SERVER?

Please note that it s not necessary to have a Unix Server as Delegates will still gain a lot without one.

Delegates are encouraged to have their own Unix server built before the Tutorial/Workshop so that they can install and configure the SIP Proxy Server and keep it running after the Tutorial. Hopefuly so that it will continue working and be the start of thier organisations participation.

There will be approximately 5 unix servers for delegates to use during the Tutorial for those who do not have their own.

 

BRING YOUR UNIX SERVER TO THE TUTORIAL OR LEAVE IT ON THE NETWORK BACK AT HOME?

Delegates do not have to bring their server to the Tutorial. Rather they could install the server back at their home institution and configure it from the Tutorial.

IF YOU BRING YOUR SERVER WITH YOU

If you are going to bring your Server with you please email us and we will allocate an IP address for you as well as the necessary Gateway, DNS Server to use etc.

 

IF YOU LEAVE YOUR SERVER AT HOME

If you are going to set up your Server and leave it at home and use it from the Tutorial please email us and tell us it's IP Address.

The following access will be needed to enable the server to be used in the Tutorial:

 

The Network address at the SIP Tutorial at the APAN/Questnet conference in Cairns in July 2004 will be 169.222.239.0/28.

 

Delegate will need to SSH to the server to configre it.
Th Server will:

TO SERVER:

remark ALLOW SSH and SCP connection to Server
permit tcp 169.222.239.0 0.0.0.255 gt 1023 host a.b.c.d eq 22


remark TO ALLOW Server to use the DNS Server at the Tutorial
remark act as a SIP Proxy Server for IP Telephones at the Tutorial
remark ALLOW Server to communicate with other SIP servers, and
remark ALLOW IP Telephones at the Tutorial to TFTP images from the Server
permit ip 169.222.239.0 0.0.0.255 gt 1023 host a.b.c.d gt 1023

FROM SERVER:

remark ALLOW return SSH and SCP connection from Server
permit tcp host a.b.c.d eq 22 169.222.239.0 0.0.0.255 gt 1023


remark TO ALLOW Server to use the DNS Server at the Tutorial
remark act as a SIP Proxy Server for IP Telephones at the Tutorial
remark ALLOW Server to communicate with other SIP servers, and
remark ALLOW IP Telephones at the Tutorial to TFTP images from the Server
permit ip host a.b.c.d gt 1023 169.222.239.0 0.0.0.255 gt 1023

 




WHAT VERSION OF UNIX

Although two versins will be supported during the Tutorial there is nothing stoping Delegates from using any Unix version:

Detailed instructions for each are as follows:

 

FreeBSD version 4.10 - Please note we are still documenting the freeBSD

  1. Follow the instructions at http://www.freebsd.org/
    1. ftp the source from one of the many mirrors found at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html, get an ISO-IMAGES-<archetecture>. For the Tutorial you can also get them from this server:
    2. Make sure you get the ISO images are Version 4.10 for the hardware you are using. There will probably be three ISO images to download.
    3. Create three CDROMs using the three ISO images.
  2. We can probably short cut the installation notes by using the FreeBSD handbook.
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

    In summary:

    Disk partitioning
    - Single large root partition
    - Make the SWAP partition twice the size of the physical memory size.

    Install cvsup from packages during the install and then updated the release version to the current cvs release version to make sure you got the latest stable ports dependencies.

    Apache, php4, mysql installed from the ports collection.

    cd /usr/ports/databases/mysql40-client
    make install
    cd /usr/ports/databases/mysql40-server
    make install
    cd /usr/ports/www/apache13-modssl+ipv6
    make install
    cd /usr/ports/lang/php4
    make install

 

.end.


 

Linux Kernal using RedHat's Open Source "Fedora Core 1"

The following instructions are based on building a Unix server using typical PC Intel i386 based hardware.

IMPORTANT NOTE: Fedora Core 1 does not support Intel PCs using Serial ATA Harddisks, and recent testing shows that SER does not run on Fedora Core 2.

  1. Follow the instructions at http://fedora.redhat.com/download/
    1. Download the three ISO images for Fedora Core 1 (not 2), also called "yarrow" from Red Hat.
      http://download.fedora.redhat.com/pub/fedora/linux/core/1/
    2. Create three CDROMs using the three ISO images.
  2. Insert Fedora Core 1 CD 1 and boot from CD
    1. Press Enter at boot screen to start setup
    2. When prompted to do the Media Test you can select Skip if you are confident your media is OK
    3. On the Fedora Core welcome screen, select Next
    4. Select English (English) as your language and press Next
    5. Select your keyboard type and press Next
    6. Select your mouse type and press Next
    7. If you have an existing Redhat Linux installation on the computer the Fedora installer will find this installation and ask you if you want to Upgrade the existing installation or perform a refresh installation of Fedora Core. If this is the case, select Install Fedora Core and press Next
  3. We want to do a Server installation of Fedora Core so select Server and press Next
  4. Select Manual partition with Disk Druid and press Next
    1. Delete any existing disk partitions so that your whole disk is Free Space
    2. For simplicity we will make 3 partitions, one swap partition, one boot partition and one big root partition
    3. Create a "Swap" partition to be 2 or 4 times the size of your available memory
      1. Click New
      2. Select swap as the File System Type
      3. In the Size (MB) text field enter the size of your swap partition. As a guide, set the swap partition to be 2 or 4 times the size of your available memory. As an example, my computer has 256Meg RAM, so I will set a 1Gig swap
      4. Under Additional Size Options select Fixed Size
      5. Ensure Force to be a primary partition is not selected and press OK
    4. Create a "/boot" partition with a File System Type of etx3 with 100Mbytes
      1. Click New
      2. In the Mount Point text field enter /boot to be an ext3 type of 100Meg.
      3. Select ext3 as the File System Type
      4. In the Size (MB) text field enter the size of your boot partition. This partition should be at least 50Meg, and a good size is usually 100Meg.
      5. Under Additional Size Options select Fixed Size
      6. Select Force to be a primary partition and press OK
    5. Create a "/" root partition with the remained of the disk (Optional would be to create a /var partition for the logs to go)
      1. Click New
      2. In the Mount Point text field enter /
      3. Select ext3 as the File System Type
      4. Under Additional Size Options select Fill to maximum allowable size to use the remainder of the disk
      5. Ensure Force to be a primary partition is not selected and press OK
      6. Now you have setup your partitions press Next
  5. Select GRUB as the boot loader and press Next
  6. Next you will need to setup the network device of your machine. The information you enter here will vary depending on your environment
    1. Select eth0 device and press Edit
    2. Deselect Configure using DHCP - you want to configure a fixed ip address
    3. Select Activate on boot
    4. Enter your IP address
    5. Enter your Netmask
    6. Press OK
    7. Set the hostname manually
    8. Enter Gateway IP address.
    9. Enter Primary DNS IP address - For the Tutorial you may need to change it to simulate the SRV records, probably 169.222.239.2
    10. Enter Secondary DNS IP address if available
    11. Enter Tertiary DNS IP address if available
    12. Press Next
  7. Select No firewall and press Next
    1. Press Proceed on the warning screen about a firewall, you can setup a proper firewall later on
  8. Select the Default language for your system and press Next
  9. Select your timezone and press Next
  10. Enter your desired Root Password and Confirm and press Next
  11. This document assumes that this server will be dedicated to be your SIP server and so we will remove some packages that are not needed by your SIP server. For the purposes of the APAN SIP tutorial we will install Xwindows so you have a graphical interface with a browser to access the serweb tool. (Xwindows is not normally needed for your SIP server)
  12. Under Desktops select X Window System and click Details (far right side of X Window System
    • Ensure only the following packages are installed (for a small installation although you can add more):
      XFree86-twm
      Xfree86-xdm
      firstboot
      gdm
      rhgb
      xterm
  13. To install a decent Window Manager, under Desktops select your Window Manager of choise, either GNOME or KDE and install your required packages. For the purposes of the APAN SIP tutorial we will install we will install KDE.
  14. Under Desktops select KDE Desktop Environment and click Details
  15. Under Applications select Editors and click Details
    • Ensure only the following packages are installed (for a small installation although you can add more):
      vim-enhanced
      emacs
  16. Under Applications select Graphic Internet and click Details
  17. Under Applications deselect Text-based Internet
  18. Under Servers click Details for Server Configuration Tools
    • Ensure only the following packages are installed (for a small installation although you can add more):
      Xfree86-xauth
  19. Under Web Servers click Details for Web Server
  20. Under Servers deselect Windows File Server
  21. Under Servers select SQL Database Server and click Details
    • Ensure only the following packages are installed (for a small installation although you can add more):
      mysql-server
  22. Under Development select Development Tools and click Details
  23. Under Development select Network Servers and click Details
    • Ensure only the following packages are installed (for a small installation although you can add more):
      freeradius
      tftp-server
  24. Under System deselect Administration Tools
  25. Under System select System Tools and click Details
  26. Under System deselect Printing Support
  27. We are now ready to continue with the installation.
    • Click Next
  28. The installation will now check for dependencies, but there shouldn't be any for our installation as above
  29. The required media will be listed in a popup dialog box, click Continue
  30. The installation will now proceed by formatting the required filesystems, transferring the install image to the hard drive, and then installing the selected packages.
  31. You will be prompted to insert the required media at different times throughout the installation. When prompted, insert the required media and press OK.
  32. When prompted to reboot, remove the installation media and press Reboot
  33. You have now installed a system that will run as a SER SIP Server for the APAN SIP Tutorial

 


#
# ENABLE ALL THE FOLLOWING SERVICES TO START AUTOMATICLY ON RELOAD OF SERVER
Use the programme "ntsysv"
# enable these:
# http
# mysql
# radiusd
# tftp