As promised, I write the steps to install the latest version of freepbx (2.7.0) in sme smeserver, version 7.4
- The first step is to upgrade the current kernel version using the procedure written by VIP-ire ( thanks again for your help ):
"yum --enablerepo=smeupdates-testing update kernel kernel-smp"
Now we need to reboot the sistem.
- Install linux-dahdi-kmdl from smecontribs
"yum install --enablerepo=smecontribs linux-dahdi-kmdl-$(uname -r)"
signal-event post-upgrade;signal-event reboot
- Install freepbx from smecontribs
"yum install --enablerepo=smecontribs smeserver-freepbx"
signal-event post-upgrade;signal-event reboot
- Update freepbx
signal-event freepbx-update
There is a problem with the installation script of freepbx. To work properly we need 2 databases, asteriskcdrdb and freepbxdb. The 2 databases are created but empty. The script does not create the tables.
- Create the necessary tables
Find the mysql installations scritps of freepbx, and execute them.
Two scripts are located in the directory /usr/share/freepbx/sources/freepbx-2.5.1/SQL
Go to this folder and at the prompt command type:
mysql freepbxdb < ./newinstall.sql
mysql asteriskcdrdb < ./cdr_mysql_table.sql
These two commands create the necessary tables in the databases.
At this time we have installed freepbx and we can access through the server-manager menu, but there's no modules installed. Because this freepbx version is too old, we cannot update it using the Module Admin option.
Now, we have to update freepbx.
- From command prompt:
cd /usr/src/
wget
http://mirror.freepbx.org/freepbx-2.7.0.tar.gztar zxvf freepbx-2.7.0.tar.gz
cd freepbx-2.7.0
./start_asterisk start # for upgrades use: amportal start
./install_amp
This is the final step to upgrade freepbx. Now, we have the last freepbx version installed and we can go to Module Admin, from freepbx admin menu and install all the necessary modules.
Finally, I hope you excuse my English.