/* ---------------- ESP Web Site Management Engine -------------- */
include $HTTP_SERVER_VARS["DOCUMENT_ROOT"] . "/esp/init.php";
/* --------------------------------------------------------------- */
?>
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?
- If you bring your server with you - what you need to do.
- If you leave your server on your office network - what you need to do.
- WHAT VERSION OF UNIX
- Linux Kernal using RedHat's Open Source "Fedora Core 1"
- FreeBSD version 4.9
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:
- Need to scp files from the Tutorial servers.
- use DNS server at the Tutorial.
- Act as a SIP Proxy server for SIP Phones at the conference and at
the Delegates home network.
- Be able to communicate with external SIP proxy servers.
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
- Follow the instructions at http://www.freebsd.org/
- 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:
- 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.
- Create three CDROMs using the three ISO images.
- 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.
- Follow the instructions at http://fedora.redhat.com/download/
- 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/
- Create three CDROMs using the three ISO images.
- Insert Fedora Core 1 CD 1 and boot from CD
- Press Enter at boot screen to start setup
- When prompted to do the Media Test you can select Skip if you are
confident your media is OK
- On the Fedora Core welcome screen, select Next
- Select English (English) as your language and press Next
- Select your keyboard type and press Next
- Select your mouse type and press Next
- 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
- We want to do a Server installation
of Fedora Core so select Server and press Next
- Select Manual partition with Disk Druid and
press Next
- Delete any existing disk partitions so that your whole disk is Free
Space
- For simplicity we will make 3 partitions, one
swap partition, one boot partition and one big root partition
- Create a "Swap" partition to be 2
or 4 times the size of your available memory
- Click New
- Select swap as the File System Type
- 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
- Under Additional Size Options select Fixed Size
- Ensure Force to be a primary partition is not selected and press
OK
- Create a "/boot"
partition with a File System Type of etx3 with 100Mbytes
- Click New
- In the Mount Point text field enter /boot to be an ext3 type of
100Meg.
- Select ext3 as the File System Type
- 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.
- Under Additional Size Options select Fixed Size
- Select Force to be a primary partition and press OK
- Create a "/"
root partition with the remained of the disk (Optional
would be to create a /var partition for the logs to go)
- Click New
- In the Mount Point text field enter /
- Select ext3 as the File System Type
- Under Additional Size Options select Fill to maximum allowable size
to use the remainder of the disk
- Ensure Force to be a primary partition is not selected and press
OK
- Now you have setup your partitions press Next
- Select GRUB as the boot loader and press Next
- Next you will need to setup the network device of your machine. The information
you enter here will vary depending on your environment
- Select eth0 device and press Edit
- Deselect Configure using DHCP - you want to configure a fixed ip address
- Select Activate on boot
- Enter your IP address
- Enter your Netmask
- Press OK
- Set the hostname manually
- Enter Gateway IP address.
- Enter Primary DNS IP address - For the Tutorial
you may need to change it to simulate the SRV records, probably 169.222.239.2
- Enter Secondary DNS IP address if available
- Enter Tertiary DNS IP address if available
- Press Next
- Select No firewall and press Next
- Press Proceed on the warning screen about a firewall, you can setup
a proper firewall later on
- Select the Default language for your system and press Next
- Select your timezone and press Next
- Enter your desired Root Password and Confirm and press Next
- 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)
- 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
- 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.
- Under Desktops select KDE Desktop Environment
and click Details
- Ensure only the following packages are installed (for a small installation
although you can add more):
kdeadmin
kdenetwork
kdeutils
- 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
- Under Applications select Graphic
Internet and click Details
- Ensure only the following packages are installled (for a small installation
although you can add more):
mozilla
- Under Applications deselect Text-based Internet
- 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
- Under Web Servers click Details for
Web Server
- Ensure only the following packages are installed (for a small installation
although you can add more):
httpd-manual
php
php-mysql
- Under Servers deselect Windows File Server
- 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
- Under Development select Development Tools
and click Details
- Ensure only the following packages are installed (for a small installation
although you can add more):
rpm-build
- 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
- Under System deselect Administration Tools
- Under System select System Tools and
click Details
- Ensure only the following packages are installed (for a small installation
although you can add more):
ethereal
nmap
screen
- Under System deselect Printing Support
- We are now ready to continue with the installation.
- The installation will now check for dependencies, but there shouldn't
be any for our installation as above
- The required media will be listed in a popup dialog box, click Continue
- The installation will now proceed by formatting the required filesystems,
transferring the install image to the hard drive, and then installing the
selected packages.
- You will be prompted to insert the required media at different times throughout
the installation. When prompted, insert the required media and press OK.
- When prompted to reboot, remove the installation media and press Reboot
- 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
/* --------- The HTML/PHP code that comes after the page content --------- */
include $HTTP_SERVER_VARS["DOCUMENT_ROOT"] . "/php/body_bottom_level1.php";
/* ------------------------------------------------------------------------ */
?>