Installing MiRTA PBX: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
Move in /var/www/html/pbx and start by configuring include/db.inc.php copying from include/db.inc.php.sample
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
<pre># cd /var/www/html/pbx
# cp include/db.inc.php.sample include/db.inc.php
# cp include/db.inc.php.sample include/db.inc.php</pre>


Edit the include/db.inc.php and fill in with the mtpbxname and mtpbxkey values provided
Edit the include/db.inc.php and fill in with the mtpbxname and mtpbxkey values provided
Upgrade the database to the basic version:
<pre># php dodbupgrade.php</pre>
There will be some errors and notice, just ignore them. Now convert the database to UTF8.
<pre># cd protected
# php convert_to_utf8.php</pre>

Revision as of 15:22, 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

# 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

Upgrade the database to the basic version:

# php dodbupgrade.php

There will be some errors and notice, just ignore them. Now convert the database to UTF8.

# cd protected
# php convert_to_utf8.php