FreePBX Post Install
Ensure services are starting at boot time and reboot
In order to access and use freePBX we will want both Apache (httpd) and MySQL (mysqld) to be started at boot. You can check to see if they are setup to start at boot by using chkconfig:
chkconfig --list httpd
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
chkconfig --list mysqld
mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Here we see that both httpd and mysqld have off across the board (runlevels). chkconfig can also be used to turn on a particular service, which you would want to do in this case.
chkconfig httpd on
chkconfig mysqld on
You can now access freePBX with your web browser.
Edit Apache web server for GUI access using a port other than 80 (optional):
nano /etc/httpd/conf/httpd.conf
change "Listen 80" to "Listen 8888" or whatever port you want
/etc/rc.d/init.d/httpd restart
Instead of accessing FreePBX by http://xxx.xxx.xxx.xxx
You now access it by http://xxx.xxx.xxx.xxx:8888
Edit Flash Operator panel so that it is accessible from outside the LAN by leaving the "web_hostname" blank. Note: Port 4445 must be forwarded to the asterisk server on the Firewall/Router.
nano +34 /var/www/html/panel/op_server.cfg
web_hostname=
(Ctrl-X>y>ENTER)
The current default settings in FreePBX after a fresh install is no username/password required to access the GUI. To enable the Admin password edit /etc/amportal.conf and change Authtype=none to Authtype=database. The default username/password is admin/admin.
nano +582 /etc/php.ini
change the “max filesize” from 2M to 20M to allow larger music on hold files
NOTE: Flash operator panel v0.28 does not seem to be working on IE browsers with the latest versions of Adobe Flash Player. Until a new version of FreePBX is released with Flash Operator Panel v0.29 or higher you need to update FOP manually. Download v0.29 of op_server.pl and operator_panel.swf to /var/www/html/panel/ replacing the existing files. Then add "use_amportal_conf=1" (without "") to /var/www/html/panel/op_server.cfg under [general]. Do an "amportal restart" and delete your IE browser temp files.