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. --
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.html1. 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#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
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. --
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#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
----- Original Message ----- From: "Baji Panchumarti" <baji.panchumarti at gmail.com> To: <asterisk-users at 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 ?
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. --
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. > > --