Not Logged in - No Account?
Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.
Appeal for install guide

(updated with Debian Etch install info a few posts down)
With 2.3 just around the corner and promising to bring with it a new world of functionality, I'd be very interested in running it on a platform of my selection.
My past experiences with a core installation of asterisk and freepbx have been unpleasant to say the least.
Any instructions on the net regarding core installs are out of date and only work on older distros and the specific distro it was written for.
As a result, I use the trixbox distribution because without it, I just wouldnt be able to install the software.
This is not due to lack of trying, I tried and tried and tried - it just didnt happen due to dependencies and lack of documentation.
So, to get to the point....
I would like to ask people to take their fave linux distro, install the most basic deployment of it, and perform from source installations of asterisk 1.4 and freepbx 2.3 (when available) this will involve installing mysql and possibly phpmyadmin, etc. It's not a simple task, but once done, and documented it will open freepbx to a larger audience.
It is looking very much like freepbx will serve the needs of a great many users who do not require the additional bells and whistles of the prebuilt distros, so how about making it easy to try?
See, if the only easy way to use it is to install via a distro like trixbox/elastix/adminsparadise, then some people just wont look twice, many do of course.
Personally I'd like to run it on Debian Etch, or Suse 10.2. I know some people run it on BSD and it works well, the point is, for someone coming from to the project from the cold, installing this thing from source is damn near impossible.
What distribution of linux do the developers use to create freepbx? is it centos and is there a reason for centos being the os of choice?
Appeal for install guide
evidence of need for this level of documentation
http//www.freepbx.org/forums/viewtopic.php?t=2504
http//www.freepbx.org/forums/viewtopic.php?t=2505
http//www.freepbx.org/forums/viewtopic.php?t=2496
.... and many many more posts, these are just from this week.
documentation soon....
Such an active forum (
Well, I attacked this over the weekend and I now have a working installation of Asterisk 1.4.x and FreePBX 2.3b1 on Debian Etch.
There's a couple of glitches like the FOP not working and call logs dont seem to show in ARI, but I think that's all just a permissions thing.
I'll be building a quick virtual machine to play with and will do the install again and again to refine the instruction and ensure they are accurate and complete.
In a few days I'll post a complete How-To for this and hopefully others will follow suit with details for their fave distro's
Stay tuned...
distros
OK
You got no response cuz it makes no sense
Each version of linux has it's own path, at any given time this path may change.
By centering the work on a single distro "centos" the teams can build a stable release.
To try and build vanilla install for all favors of linux .....well forget it.
Installing from barebones is not hard, and if you are going to use Asterisk in production you need to toss the ISO install anyway.
The TB / AAH and so on should be looked at as a "Gateway Drug"
It should get you hooked and make you want more.
I see WAY TOO many folks like yourself who really do not have a grasp of the underlaying workings, and any little hippup sends them into a panic.
You NEED to get down and dirty with Asterisk it is a "BETA / BLEEDING EDGE" software which is under going BIG growing pains.
Your learning is just starting...so grab some coffee and get started.
Bubba
The CentOS 4.3 install guide
Hey, bubba,
Hopefully you guys have moved on from CentOS 4.3 for developement. If so, can someone please update the CentOS 4.3 install guide listed under FAQs for CentOS 4.4 or 4.5? I've already found one step which the guide misses. It fails to have the user run 'pear install db' in order to get a pear db for freepbx going.
Thanks.
Undrhil
Appeal for install guide
Gee Bubba, that's a little aggressive.
I fully understand that each distro has its own quirks and oddities, that's the entire reason for the thread.
I agree that a prebuilt distributution should be viewed as an easy way in, and they are, but is that any reason why installing from sources should be made harder than necessary due to lack of information?
There are opensource projects that maintain versions for many distributions, it's not unheard of.
My simple point is that it's NOT easy to just sit down and install freepbx from scratch, entirely because each distro uses it's own ways.
That was my point, make stable instructions for current platforms, put them on a wiki, if people follow them in 6 months and something has changed and they fix it, they edit the wiki. Simple.
Install doc for Debian 4.0
Installing FreePBX on Debian Etch
These are instructions for installing Asterisk & FreePBX on the Debian Etch GNU/Linux operating system. The following has been checked and tested as of July 17, 2007 and will result in a functioning installation.
Stage 1 ââ¬â Operating System installation
Use a Debian Etch netboot CD to install a base system, hit enter at the boot prompt and step through the installation questions answering them to your choice. For the most part, the default options can be accepted. Iââ¬â¢m glossing over the OS installation as the assumption is you already know how to do this.
When the ââ¬ËSoftware selectionââ¬â¢ screen is reached, remove the mark against the ââ¬ËDesktop Environmentââ¬â¢ option as this will install the Gnome desktop and we have no need for this.
Shortly after the base software has installed, the system will reboot and thatââ¬â¢s stage one done with.
Stage 2 ââ¬â Installing the pre-requisites
Now we have a basic Debian installation, we need to install more software onto it to allow the Asterisk and FreePBX to install correctly.
If you have installed from the netboot cd, you will need to edit the /etc/apt/sources.list file and comment out the line referring to that cd.
$ nano /etc/apt/sourcesLook for the line that shows: deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main and add a # to the start of it.
Press CTRL-X to exit and answer YES to the save.
Now update the sources list:
$ aptitude updateNow we need to install some additional software, so type:
Theres a problem here in that both Apache and Apache2 have been installed and started. Lose Apache2:
Edit /etc/apache/httpd.conf and change lines 252 and 253
Also change line 282 from DocumentRoot /var/www/ to DocumentRoot /var/www/html
Save the file
Make the asterisk user and the webroot and restart apache.
Stage 3 ââ¬â Install Asterisk
Download asterisk source files, this example is using the current 1.4 files.
Iââ¬â¢ve not compiled libpri in this example as I didnââ¬â¢t need it.
Stage 4 ââ¬â Install FreePBX
Download FreePBX and make some configuration changes before installation:
The installer will ask questions, answer with defaults (they can be changed later)
Enter your USERNAME to connect to the ââ¬Ëasteriskââ¬â¢ database: asteriskuser
Enter your PASSWORD to connect to the ââ¬Ëasteriskââ¬â¢ database: amp109
Enter the path to use for your AMP root: /var/www/html
The installed failed at this point, but run it again and then type:
$ amportal startDone.
I hope this may help someone, if not - well it helped me :) If you spot any errors of have a correction, please let me know.
Re: Install doc for Debian 4.0
Thanks for doing that Dirk, it worked for me, though I used *1.2 rather than 1.4. These instructions should go on a Wiki somewhere.
Bubba makes a good point, but there are those who want to use Debian for a variety of reasons, and OS software is about choice, after all. Debian maintainers are working on packaging FreePBX, so in the future that might become an option, but I doubt they will keep pace!
I've got to do another install sometime this week, so might be able to post some comments.
Thanks again!
Appeal for install guide
CentOS 5.x + Asterisk 1.4.x + FreePBX 2.3.x
http://powerontech.com/FreePBX-Production-Install-Guide.htm
Still not quite there as I was fighting with some bugs in FreePBX 2.3 b1 on Asterisk 1.4 but it more or less works now.
Appeal for install guide
powerontech, outstanding! Those look like some great instructions, I'm not a centos fan but I've used it when dealing with trixbox and elastix, I liked it enough to go to the effort of using Debian instead :lol:
I'll have a good look through them after my morning coffee but so far it looks like it puts my efforts to shame!
The ball is rolling, FreeBSD anyone?
Appeal for install guide
I like Debian but the reality is that RHEL/CentOS is the default standard OS used/tested with Asterisk and FreePBX and is also the default standard OS supported/tested by many hardware vendors such as 3ware and SuperMicro etc.
So all other preferences/philosophies aside, CentOS is the logical way to go IMHO.
I did go down the Debian road at one time though.
http://powerontech.com/freepbx-on-debian.htm
>I like Debian but the
>I like Debian but the reality is that RHEL/CentOS is the default standard OS used/tested with Asterisk and FreePBX and is also the default standard OS supported/tested by many hardware vendors such as 3ware and SuperMicro etc.
I realize I'm replying to this a bit late, but for what it's worth, I do all my testing/development on Debian, and I always have, since I first started working on FreePBX over two years ago (AMP 1.10.004 I think was the first release that had some of my code in it).
The FreePBX team has never targeted any specific OS, we aim for it to work on as many distros as possible. The only thing we've knowingly done is not fully support BSD - the patches given to us to support BSD broke support on other (linux) distros - CentOS in particular - and obviously we're not going to break one OS to support another, even disregarding the huge install base.
There's also a UbuntuServer guide for installing there, and though I've never tried it exactly, I would be willing to bet the debian instructions are similar, if not identical. Regardless, I've installed on debian from scratch many times without issues (well, except for before I wrote the installer, when AMP just untar'd to / and spread files everywhere.. that was messy and painful..).
---
Greg MacLellan - Core FreePBX Developer
http//freepbx.org - irc.freenode.net #freepbx
---
Greg MacLellan - Core FreePBX Developer
http//freepbx.org - irc.freenode.net #freepbx
Debian
I started with Debian way back..
I soon learned I was fighting a uphill battle, every time I turned around an update broke something.
Centos just makes more sense, and I can not think of a single reason to use a different version of linux, not one.
As the PBX is to be a PBX and not some shared server, the OS really does not matter to the end user.
A stable working with atleast some type of support is what I am building, not sure about those who wish to "change the normal way of doing things"
But Hey some times we NEED a little pain in our lives..
It lets u know u r alive.
GOOD LUCK...you will need it in the long run...
Bubba
Appeal for install guide
I'm with dirk on this - well done dude on getting that Debian documentation out - just what I need, and many others will like it too. Thanks for your time.
It's a shame that folk like bubba miss the point so much - we don't all want to spend our lives with our head burried in linux code trying things out. I have kids, a job and am building a house! I just want freepbx to site on top of an Asterisk install with a reasonable amount of effort. Bubba, you're a nice guy but give people who live in the real world a break, okay?
Appeal for install guide
Hi all,
I think you need to step back a bit and think about what the end result is supposed to be..
If you were talking about a word processor, photo editor or game, then targeting one version of Linux would be dumb, these are applications that people want to be able to use on whatever system they already have.
Asterisk & FreePBX are Server-side applications, not at all like those typical user/desktop apps.
It's running a telephone system where, in the majority of cases, reliability is paramount - if it fails in a big way it could be anything from losing customers to wrecking a business.
RHEL/Centos are workhorse operating systems which are intended to be rock solid stable for business use, and updates are available for many years for each release so frequent re-installs are not required to keep up with security fixes etc.
An operating system like this is the perfect foundation for an overall reliable system.
Centos is certainly not a difficult system to install - from booting a DVD to having a basic Asterisk / FreePBX setup running can be done in a couple of hours, and once you get to that stage and are working via the web interface from another machine, what difference does the flavor of OS make?
Appeal for install guide
Just to say I have worked through Dirk's instructions which worked pretty well. Having problems with the FOP server but that may have more to do with the beta version I am using (2.3.ORC1.1).
Thanks to Dirk for his work.
Appeal for install guide
talkeasy,
Me thinks u r confused..
>>>>>>It's a shame that folk like bubba miss the point so much - we don't all want to spend our lives with our head burried in linux code trying things out.<<<<
Sir I think your post there just support's MY postion.
To build a stable FreePBX system you must start with a stable (and some what supported) distro (yes you can use others BUT they will cause un-needed issues)
Using CENTOS there is nothing to figure out / hack/ tweak...any other version there is a bunch of tweak'n (not talking about rpath here)
with Centos the ease of install is a scripted install which has work across 7 or 8 version's of centos with a few lines of coded added or changed.
You will not see this with ANY OTHER distro linux... period.
I have done more Asterisk installs on more Distro's and hardware than most folks have or will, so I have a good bit of background here.
If we all put our efforts into a single focused efforted we can build a better Server.
and that means sticking a single distro install across the board, not a bunch of disrto's.
Any PRO who builds a Freepbx system for a client using any other distro than Centos, is really doing the customer a dis-service, as this will cause tech support issues, if not some really nasty downtime due to the "wrong version of the OS".
simple facts of life here folks...
Bubba
Appeal for install guide
Free software, Free operating system, Free Choice.
I respect bubba's stance that Centos is used for a reason, I dont have the experience behind me to confirm his words, but I expect that he's actually right.
However, if I want to setup a small asterisk server in my home, for use by two people for the hell of it, then i can pick any operating system I choose. If I want to buy a sun server and run the thing on solaris because I can, then I damn well will!
Business critical, go ahead and use Centos, but there's a whole world out there folks! Use the os of your dreams for hobby work, and if you get it working nice on a lesser platform, go ahead and give hints on how it's done :)
That was sort of my whole point here, I dont want to have a 'best linux distro' discussion because they never end well. Actually, they just never end.
Install guides for alternative distributions is the idea, just because it's fun. 8)
Appeal for install guide
I agree w/ Bubba about CentOS, but how difficult would it be to write a install script which mounts a CD containing just the latest sources and builds everything for you, so we don't have to manually hash everything out?
e.g.) install_freepbx.sh will look to the cd for asterisk-*.tar.gz, and go through an automated routine for everything required on a vanilla install of CentOS.
I'm sure there's a way to determine what distrib the script is being run on, and execute a diff set of commands based on that distrib (yum, apt, etc). SOoooooooooo... all we'd be doing is make sure we have the latest install script & load up the CD w/ all the appropriate files.
Pleaz overlook my ignorance, I just don't know... I mean if I can write scripts to install various apps & hacks, why would this not be doable?
- J
CentOS is the defacto
CentOS is the defacto standard OS just from the fact it is the most used most tested most documented of all the OS's used for Asterisk/FreePBX. That is the reason it's the logical choice. If someone want's to use something like Debian it is up to them. I agree with bubba that it's not the best route in general. That is just my opinion based on the facts.
So, how long will it be
So, how long will it be before Asterisk starts being coded specifically for CentOS? What happens to those who *want* to experiment with other distros at that point? I understand that CentOS is the current defacto distro for Asterisk and this seems to be because of Trixbox using it. The original O'Reilly guide for Asterisk (1st edition) never gave a specific distribution point. The second edition one says they used CentOS 5. Now, again, this is all well and good, but it seems like this is making Asterisk proprietary to CentOS. Asterisk should be developed and documented on as many distros as humanly possible, for the simple fact that next year a new distro might come along which is much more stable and secure than CentOS and the asterisk community might want to adopt it. With the mentality you have here, bubba, this simply won't be possible.
Undrhil
Finite resources
There are a finite number of developers with a finite amount of time...
I'd rather they put their efforts into adding features and fixing bugs than testing every change on who know how many different flavors of Linux.
Using one particular system as a basis for development in no way makes Asterisk proprietry to this, but what it does mean is that anyone should be able to build a system that works as well as the developers own, and any bugs or problems in the system should be reproducable.
None of this prevents any individual building their own system with any combination of software they want, BUT any problems resulting from a different distro using different versions of packages or different directory structures etc. are NOT problems with Asterisk and should not be confused with bugs.
If you want to build a reliable Asterisk system, use Centos.
If you want to experiment and learn for the fun of it, you can use any system you like! - but don't blame others for problems you introduce by your own choices.
I think Centos is the 'default' system as (as far as I know) it has the best pre-release testing and the longest guaranteed update availability of any free Linux distro.
If that changes at some time in the future then the Asterisk developers will presumably change their choice as well.