<html>
<body>
Greger, et. al.<br><br>
While I did volunteer for Documentation and Testing already,<br>
I am going to branch out and perform each step myself<br>
so we can &quot;document as we design&quot;.&nbsp;&nbsp; <br><br>
To that end I am setting up two &quot;target machines&quot;&nbsp; in New
York on which<br>
to install-test-document each step wearing the hat of the
Enterprise-IT-Guy.<br>
I have a couple of techs that we can use in the role of &quot;outside
tester&quot; who<br>
will strictly follow the documentation to give the procedures a good Q-A
test.<br>
I can be ready in early Janurary.<br><br>
I would like to hear from the current CVS maintainer regards
creation<br>
of third machine as a Subversion / CVS mirror.&nbsp; Can you contact
me<br>
via EMAIL with some guidance?<br><br>
Regards,&nbsp; ..mike..<br><br>
At 03:03 AM 12/16/2007, Greger V. Teigre wrote:<br>
<blockquote type=cite class=cite cite="">Using kickstart sounds good to
me.&nbsp; I think we should keep separate the different steps:<br>
1. Create a base image of the OS<br>
2. Install the iptel.org apps and dependencies<br>
3. Do local configurations<br>
4. Create deployable virtual machine<br><br>
If each of these steps are isolated, different people can be responsible
for the different steps.<br><br>
I have reorganized the project page into sections and incorporated lots
of input from Jeremy at
<a href="http://iptel.org/bundle/project">
http://iptel.org/bundle/project</a><br>
We now need to create a project plan, split into responsibilities, and
take some key decisions.<br>
I think one key decision that we have already converged on is: for first
version use CentOS5 and create vmware appliance.<br>
g-)<br><br>
<br>
Jai Rangi wrote: <br>
<blockquote type=cite class=cite cite="">Sounds good,<br>
Here is the script. Its been a while that we have used it. We might need
to modify something. I can look into it later. Let me know if this is
something you are looking for. <br>
************************<br>
#!/bin/sh<br>
# Need to add /bin/sh path<br>
# This script will install the softwares required to build
softswitch.<br>
# Sysrequirements&nbsp; FC5, DELL 1950,<br>
# Jai<br>
# 12/11/06<br><br>
HOSTNAME=`hostname`<br>
TEMPLATE=<a href="http://192.168.2.201/"> 192.168.1.1</a><br><br>
if [ &quot;`id -u`&quot; != &quot;0&quot; -o `hostname` !=
&quot;$HOSTNAME&quot; ]; then<br>
&nbsp;printf &quot;NEED TO BE ROOT AND TO RUN ON $HOSTNAME\n&quot;<br>
&nbsp;exit 0<br>
fi<br><br>
echo &quot;You are ROOT&nbsp; on&nbsp;&nbsp; Make sure you know what are
you doing, <br>
&nbsp;Press ENTER to continue&quot;<br><br>
read<br><br>
echo &quot;Server name = $HOSTNAME&quot;<br>
echo &quot;FTP Server = $TEMPLATE&quot;<br>
echo &quot;Press ENTER to start&quot;<br><br>
read<br><br>
printf &quot;PROCEEDING WITH INSTALLATION OF Softswitch on ${HOSTNAME}
...\n\n&quot; <br><br>
<br>
printf &quot;ARE YOU SURE YOU WANT TO CONTINUE (Y/N)?&quot;<br>
read X<br>
if [ &quot;x$X&quot; != &quot;xY&quot; ]; then<br>
&nbsp;printf &quot;aborting. Press Y or N \n&quot;<br>
&nbsp;exit 0<br>
fi<br>
printf &quot;\n&quot; <br><br>
mkdir&nbsp; //home/switch<br>
ln -s /home/switch /usr/local/<br><br>
<br>
cd /usr/local/src<br><br>
echo &quot;------INSTALLING freeradius
-----------------------------&quot;<br><br>
printf &quot;Do you want to INSTALL FREERADIUS (Y/N)?&quot; <br>
read X<br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br>
cd /usr/local/src/<br>
wget
<a href="ftp://ftp.freeradius.org/pub/radius/old/freeradius-1.1.2.tar.gz">
ftp://ftp.freeradius.org/pub/radius/old/freeradius-1.1.2.tar.gz </a><br>
tar zxvf freeradius-1.1.2.tar.gz<br>
cd freeradius-1.1.2<br>
./configure<br><br>
make<br>
make install<br>
#cd ..<br>
echo &quot;enable digest auth in radiusd.conf, configure
clients.conf,&nbsp; create radius db and import tables.&quot; <br><br>
else<br>
printf &quot;OK YOU Pressed N that means you don't want free radius. No
Problem \n&quot;<br>
fi<br><br>
echo &quot;------&nbsp; radius client lib&nbsp;
-----------------------------&quot;<br>
printf &quot;Do you want to radius client lib (Y/N)?&quot; <br><br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br>
cd /usr/local/src/<br>
wget
<a href="http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.2.tar.gz">
http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.2.tar.gz
</a><br><br>
tar zxvf radiusclient-ng-0.5.2.tar.gz<br>
cd radiusclient-ng-0.5.2<br>
./configure<br>
make<br>
make install<br><br>
#vi /etc/ld.so.conf<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/lib<br>
cat &quot;/usr/local/lib&quot; &gt; /etc/ld.so.conf.d/radius-
i386.conf<br><br>
ldconfig<br>
cd ..<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you don't want radius
client lib. I don't care, I am just a script \n&quot;<br><br>
fi<br><br>
echo &quot;------&nbsp; MEDIAPROXY -------------------&quot; <br>
printf &quot;Do you want to Mediaproxy&nbsp; (Y/N)?&quot;<br><br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br>
cd /usr/local/src/<br>
wget
<a href="http://mediaproxy.ag-projects.com/old/mediaproxy-1.4.2.tar.gz">
http://mediaproxy.ag-projects.com/old/mediaproxy-1.4.2.tar.gz</a><br>
tar mediaproxy-1.4.2.tar.gz<br>
mv mediaproxy /usr/local/mediaproxy<br><br>
#cp mediaproxy.ini.sample mediaproxy.ini<br><br>
#vi mediaproxy.ini<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; edit the options as per our
envi. <br>
cd&nbsp; /usr/local/mediaproxy/<br>
wget
<a href="ftp://$TEMPLATE/configure_ser">ftp://$TEMPLATE/configure_ser</a>
<br>
_server/configfiles/mediaproxy.ini<br><br>
cp /usr/local/mediaproxy/boot/mediaproxy.other
/etc/init.d/mediaproxy<br>
/etc/init.d/mediaproxy start <br>
cd /usr/local/src/<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you dont want
Mediaproxy. I dont care, But remember SIP users wont be able to talk
\n&quot;<br>
fi<br><br>
echo &quot;------&nbsp; ser -------------------&quot;<br>
printf &quot;Do you want to INSTALL SER (Y/N)?&quot;<br><br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then <br><br>
## We make changes in the Makefile for all the modules, build our own tar
and store it on our ftp server.<br>
#wget
<a href="http://ftp.iptel.org/pub/ser/0.9.6/src/ser-0.9.6_src.tar.gz">
http://ftp.iptel.org/pub/ser/0.9.6/src/ser-0.9.6_src.tar.gz </a><br>
cd /usr/local/src/<br>
wget
<a href="ftp://$TEMPLATE/configure_ser_server/ser-0.9.6_bingo.tar.gz">
ftp://$TEMPLATE/configure_ser_server/ser-0.9.6_bingo.tar.gz</a><br>
echo &quot;Press ENTER to start&quot;<br>
read<br>
tar zxvf ser-0.9.6_bingo.tar.gz<br>
echo &quot;Press ENTER to start&quot;<br>
read<br><br>
cd ser-0.9.6<br>
pwd<br><br>
#cd modules/acc<br>
#vi Makefile<br>
#remove comment from sql and radius lines<br><br>
#vi Makefile<br>
#remove *_radius from exclude list<br><br>
make all<br>
make install<br>
cd /usr/local/etc/ser/ <br>
wget
<a href="ftp://$TEMPLATE/configure_ser_server/configfiles/ser.cfg">
ftp://$TEMPLATE/configure_ser_server/configfiles/ser.cfg</a><br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you don't want a
softswitch you. Just playing with me HUHH, OK \n&quot;<br>
fi<br><br>
#
<a href="http://www.openser.org/docs/openser-radius-1.0.x.html">
http://www.openser.org/docs/openser-radius-1.0.x.html</a><br>
# ----------------------------------------------<br>
echo &quot;------&nbsp; APACHE -------------------&quot; <br>
printf &quot;Do you want to INSTALL APACHE (Y/N)?&quot;<br>
read X<br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br>
cd /usr/local/src/<br>
wget
<a href="http://www.axint.net/apache/httpd/httpd-2.2.3.tar.gz">
http://www.axint.net/apache/httpd/httpd-2.2.3.tar.gz</a><br>
tar zxvf httpd-2.2.3.tar.gz<br>
cd httpd-2.2.3<br>
./configure --enable-shared=max --enable-module=rewrite
--enable-module=so --with-apxs2<br>
make<br>
make install<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you dont want APACHE.
You might need this for serweb. \n&quot;<br>
fi<br><br>
echo &quot;------&nbsp; IMAP -------------------&quot;<br>
printf &quot;Do you want to INSTALL IMAP, (Y/N)?&quot; <br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br><br>
cd /usr/local/src/<br>
cd /usr/local/src/<br>
#wget
<a href="http://www.mirrorservice.org/sites/tp.cac.washington.edu/imap/old/imap-2004c1.tar.Z">
http://www.mirrorservice.org/sites/tp.cac.washington.edu/imap/old/imap-2004c1.tar.Z</a>
<br>
wget
<a href="ftp://192.168.2.201/configure_ser_server/imap-2004c1.tar.Z">
ftp://192.168.2.201/configure_ser_server/imap-2004c1.tar.Z </a><br>
tar zxf imap-2004c1.tar.Z<br><br>
cd imap-2004c1<br>
make slx SSLTYPE=none<br>
cd c-client/<br>
cp c-client.a /usr/lib<br>
cp rfc822.h mail.h linkage.h /usr/include/<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you dont want APACHE.
You might need this for serweb. \n&quot; <br>
fi<br><br>
<br>
echo &quot;------&nbsp; PHP 4.xx -------------------&quot;<br>
printf &quot;Do you want to INSTALL PHP 4.xx, If you dont install this
then DONT complain if your serweb doesnt work (Y/N)?&quot;<br><br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br><br>
cd /usr/local/src/<br>
wget
<a href="http://museum.php.net/php4/php-4.3.10.tar.gz">
http://museum.php.net/php4/php-4.3.10.tar.gz</a><br>
tar zxvf php-4.3.10.tar.gz <br>
cd php-4.3.10<br>
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-imap<br>
make<br>
make install<br><br>
cp php.ini-dist /usr/local/lib/php.ini<br>
cd&nbsp; /usr/local/apache2/<br>
wget
<a href="ftp://$TEMPLATE/configure_ser_server/configfiles/httpd.conf">
ftp://$TEMPLATE/configure_ser_server/configfiles/httpd.conf</a> <br><br>
#vi /usr/local/apache2/conf/httpd.conf<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddType
application/x-httpd-php .php .phtml<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LoadModule php4_module
libexec/libphp4.so<br>
#<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modify the index.html line
and add index.php to the list <br>
#<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Listen 81<br><br>
/usr/local/apache2/bin/apachectl start<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you refused to install
PHP. You will need this for serweb. \n&quot;<br>
fi<br><br>
echo &quot;------&nbsp; PHP 4.xx -------------------&quot;<br>
printf &quot;Do you want to INSTALL PHP 4.xx, If you dont install this
then DONT complain if your serweb doesnt work (Y/N)?&quot;<br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then <br><br>
cd /usr/local/src/<br><br>
wget
<a href="http://ftp.iptel.org/pub/serweb/serweb-0.9.6.tar.gz">
http://ftp.iptel.org/pub/serweb/serweb-0.9.6.tar.gz</a><br><br>
tar zxvf serweb-0.9.6.tar.gz<br><br>
mv serweb-0.9.6 serweb<br>
# next few line have been taken care of httpd.conf in apache
installation.<br><br>
#vi /usr/local/apache2/conf/httpd.conf<br><br>
#Alias /serweb &quot;/usr/local/serweb/html/&quot;<br><br>
#&lt;Directory &quot;/usr/local/serweb/html&quot;&gt; <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options None<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
#&lt;/Directory&gt;<br><br>
cd /usr/local/serweb/config<br><br>
#vi config*<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modify all config files are per your
env. <br><br>
#edit:<br>
#vi /usr/local/etc/ser/ser.cfg<br>
#fifo_mode=666<br><br>
#Send daily missed calls<br>
#Crontab line:<br>
#5 0 * * * /usr/local/bin/php
/usr/local/serweb/scripts/cron_job/send_daily_missed_calls.php<br><br>
#Server monitoring <br>
#Crontab line:<br>
#* * * * * /usr/local/bin/php
/usr/local/serweb/scripts/cron_job/read_ser_moni.php<br><br>
else<br>
printf &quot;OK YOU did not Pressed Y that means you refused to install
PHP. You will need this for serweb. \n&quot; <br>
fi<br><br>
<br>
echo &quot;------ DIALIP_ADMIN -------------------&quot;<br>
printf &quot;Do you want to INSTALL DIALUP_ADMIN (Y/N)?&quot;<br>
read X<br><br>
if [ &quot;x$X&quot; == &quot;xY&quot; ]; then<br><br>
cd /usr/local/src/ <br>
wget
<a href="http://nchc.dl.sourceforge.net/sourceforge/dialup-admin/dialup_admin-1.62.tar.gz">
http://nchc.dl.sourceforge.net/sourceforge/dialup-admin/dialup_admin-1.62.tar.gz</a>
<br><br>
tar zxvf dialup_admin- 1.62.tar.gz<br>
mv dialup_admin /usr/local/radiusadmin<br><br>
#vi /usr/local/apache2/conf/httpd.conf<br><br>
#Alias /radius &quot;/usr/local/radiusadmin/htdocs/&quot;<br><br>
#&lt;Directory &quot;/usr/local/radiusadmin/htdocs&quot;&gt; <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options None<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
#&lt;/Directory&gt;<br><br>
#cd /usr/local/radiusadmin/sql<br>
#&nbsp;&nbsp; import all sql queries to radius database <br>
#cd /usr/local/radiusadmin/conf<br>
#&nbsp;&nbsp; modify config files<br><br>
<br>
**********************<br><br>
<br>
On Dec 10, 2007 9:15 PM, ram
&lt;<a href="mailto:talk2ram@gmail.com">talk2ram@gmail.com </a>&gt;
wrote:<br>

<dl><br><br>

<dd>On Dec 10, 2007 11:02 PM, Jai Rangi
&lt;<a href="mailto:jprangi@gmail.com">jprangi@gmail.com</a>&gt;
wrote:<br>

<dl>
<dd>Preparing Kickstart file is a good idea. <br>

<dd>How about running a post installation script in the kickstart file.
We have done this a lots on time in FC*. The process should be something
like this, <br>

<dd>1. Build a default kickstart file that will install all the required
packages for all the ser components. <br>

<dd>2. The kickstart file have an option to run a post installation
script. <br>

<dd>3. Now we need to have one zip file of all the components we want to
install related to ser. (ser, werbwer, sems, sipp, sppsak etc). That file
can be placed either on the CDs or can be downloaded from somewhere. All
the components can be packaged in the one zip file of they can be
downloaded separately. <br>

<dd>4. The script can be interactive. <br><br>

</dl>
<dd>&nbsp;<br>

<dd>&nbsp;<br>

<dd>yes that will be the idea, for the CD install<br>

<dd>&nbsp;<br>

<dd>after install of OS, we can run post install script to compile rest
all required for <br>

<dd>SER ( or compile already for the same OS Distro and move them
directly to the respective Directory)<br>

<dd>&nbsp;<br>

<dd>&nbsp;<br>

<dl><br>
<br>

<dd>BTW I have a small postinstallation shell script like that, and I can
share that. <br><br>

</dl>
<dd>&nbsp;<br>

<dd>post to group, may be if require people may use.<br>

<dd><font color="#888888">&nbsp;<br>

<dd>ram<br>

<dl><br><br>

<dd>-Jai</font> <br><br>
<br><br>

<dd>On Dec 10, 2007 3:42 AM, SIP &lt;<a href="mailto:sip@arcdiv.com">
sip@arcdiv.com</a>&gt; wrote:<br>

<dl>
<dd>Greger V. Teigre wrote: <br>

<dd>&gt; [removed sems, semsdev, and serdev from cc]<br>

<dd>&gt;<br>

<dd>&gt;<br>

<dd>&gt; SIP wrote:<br>

<dd>&gt;&gt; Something I noted about the project.&nbsp; While I am all
for a virtual image<br>

<dd>&gt;&gt; for testing purposes and getting things up and running while
we're <br>

<dd>&gt;&gt; creating this project, I think the ultimate goal should be
something<br>

<dd>&gt;&gt; like an ISO that's ready to go on a server. There are many
of us in the<br>

<dd>&gt;&gt; systems world who have not bought into the whole
virtualisation <br>

<dd>&gt;&gt; marketing gimmick when it comes to system deployment, and
for the casual<br>

<dd>&gt;&gt; home user who's less comfortable with using VMs for an
actual production<br>

<dd>&gt;&gt; system (which is, to be honest, a lot of people), it might
be easier in <br>

<dd>&gt;&gt; the long term to get everything the way we want it and then
make an ISO<br>

<dd>&gt;&gt; that's ready to drop onto whatever machine with all the
components we need.<br>

<dd>&gt;&gt;<br>

<dd>&gt; Ok. When you say &quot;ISO that's ready to drop onto&quot;, do
you have a <br>

<dd>&gt; particular procedure in mind?<br>

<dd>&gt;<br>

<dd>&gt; g-)<br><br>

<dd>Something like taking a kickstart file and making an installable
livecd<br>

<dd>from it (something similar to the LiveCD berlios project). I don't
KNOW <br>

<dd>of one that works to create installable ISOs in CentOS, but I'm
sure<br>

<dd>there must be... somewhere... maybe....?<br><br>

<dd>N.<br>

<dd>_______________________________________________<br>

<dd>Serusers mailing list<br>

<dd><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<br>

<dd>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" eudora="autourl">
http://lists.iptel.org/mailman/listinfo/serusers</a>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" eudora="autourl">
 </a><br><br>

</dl><br><br>

<dd>_______________________________________________<br>

<dd>Serusers mailing list<br>

<dd><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<br>

<dd>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" eudora="autourl">
http://lists.iptel.org/mailman/listinfo/serusers</a><br><br>

</dl><br>

</dl><br><br>
<pre>


_______________________________________________
Serusers mailing list
<a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" eudora="autourl">
http://lists.iptel.org/mailman/listinfo/serusers</a>
&nbsp; </pre><font face="Courier New, Courier"></font></blockquote><br>
_______________________________________________<br>
Serusers mailing list<br>
Serusers@lists.iptel.org<br>
<a href="http://lists.iptel.org/mailman/listinfo/serusers" eudora="autourl">
http://lists.iptel.org/mailman/listinfo/serusers</a></blockquote></body>
</html>