FreePBX V3: Difference between revisions

From Alpine Linux
(Created page with '== Set up Freepbx V3 on Alpine Linux == This document will be a quick c/p guide to setup freepbx v3 (freeswitch support) on Alpine linux. What we will setup is the following: *...')
 
(Redirect to main FreePBX page. This page is useless as both the Alpine version and FreePBX versions mentioned are long since unsupported.)
Tag: New redirect
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Set up Freepbx V3 on Alpine Linux ==
#REDIRECT [[FreePBX]]
 
This document will be a quick c/p guide to setup freepbx v3 (freeswitch support) on Alpine linux. What we will setup is the following:
 
* Lighttpd with PHP using FastCGI
* Postgresql
* Freepbx V3
* Freeswitch
 
== Install lighttpd, PHP, subversion and postgresql ==
 
apk add lighttpd php php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-pdo php-pdo_pgsql  php-soap php-xmlrpc php-posix php-mcrypt php-gettext subversion  postgresql postgresql-client
 
== Configuring Lighttpd==
 
'''Edit lighttpd.conf'''
 
nano /etc/lighttpd/lighttpd.conf
 
Uncomment lines:
 
"mod_rewrite",
"mod_redirect",
 
include "mod_cgi.conf"
 
Change the base server root folder
 
#server.document-root = var.basedir + "/htdocs"
server.document-root = "/etc/freepbx-v3"
 
 
== Installing FreePBX ==
 
cd /etc
svn co http://www.freepbx.org/v3/svn/trunk/ freepbx-v3/
cd /etc/freepbx-v3
chmod 755 preinstall.sh
./preinstall.sh
 
'''Changing some permissions'''
 
chown lighttpd:lighttpd /etc/freepbx-v3/freepbx/config/
chmod 777 -R /etc/freepbx-v3/
 
== Installing FreeSwitch ==
 
'''Add Bakcports Repositories'''
 
cp /etc/apk/repositories /etc/apk/repositories.old
echo -e "http://build.alpinelinux.org:8009/backports/1.10/" >> /etc/apk/repositories
 
'''Installing Freeswitch '''
 
apk add freeswitch -U --allow-untrusted
 
'''Removing Bakcports Repositories'''
 
cp /etc/apk/repositories.old /etc/apk/repositories
rm /etc/apk/repositories.old
 
'''Changing some permissions'''
 
chown lighttpd:lighttpd /etc/freeswitch/
chmod 777 -R /etc/freeswitch/
 
== Starting ==
'''Starting http and sql server and adding to boot'''
 
/etc/init.d/postgresql setup
/etc/init.d/postgresql start && rc-update add postgresql default
/etc/init.d/lighttpd start && rc-update add lighttpd default
 
Browse
 
http://FREEPBX_IP_NUMBER/installer.html
 
Accept Terms and Conditions
Next
Select pqsl as database server, '''freepbx''' as database name, '''postgres''' as user,''' no password'''
 
Set System Defaults
Next
Create Main Administrator
Next
Set the Conf Directory: to: /etc/freeswitch
Next
In the Packages page select the packages you want to install
Next
Ready to Install
Next
 
And wait until the installer finish the installation
 
When Installation Complete,click on: '''Click here to use FreePBX 3.0!'''
 
EOF

Latest revision as of 05:51, 3 September 2023

Redirect to: