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 first time you click on the FreePBX Administration link you will be prompted for a username and password. Use admin and admin. CREATE A NEW ADMINISTRATIVE USER IMMEDIATELY AFTER LOGIN.

nano /etc/php.ini
change the “max filesize” from 2M to 20M to allow larger mp3 music on hold files