Installing MiRTA PBX

From MiRTA PBX documentation
Revision as of 17:43, 3 August 2016 by Admin (talk | contribs)
Jump to navigation Jump to search

Installing MiRTA PBX is not a piece of cake and the automatic installer has been proven only on CentOS 6 64bit. Even with the automatic installer, a series of manual steps are required.

  • Copy the installer script from pbx/protected/installMirtaPBX.sh to /usr/local/src in your new server
  • Move to /usr/local/src
  • Edit it and check the version, set to 6
  • Check your hostname, change to something more useful if you have set to localhost
  • Upgrade the Kernel by running
./installMirtaPBX.sh Kernel
  • Reboot the server to be sure to have the latest kernel running
  • Move again to /usr/local/src
  • Install the system by running
./installMirtaPBX.sh

If there will be no errors, you'll have asterisk and voipmonitor compiled and installed.

Proceed in checking if SELinux is active and disable it

# getenforce
Enforcing
# setenforce 0
# getenforce
Permissive

Move in /var/www/html/pbx and start by configuring include/db.inc.php copying from include/db.inc.php.sample

  1. cd /var/www/html/pbx
  2. cp include/db.inc.php.sample include/db.inc.php

Edit the include/db.inc.php and fill in with the mtpbxname and mtpbxkey values provided