Install Process for SuSE

FreePBX 2 has been tested with SuSe LES 9 and SuSe 10.

In reality seems fairly solid with not a lot of work needing to be
done to run FreePBX. Mainly check that you have DB (installable via
PEAR if required) and PHP4-GETTEXT (available as part of the SUSE
install) installed. If you have any PHP problems check that you have
the line include_path = ".:/usr/share/php" in /etc/php.ini. (The '.:' is the important bit)

To install DB, or if you aren't sure whether you have it installed, you can use pear. pear list will show a list of installed packages. To install DB either run pear install DB
on the command line or visit http://pear.php.net/package/DB and
download the latest stable version, 1.7.6 at present. A pear install
should download it and install it but it will complain about any
dependancies it needs and had a tendancy to fail on my system due for
this exact reason. The best way I found was to download the file onto
my SuSe? system and run pear install -n <location/filename>
manually. This tells pear to ignore any dependancies, as otherwise it
will probably complain about pear itself! Once finished you should have
DB.php and a DB directory in /usr/share/php.

When installing FreePBX remember that the webserver root is
different to the one defaulted to in the install_amp script. Your
webserver root should be /srv/www/htdocs so use that as the root and a
bit of common sense to change the panel and cgi-bin paths.

No other file changes should be required to get FreePBX working.

Comments

alpha_wall's picture

These instructions where very useful but missed a few of the steps to make Freepbx work on openuse

Download the latest asterisk rpm
if you try to install it will fail with some dependencies :

Install from Yast
apache2
mysql
per
php
and number of other I don't remember

try to install asteris rpm and it will faill with some packages not availabel in Suse I did run an RPM search and found all the packages her a summary of what I had to install
dahdi-tools
dahdi-tools-devel
libiksemel3
libnewt
libpri
libri-devel
newt
slang
speex
after this I was able to install asterisk following the install file in the asterisk download

To install freepbx I had to install the following rpm packages not found in yast
php5-pear-db
php5-posix
for the rest follow the install instructions

Hope this helps other new users who want to run it on opensuse

youness's picture

Good news :

You can now install Asterisk on OpenSUSE 11.2 with a simple click, go to http://software.opensuse.org/search and search for "asterisk", and click on "Click Install" that's all.

;)