<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tinton</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tinton"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Tinton"/>
	<updated>2026-04-30T14:40:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=FreePBX_V3&amp;diff=9140</id>
		<title>FreePBX V3</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=FreePBX_V3&amp;diff=9140"/>
		<updated>2013-06-13T14:02:59Z</updated>

		<summary type="html">&lt;p&gt;Tinton: /* Upgrading the installation */ updated version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Set up Freepbx V3 on Alpine Linux ==&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
* Lighttpd with PHP &lt;br /&gt;
* Postgresql&lt;br /&gt;
* Freepbx V3&lt;br /&gt;
* Freeswitch&lt;br /&gt;
&lt;br /&gt;
== Upgrading the installation ==&lt;br /&gt;
&lt;br /&gt;
 echo &#039;http://dl-3.alpinelinux.org/alpine/v2.6/main/&#039; &amp;gt;  /etc/apk/repositories&lt;br /&gt;
 apk upgrade -U&lt;br /&gt;
&lt;br /&gt;
== Install lighttpd, PHP, subversion and postgresql ==&lt;br /&gt;
&lt;br /&gt;
 apk add lighttpd php php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-pdo &lt;br /&gt;
 apk add php-pdo_pgsql  php-soap php-xmlrpc php-posix php-mcrypt php-gettext subversion  postgresql postgresql-client&lt;br /&gt;
&lt;br /&gt;
== Configuring Lighttpd==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit lighttpd.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 nano /etc/lighttpd/lighttpd.conf&lt;br /&gt;
&lt;br /&gt;
Uncomment three this lines:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;mod_rewrite&amp;quot;,&lt;br /&gt;
 &amp;quot;mod_redirect&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
 include &amp;quot;mod_cgi.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Installing FreePBX ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make webapps folder&lt;br /&gt;
&lt;br /&gt;
 mkdir /usr/share/webapps/ -p&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/webapps/&lt;br /&gt;
 svn co http://www.freepbx.org/v3/svn/trunk/ freepbx/&lt;br /&gt;
 cd  freepbx&lt;br /&gt;
 chmod 755 preinstall.sh&lt;br /&gt;
 ./preinstall.sh&lt;br /&gt;
&lt;br /&gt;
Changing some permissions&lt;br /&gt;
&lt;br /&gt;
 chown lighttpd:lighttpd /usr/share/webapps/freepbx&lt;br /&gt;
 chmod 777 -R /usr/share/webapps/freepbx&lt;br /&gt;
&lt;br /&gt;
Make symlinks to Freepbx&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/share/webapps/freepbx/ /var/www/localhost/htdocs/freepbx&lt;br /&gt;
&lt;br /&gt;
== Installing FreeSwitch ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing Freeswitch &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
   apk add freeswitch freeswitch-flite freeswitch-sounds-en-us-callie-8000 freeswitch-sample-config&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Changing some permissions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 chown lighttpd:lighttpd /etc/freeswitch/	&lt;br /&gt;
 chmod 777 -R /etc/freeswitch/&lt;br /&gt;
&lt;br /&gt;
== Starting ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Starting http and sql server and adding to boot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/postgresql setup&lt;br /&gt;
 /etc/init.d/postgresql start &lt;br /&gt;
 /etc/init.d/freeswitch start &lt;br /&gt;
 /etc/init.d/lighttpd start &lt;br /&gt;
&lt;br /&gt;
 rc-update add freeswitch default&lt;br /&gt;
 rc-update add postgresql default&lt;br /&gt;
 rc-update add lighttpd default&lt;br /&gt;
&lt;br /&gt;
Browse &lt;br /&gt;
&lt;br /&gt;
 http://FREEPBX_IP_NUMBER/freepbx/installer.html&lt;br /&gt;
&lt;br /&gt;
 Accept Terms and Conditions&lt;br /&gt;
 Next&lt;br /&gt;
 Select pqsl as database server, &#039;&#039;&#039;freepbx&#039;&#039;&#039; as database name, &#039;&#039;&#039;postgres&#039;&#039;&#039; as user,&#039;&#039;&#039; no password&#039;&#039;&#039;&lt;br /&gt;
  &lt;br /&gt;
 Set System Defaults &lt;br /&gt;
 Next&lt;br /&gt;
 Create Main Administrator&lt;br /&gt;
 Next&lt;br /&gt;
 Set the Conf Directory: to: /etc/freeswitch&lt;br /&gt;
 Next&lt;br /&gt;
 In the Packages page select the packages you want to install&lt;br /&gt;
 Next&lt;br /&gt;
 Ready to Install&lt;br /&gt;
 Next&lt;br /&gt;
  &lt;br /&gt;
And wait until the installer finish the installation&lt;br /&gt;
&lt;br /&gt;
When Installation Complete,click on: &#039;&#039;&#039;Click here to use FreePBX 3.0!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
[[Category:Telephony]]&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:SQL]]&lt;/div&gt;</summary>
		<author><name>Tinton</name></author>
	</entry>
</feed>