Re: [asterisk-users] installing * from source

2007-07-10 Thread Baji Panchumarti
 The page has been wiki-fied and looks more usable, thank
 Mat Kovach of NOOSS for the suggestion and enhancements.

 http://nooss.org/wiki/Installing_Asterisk_From_Source

 thnx,

 -baji.

--

  On 7/7/07, Baji Panchumarti  wrote:

 Just a quick listing of tested, and updated, steps from my notes.

 Enjoy !

 http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

 -baji.

 --

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-09 Thread Tzafrir Cohen
On Sun, Jul 08, 2007 at 05:58:18PM -0400, EdPimentl wrote:
 Have you also consider adding adding the uBuntu steps in addition to CentOS?
 -E

Ubuntu steps, due to popular demand:

  apt-get install asterisk zaptel-source
  m-a a-i zaptel

Untested yet. Should work on 7.04 . Bug reports are welcomed.

Same instructions work on Debian Stable.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-08 Thread Dovid B

- Original Message - 
From: Baji Panchumarti [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Saturday, July 07, 2007 7:02 PM
Subject: [asterisk-users] installing * from source


 Just a quick listing of tested, and updated, steps from my notes.

 Enjoy !

 http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

 -baji.


I was actually thinking of creating a script that you download and it preps 
your system for an asterisk install and it does everything for you. It can 
also have an option to run as a cron job and update nightly. The issue is 
that you cant just update some ones phone system if they are using it. So 
you would need like and email or sms sent to the user telling him to run the 
update script. What do others think of this idea ?



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-08 Thread Tzafrir Cohen
On Sun, Jul 08, 2007 at 11:16:09AM +0300, Dovid B wrote:

 I was actually thinking of creating a script that you download and it preps 
 your system for an asterisk install and it does everything for you. It can 
 also have an option to run as a cron job and update nightly. The issue is 
 that you cant just update some ones phone system if they are using it. So 
 you would need like and email or sms sent to the user telling him to run the 
 update script. What do others think of this idea ?

How can you test the new version beforehand to know that it works well?

Solution: prepare a package of Asterisk in your own repository. Build it
on one system when the a new version is released. Test it. Update the
repository after you've done testing.

Updating a system nightly from a repository is a ewll-known problem with
many solid solutions for various requirements. E.g: cron-apt on Debian.


A such a script (in the pkg-voip repository)

  svn update
  
  # if there is a new version: update debian/changelog, and:
  debian/rules get-orig-source
  svn-buildpackage -rfakeroot -uc -us --svn-lintian

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-08 Thread Baji Panchumarti
   On 7/8/07, Dovid B wrote:

  [...]

 I was actually thinking of creating a script that you download and it preps
 your system for an asterisk install and it does everything for you. It can
 also have an option to run as a cron job and update nightly. The issue is
 that you cant just update some ones phone system if they are using it. So
 you would need like and email or sms sent to the user telling him to run the
 update script. What do others think of this idea ?


 Dovid,

 I am not sure about an update script due to reasons that Tzafrir
 and you already pointed out.

 But I think it would be GREAT to have an initial install script that
 just works, period !

 For years installing/updating LAMP (apache, PHP  MySQL on Linux)
 was a manual process, I read somewhere that Ubuntu now has a
 script that does the whole thing for you, and does it correctly.

 -baji.

--

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-08 Thread Tzafrir Cohen
On Sun, Jul 08, 2007 at 10:05:37AM -0400, Baji Panchumarti wrote:
On 7/8/07, Dovid B wrote:
 
   [...]
 
  I was actually thinking of creating a script that you download and it preps
  your system for an asterisk install and it does everything for you. It can
  also have an option to run as a cron job and update nightly. The issue is
  that you cant just update some ones phone system if they are using it. So
  you would need like and email or sms sent to the user telling him to run the
  update script. What do others think of this idea ?
 
 
  Dovid,
 
  I am not sure about an update script due to reasons that Tzafrir
  and you already pointed out.
 
  But I think it would be GREAT to have an initial install script that
  just works, period !
 
  For years installing/updating LAMP (apache, PHP  MySQL on Linux)
  was a manual process, I read somewhere that Ubuntu now has a
  script that does the whole thing for you, and does it correctly.

Installing LAMP  on Linux in the recent years has been something of the
sort of:

  apt-get install apache php mysql

(different package managers, different package names. Those are not even
the actual package names in Debian). This provides you with an
installation that you can easily upgrade on the next apache/php security
hole.

Any server distribution worth its salt has those (and let's not get into
a distro fight in here)

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-08 Thread EdPimentl

Have you also consider adding adding the uBuntu steps in addition to CentOS?
-E

On 7/8/07, Tzafrir Cohen [EMAIL PROTECTED] wrote:


On Sun, Jul 08, 2007 at 10:05:37AM -0400, Baji Panchumarti wrote:
On 7/8/07, Dovid B wrote:
 
   [...]
 
  I was actually thinking of creating a script that you download and it
preps
  your system for an asterisk install and it does everything for you. It
can
  also have an option to run as a cron job and update nightly. The issue
is
  that you cant just update some ones phone system if they are using it.
So
  you would need like and email or sms sent to the user telling him to
run the
  update script. What do others think of this idea ?


  Dovid,

  I am not sure about an update script due to reasons that Tzafrir
  and you already pointed out.

  But I think it would be GREAT to have an initial install script that
  just works, period !

  For years installing/updating LAMP (apache, PHP  MySQL on Linux)
  was a manual process, I read somewhere that Ubuntu now has a
  script that does the whole thing for you, and does it correctly.

Installing LAMP  on Linux in the recent years has been something of the
sort of:

  apt-get install apache php mysql

(different package managers, different package names. Those are not even
the actual package names in Debian). This provides you with an
installation that you can easily upgrade on the next apache/php security
hole.

Any server distribution worth its salt has those (and let's not get into
a distro fight in here)

--
   Tzafrir Cohen
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] installing * from source

2007-07-07 Thread Baji Panchumarti
Just a quick listing of tested, and updated, steps from my notes.

Enjoy !

http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

-baji.

--

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-07 Thread Tzafrir Cohen
On Sat, Jul 07, 2007 at 12:02:41PM -0400, Baji Panchumarti wrote:
 Just a quick listing of tested, and updated, steps from my notes.
 
 Enjoy !
 
 http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

1. If you're recommending Centos4 (and not Centos 5, or Debian), why
install from a full CD? Why not install from their simple server CD?

2. Don't install everything. I know storage is cheap. Download time
isn't. CD downloading time isn't. Upgrading time isn't. And in fact, you
don't need more than 3 or 4 packages to install to for building
Asterisk.

3. The process leaves the system without upgrades. And specifically,
with a kernel package with known security holes. Upgrading that kernel
package later on will break zaptel.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-07 Thread Baji Panchumarti
 Tzafrir,

 You make good suggestions, and you have raised good questions.

 Unfortunately I have yet to install * on CentOS 5, and all I am doing
 here is sharing my notes to facilitate other newbies.

 However my blog is available for you to share your ideas and expertise
 with the community.

 Thank you again for your comments and feedback.

 -baji.

--

   On 7/7/07, Tzafrir Cohen wrote:

 On Sat, Jul 07, 2007 at 12:02:41PM -0400, Baji Panchumarti wrote:

  Just a quick listing of tested, and updated, steps from my notes.
 
  Enjoy !
 
  http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

 1. If you're recommending Centos4 (and not Centos 5, or Debian), why
 install from a full CD? Why not install from their simple server CD?

 2. Don't install everything. I know storage is cheap. Download time
 isn't. CD downloading time isn't. Upgrading time isn't. And in fact, you
 don't need more than 3 or 4 packages to install to for building
 Asterisk.

 3. The process leaves the system without upgrades. And specifically,
 with a kernel package with known security holes. Upgrading that kernel
 package later on will break zaptel.

 --
 Tzafrir Cohen
 icq#16849755jabber:[EMAIL PROTECTED]
 +972-50-7952406   mailto:[EMAIL PROTECTED]
 http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

--

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-07 Thread Baji Panchumarti
   On 7/7/07, Tzafrir Cohen wrote:

 On Sat, Jul 07, 2007 at 12:02:41PM -0400, Baji Panchumarti wrote:

  Just a quick listing of tested, and updated, steps from my notes.
 
  Enjoy !
 
  http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html

 [...]

 3. The process leaves the system without upgrades.
   And specifically, with a kernel package with known
   security holes. Upgrading that kernel package later
   on will break zaptel.

 I have added a yum step to update to current packages
 before proceeding to asterisk installation, running it on my
 machine right now.

 thanks for the tip, I have credited the suggestion to you.

 -baji.

--

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] installing * from source

2007-07-07 Thread Tzafrir Cohen
On Sat, Jul 07, 2007 at 04:18:38PM -0400, Baji Panchumarti wrote:
On 7/7/07, Tzafrir Cohen wrote:
 
  On Sat, Jul 07, 2007 at 12:02:41PM -0400, Baji Panchumarti wrote:
 
   Just a quick listing of tested, and updated, steps from my notes.
  
   Enjoy !
  
   http://asterisk-notes.blogspot.com/2007/07/installing-asterisk-from-source-on.html
 
  [...]
 
  3. The process leaves the system without upgrades.
And specifically, with a kernel package with known
security holes. Upgrading that kernel package later
on will break zaptel.
 
  I have added a yum step to update to current packages
  before proceeding to asterisk installation, running it on my
  machine right now.

But this will give strange errors when trying to load zaptel modules.
Your running kernel is INSTALLED_VERSION but the version of
kernel-headers is UPDATED_VERSION . So I think you will not find
kernel source for your version.

(how nice it is to use Debian and not to have this. BTW: Ubuntu seems ti
defer at that point from Debian: a Kernel upgrade can easily be from a
different kernel release)

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users