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/" target="_blank">
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; 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" target="_blank">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&#39;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" target="_blank">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; /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&#39;t want radius client lib. I don&#39;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" target="_blank">
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;edit the options as per our envi.
<br>cd &nbsp;/usr/local/mediaproxy/<br>wget ftp://$TEMPLATE/configure_ser<div id="1g1m" class="ArwC7c ckChnd">_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" target="_blank">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 ftp://$TEMPLATE/configure_ser_server/ser-0.9.6_bingo.tar.gz<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 ftp://$TEMPLATE/configure_ser_server/configfiles/ser.cfg<br><br>else<br>printf &quot;OK YOU did not Pressed Y that means you don&#39;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" target="_blank">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" target="_blank">
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" target="_blank">
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" target="_blank">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" target="_blank">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 ftp://$TEMPLATE/configure_ser_server/configfiles/httpd.conf
<br><br>#vi /usr/local/apache2/conf/httpd.conf<br># &nbsp; &nbsp; &nbsp; &nbsp;AddType application/x-httpd-php .php .phtml<br># &nbsp; &nbsp; &nbsp; &nbsp;LoadModule php4_module libexec/libphp4.so<br>#<br># &nbsp; &nbsp; &nbsp; &nbsp;modify the index.html line and add index.php to the list
<br>#<br># &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" target="_blank">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;AllowOverride None<br># &nbsp; &nbsp; &nbsp; &nbsp;Options None<br># &nbsp; &nbsp; &nbsp; &nbsp;Order allow,deny<br># &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;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" target="_blank">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;AllowOverride None<br># &nbsp; &nbsp; &nbsp; &nbsp;Options None<br># &nbsp; &nbsp; &nbsp; &nbsp;Order allow,deny<br># &nbsp; &nbsp; &nbsp; &nbsp;Allow from all<br>#&lt;/Directory&gt;<br><br>#cd /usr/local/radiusadmin/sql<br># &nbsp; import all sql queries to radius database
<br>#cd /usr/local/radiusadmin/conf<br># &nbsp; modify config files</div><br><br>**********************<br><br><br><div class="gmail_quote">On Dec 10, 2007 9:15 PM, ram &lt;<a href="mailto:talk2ram@gmail.com">talk2ram@gmail.com
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>
<div class="gmail_quote"><div class="Ih2E3d">On Dec 10, 2007 11:02 PM, Jai Rangi &lt;<a href="mailto:jprangi@gmail.com" target="_blank">jprangi@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Preparing Kickstart file is a good idea. <br>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>1. Build a default kickstart file that will install all the required packages for all the ser components. <br>2. The kickstart file have an option to run a post installation script. <br>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>4. The script can be interactive. </blockquote>
<div>&nbsp;</div>
<div>&nbsp;</div></div>
<div>yes that will be the idea, for the CD install</div>
<div>&nbsp;</div>
<div>after install of OS, we can run post install script to compile rest all required for </div>
<div>SER ( or compile already for the same OS Distro and move them directly to the respective Directory)</div><div class="Ih2E3d">
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><span></span><br><br>BTW I have a small postinstallation shell script like that, and I can share that. 
<br><font color="#888888"></font></blockquote>
<div>&nbsp;</div></div>
<div>post to group, may be if require people may use.</div><font color="#888888">
<div>&nbsp;</div>
<div>ram</div></font><div><div></div><div class="Wj3C7c">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><font color="#888888"><span></span><br><br>-Jai</font> 
<div>
<div></div>
<div><br><br><br>
<div class="gmail_quote">On Dec 10, 2007 3:42 AM, SIP &lt;<a href="mailto:sip@arcdiv.com" target="_blank"> sip@arcdiv.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>Greger V. Teigre wrote: <br>&gt; [removed sems, semsdev, and serdev from cc]<br>&gt;<br>&gt;<br>&gt; SIP wrote:<br>&gt;&gt; Something I noted about the project. &nbsp;While I am all for a virtual image<br>&gt;&gt; for testing purposes and getting things up and running while we&#39;re 
<br>&gt;&gt; creating this project, I think the ultimate goal should be something<br>&gt;&gt; like an ISO that&#39;s ready to go on a server. There are many of us in the<br>&gt;&gt; systems world who have not bought into the whole virtualisation 
<br>&gt;&gt; marketing gimmick when it comes to system deployment, and for the casual<br>&gt;&gt; home user who&#39;s less comfortable with using VMs for an actual production<br>&gt;&gt; system (which is, to be honest, a lot of people), it might be easier in 
<br>&gt;&gt; the long term to get everything the way we want it and then make an ISO<br>&gt;&gt; that&#39;s ready to drop onto whatever machine with all the components we need.<br>&gt;&gt;<br>&gt; Ok. When you say &quot;ISO that&#39;s ready to drop onto&quot;, do you have a 
<br>&gt; particular procedure in mind?<br>&gt;<br>&gt; g-)<br><br></div></div>Something like taking a kickstart file and making an installable livecd<br>from it (something similar to the LiveCD berlios project). I don&#39;t KNOW 
<br>of one that works to create installable ISOs in CentOS, but I&#39;m sure<br>there must be... somewhere... maybe....?<br>
<div>
<div></div>
<div><br>N.<br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org" target="_blank">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank">

http://lists.iptel.org/mailman/listinfo/serusers </a><br></div></div></blockquote></div><br></div></div><br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org" target="_blank">

Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank">http://lists.iptel.org/mailman/listinfo/serusers</a><br><br></blockquote></div></div></div><br>
</blockquote></div><br>