Sounds good,
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.
************************
#!/bin/sh
# Need to add /bin/sh path
# This script will install the softwares required to build softswitch.
# Sysrequirements FC5, DELL 1950,
# Jai
# 12/11/06
HOSTNAME=`hostname`
TEMPLATE=
192.168.1.1
if [ "`id -u`" != "0" -o `hostname` != "$HOSTNAME" ]; then
printf "NEED TO BE ROOT AND TO RUN ON $HOSTNAME\n"
exit 0
fi
echo "You are ROOT on Make sure you know what are you doing,
Press ENTER to continue"
read
echo "Server name = $HOSTNAME"
echo "FTP Server = $TEMPLATE"
echo "Press ENTER to start"
read
printf "PROCEEDING WITH INSTALLATION OF Softswitch on ${HOSTNAME} ...\n\n"
printf "ARE YOU SURE YOU WANT TO CONTINUE (Y/N)?"
read X
if [ "x$X" != "xY" ]; then
printf "aborting. Press Y or N \n"
exit 0
fi
printf "\n"
mkdir //home/switch
ln -s /home/switch /usr/local/
cd /usr/local/src
echo "------INSTALLING freeradius -----------------------------"
printf "Do you want to INSTALL FREERADIUS (Y/N)?"
read X
if [ "x$X" == "xY" ]; then
cd /usr/local/src/
wget ftp://ftp.freeradius.org/pub/radius/old/freeradius-1.1.2.tar.gz
tar zxvf freeradius-1.1.2.tar.gz
cd freeradius-1.1.2
./configure
make
make install
#cd ..
echo "enable digest auth in radiusd.conf, configure clients.conf, create radius db and import tables."
else
printf "OK YOU Pressed N that means you don't want free radius. No Problem \n"
fi
echo "------ radius client lib -----------------------------"
printf "Do you want to radius client lib (Y/N)?"
read X
if [ "x$X" == "xY" ]; then
cd /usr/local/src/
wget http://download.berlios.de/radiusclient-ng/radiusclient-ng-0.5.2.tar.gz
tar zxvf radiusclient-ng-0.5.2.tar.gz
cd radiusclient-ng-0.5.2
./configure
make
make install
#vi /etc/ld.so.conf
# /usr/local/lib
cat "/usr/local/lib" > /etc/ld.so.conf.d/radius-
i386.conf
ldconfig
cd ..
else
printf "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"
fi
echo "------ MEDIAPROXY -------------------"
printf "Do you want to Mediaproxy (Y/N)?"
read X
if [ "x$X" == "xY" ]; then
cd /usr/local/src/
wget
http://mediaproxy.ag-projects.com/old/mediaproxy-1.4.2.tar.gz
tar mediaproxy-1.4.2.tar.gz
mv mediaproxy /usr/local/mediaproxy
#cp mediaproxy.ini.sample mediaproxy.ini
#vi mediaproxy.ini
# edit the options as per our envi.
cd /usr/local/mediaproxy/
wget ftp://$TEMPLATE/configure_ser
On Dec 10, 2007 11:02 PM, Jai Rangi <jprangi@gmail.com> wrote:
Preparing Kickstart file is a good idea.
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,
1. Build a default kickstart file that will install all the required packages for all the ser components.
2. The kickstart file have an option to run a post installation script.
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.
4. The script can be interactive.yes that will be the idea, for the CD installafter install of OS, we can run post install script to compile rest all required forSER ( or compile already for the same OS Distro and move them directly to the respective Directory)
BTW I have a small postinstallation shell script like that, and I can share that.post to group, may be if require people may use.ram
-Jai
On Dec 10, 2007 3:42 AM, SIP < sip@arcdiv.com> wrote:
Something like taking a kickstart file and making an installable livecdGreger V. Teigre wrote:
> [removed sems, semsdev, and serdev from cc]
>
>
> SIP wrote:
>> Something I noted about the project. While I am all for a virtual image
>> for testing purposes and getting things up and running while we're
>> creating this project, I think the ultimate goal should be something
>> like an ISO that's ready to go on a server. There are many of us in the
>> systems world who have not bought into the whole virtualisation
>> marketing gimmick when it comes to system deployment, and for the casual
>> home user who's less comfortable with using VMs for an actual production
>> system (which is, to be honest, a lot of people), it might be easier in
>> the long term to get everything the way we want it and then make an ISO
>> that's ready to drop onto whatever machine with all the components we need.
>>
> Ok. When you say "ISO that's ready to drop onto", do you have a
> particular procedure in mind?
>
> g-)
from it (something similar to the LiveCD berlios project). I don't KNOW
of one that works to create installable ISOs in CentOS, but I'm sure
there must be... somewhere... maybe....?
N.
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers