Installing MiRTA PBX: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 11: Line 11:
* Install the system by running
* Install the system by running
<pre>./installMirtaPBX.sh</pre>
<pre>./installMirtaPBX.sh</pre>
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
<pre># getenforce
Enforcing
# setenforce 0
# getenforce
Permissive
</pre>
Move in /var/www/html/pbx and start by configuring include/db.inc.php copying from include/db.inc.php.sample
# cd /var/www/html/pbx
# 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

Revision as of 17:43, 3 August 2016

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