Changes

From SME Server
Jump to navigationJump to search
897 bytes added ,  09:55, 8 September 2017
m
Line 16: Line 16:  
The '''[[okay]]''', '''[[epel|Epel]]''' and '''[[remi]]''' repositories have to be enabled. Please enable these repositories first.
 
The '''[[okay]]''', '''[[epel|Epel]]''' and '''[[remi]]''' repositories have to be enabled. Please enable these repositories first.
 
After enabling the above repositories, one can install Freeswitch and it's dependencies with yum:
 
After enabling the above repositories, one can install Freeswitch and it's dependencies with yum:
  yum install ffmpeg --enablerepo=okey,epel
+
  yum install ffmpeg --enablerepo=okay,epel
  yum install *1.6.14-3* freeswitch-sounds* --enablerepo=okey,epel,remi --exclude=*php*
+
  yum install *1.6.19-1* freeswitch-sounds* --enablerepo=okay,epel,remi --exclude=*php*
 
This must be the above 2 commands, for otherwise there will be a strange dependency issue.
 
This must be the above 2 commands, for otherwise there will be a strange dependency issue.
 +
 +
Or a basic vanilla install:
 +
yum install freeswitch-config-vanilla --enablerepo=okay,epel,remi,smetest
    
{{Note box|If you have installed the '''[[Sogo|SOGo]]''' contrib, you will encounter a dependency issue with libmemcached. There is no resolution yet and your input is welcomed.}}
 
{{Note box|If you have installed the '''[[Sogo|SOGo]]''' contrib, you will encounter a dependency issue with libmemcached. There is no resolution yet and your input is welcomed.}}
Line 61: Line 64:  
* set openbasedir of the Primary to /home/e-smith/files/ibays/Primary/html:/tmp
 
* set openbasedir of the Primary to /home/e-smith/files/ibays/Primary/html:/tmp
    +
===Setup ODBC===
 +
* Install mysql-connector-odbc
 +
yum install mysql-connector-odbc
 +
* create symbolic link
 +
ln -s /usr/lib64/libmyodbc5.so /usr/lib64/libmyodbc.so
 +
Add FusionPBX to /etc/odbc.ini
 +
[fusionpbx]
 +
Description = MySQL connection to 'fusionpbx' database
 +
Driver = MySQL
 +
Database = fusionpbx
 +
Server = localhost
 +
UserName = [mysql fusionpbx db user]
 +
Password = [mysql fusionpbx db password]
 +
Port = 3306
 +
Socket = /var/lib/mysql/mysql.sock
 +
* Test the ODBC connection
 +
isql fusionpbx [fusion db user]
 +
show tables
 +
quit
 +
* Adjust switch.xml and add
 +
<param name="core-db-dsn" value="database:username:password"/>
 +
* Install php-fpm
 +
yum install php-fpm
 +
and create the db service
 +
config set php-fpm set service status enabled
 +
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S90php-fpm
    
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu