Installing MiRTA PBX
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
# 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