Installing FreePBX 14 on CentOS 7

Similar documents
Installing FreePBX 13 on CentOS 7

Installing FreePBX 13 on CentOS 6

Installing FreePBX 12 on CentOS 6.5

Installing FreePBX 13 on Debian 8.1

Installing FreePBX 2.11 on Ubuntu Server (Precise Pangolin)

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Install latest version of Roundcube (Webmail) on CentOS 7

CentOS 7 with MariaDB

CentOS 6.7 with Vault MySQL 5.1

Red Hat Ceph Storage 3

GMU Specifications And Installation Procedures Page 1 04/04/08. JBM Gateway Management Utility Server Specifications And Installation Procedures

Installation of Apache OpenMeetings on Centos 7. This tutorial is made based on fresh installations of. CentOS-7-x86_64-Minimal-1708.

ULTEO OPEN VIRTUAL DESKTOP CENTOS 6.0 SUPPORT

Step by Step Guide. BRI Card Installation. (with Asterisk) Version 1.0

SIM Bank Scheduler Server User Manual. (for Version )

Configure 802.1x - PEAP with FreeRadius and WLC 8.3

Installation Guide. 1. Operating System. 2. Zaptel. 3. Asterisk. Asterisk-addons. Asterisk-gui. Asterisk permission. 4. Database. Mysql. 5.

Red Hat Ceph Storage 3

Installation of Apache OpenMeetings on Centos 7. This tutorial is made based on fresh installations of. CentOS-7-x86_64-Minimal-1708.

Automated Installation Guide for CentOS (PHP 7.x)

Self-Hosted Installation Manuals for

Installation Oreka TR on Linux CentOS 7-1

ModSecurity2 Installation, and Configuration

MC100 Series User Manual

Offloading NDO2DB To Remote Server

Bring order into packaging madness. Marcela Mašláňová Supervisor Software Engineer, Red Hat May 2013

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

AWS/LAMP/Wordpress/Bootstrap Extravaganza. I am determined to make this shit fun.

Check the FQDN of your server by executing following two commands in the terminal.

2. Installing OpenBiblio 1.0 on a Windows computer

Linux Administration

Installation of Apache OpenMeetings This tutorial it is bassed on a fresh installation. Fedora-MATE_Compiz-Live-x86_

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

Mysql Server 4.1 Manually Windows 7 Start Service

System Requirements ENTERPRISE

Installation of Apache OpenMeetings This tutorial it is bassed on a fresh installation. Fedora-MATE_Compiz-Live-x86_

HylaFAX Enterprise Web Interface Admin Guide. HylaFAX Enterprise Web Interface Admin Guide

Red Hat System Administration I - RH124

Red Hat Enterprise Linux 7 Getting Started with Cockpit

Installing MediaWiki using VirtualBox

An internal CA that is part of your IT infrastructure, like a Microsoft Windows CA

DINOMI Call Center Module. Quick start guide v 1.1

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

Offloading MySQL to Remote Server

3 Installation from sources

Global-Net 2.0d Quick Installation

If you re the administrator on any network,

Installing FreePBX Official Distro

Tomcat Load Balancing for Progress Application Server for OpenEdge

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018

Configure Sensu and other Actions to Register Clients

Bacula Server Installation and Configuration on Centos 6.2

Many packages require the additional devel packages. See below package. Install EPEL repo by down load the latest RPM for CentOS 6.

Installation of Apache OpenMeetings on Centos This tutorial is made based on fresh installations of. CentOS-6.9-x86_64-LiveDVD.

Red Hat Enterprise Linux Atomic Host 7 Getting Started with Cockpit

Upgradable PRI Card Installation Guide

Orchid Fusion VMS Installation Guide

Red Hat JBoss Web Server 3

FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2

Use Software Collections for PHP 5.6 support on RHEL and CentOS 6 and 7

Orchid Core VMS Installation Guide

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

AsteriskNow IPTables Firewall Configuration

OpenVox Communication Co.Ltd. OpenVox-Best Cost Effective Asterisk Cards

HPE StoreVirtual OS Update Guide

Download and install MySQL server 8 in Windows. Step1: Download windows installer

AX4B. ATCOM Digital Card AX4B/AX2B Product Guide 25/10/2011 Written by Robert.Ao

Overview 1 Preparing for installation 2

Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8

3 Installation from sources

Course 55187B Linux System Administration

L.A.M.P. Stack Part I

Installing Virtualbox Guest Additions Vboxadditions on CentOS 7, Fedora 19 / 20 and RHEL 6.5 / 5.10 on Windows host

Installing Shibbolized Tiqr

RHCSA Rapid Track Course (RH199)

VMware Monitoring Using Unnoc - Setup Instructions

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

Cacti monitoring tool

We want to install putty, an ssh client on the laptops. In the web browser goto:

Administration Dashboard Installation Guide SQream Technologies

LAMP Stack with VirtualHosts On Centos 6.x

AsteriskNow Polycom SoundPoint IP 335 & 550 Provisioning In FreePBX

Configuring Multiple Instances of Railo on Linux

Zend Server Community Edition 5.1. Installation Guide. By Zend Technologies.

Tizen EFL UTC User Guide

COUCHDB - INSTALLATION

ASTPP. Release 3.6. inextrix Technologies Pvt. Ltd

User Manual. op5 System 3.0

Support high-performance business applications with a powerful Dell EMC, Nutanix, and Toshiba solution

OpenEMR Insights Configuration Instructions

WebADM and OpenOTP are trademarks of RCDevs. All further trademarks are the property of their respective owners.

Critical Analysis and last hour guide for RHCSA/RHCE Enterprise 7

Installation Guide Release 3.4

Koha 3 on Centos. We are installing Koha on the newly installed CentOS machine. Open a terminal and log in as root.

Red Hat JBoss Core Services

User Manual op5 System 3.1

Install and Configure Samba - CentOS 7

Nexus Application Development - SDK

4 Installation from sources

Transcription:

Installing FreePBX 14 on CentOS 7 READ FIRST Manual installations of FreePBX is considered an EXPERTS ONLY exercise. This method of installation is enough to get CORE functionality of FreePBX. Non-commercial modules may not function as expected or detailed in the Wiki's. Certain modules and features may require additional software to be installed and configured on the server. **** COMMERCIAL MODULES CANNOT BE INSTALLED ON THIS OS **** **** COMMERCIAL MODULES CANNOT BE INSTALLED ON THIS OS **** Install Centos 7 Initial System Setup Disable selinux Update Your System Add the Asterisk User Firewalld Basic Configuration Install Additional Required Dependencies Install php 5.6 repositories Install php5.6w Install nodejs Enable and Start MariaDB Enable and Start Apache Install Legacy Pear requirements Install Dependencies for Google Voice (if required) Install iksemel Install and Configure Asterisk Download Asterisk source files. Compile and install DAHDI Compile and Install jansson Compile and install Asterisk Set Asterisk ownership permissions. Install and Configure FreePBX A few small modifications to Apache. Download and install FreePBX. That's it! Automatic Startup Install Centos 7 Initial System Setup You MUST run all of these commands as the root user! You MUST disable selinux. selinux can cause strange behavior during the install Disable selinux In /etc/sysconfig/selinux, change the following lines: sed -i 's/\(^selinux=\).*/\selinux=disabled/' /etc/sysconfig/selinux sed -i 's/\(^selinux=\).*/\selinux=disabled/' /etc/selinux/config reboot, and verify the selinux status by running 'sestatus'. It should say:

SELinux status: disabled Update Your System yum -y update yum -y groupinstall core base "Development Tools" Add the Asterisk User adduser asterisk -m -c "Asterisk User" Firewalld Basic Configuration You must open port 80 so that you can access the administration interface firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reload Install Additional Required Dependencies yum -y install lynx tftp-server unixodbc mysql-connector-odbc mariadbserver mariadb \ httpd ncurses-devel sendmail sendmail-cf sox newt-devel libxml2-devel libtiff-devel \ audiofile-devel gtk2-devel subversion kernel-devel git crontabs cronie \ cronie-anacron wget vim uuid-devel sqlite-devel net-tools gnutls-devel python-devel texinfo \ libuuid-devel Install php 5.6 repositories rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7. noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm Install php5.6w yum remove php* yum install php56w php56w-pdo php56w-mysql php56w-mbstring php56w-pear php56w-process php56w-xml php56w-opcache php56w-ldap php56w-intl php56wsoap

Install nodejs curl -sl https://rpm.nodesource.com/setup_8.x bash - yum install -y nodejs Enable and Start MariaDB You must have MariaDB running for freepbx to operate normally. It must start automatically, and be running continuously. systemctl enable mariadb.service systemctl start mariadb Now that our MariaDB database is running, we want to run a simple security script that will remove some dangerous defaults and lock down access to our database system a little bit mysql_secure_installation The prompt will ask you for your current root password. Since you just installed MySQL, you most likely won t have one, so leave it blank by pressing enter. Then the prompt will ask you if you want to set a root password. Do not set a root password. We secure the database automatically, as part of the install script. Apart from that you can chose yes for the rest. This will remove some sample users and databases, disable remote root logins, and load these new rules so that MySQL immediately respects the changes we have made. Enable and Start Apache FreePBX uses the Apache web server, so this must be started and running. systemctl enable httpd.service systemctl start httpd.service Install Legacy Pear requirements pear install Console_Getopt Install Dependencies for Google Voice (if required) Install iksemel

wget https://github.com/meduketto/iksemel/archive/master.zip -O iksemelmaster.zip unzip iksemel-master.zip rm -f iksemel-master.zip cd iksemel-master./autogen.sh./configure Install and Configure Asterisk Download Asterisk source files. wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete /dahdi-linux-complete-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar. gz wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-14- current.tar.gz wget -O jansson.tar.gz https://github.com/akheron/jansson/archive/v2.10. tar.gz Compile and install DAHDI If you don't have any physical PSTN hardware attached to this machine, you don't need to install DAHDI (For example, a T1 or E1 card, or a USB device). Most smaller setups will not have DAHDI hardware, and this step can be safely skipped. tar xvfz dahdi-linux-complete-current.tar.gz tar xvfz libpri-current.tar.gz rm -f dahdi-linux-complete-current.tar.gz libpri-current.tar.gz cd dahdi-linux-complete-* all config /libpri-* Compile and Install jansson

tar vxfz jansson.tar.gz rm -f jansson.tar.gz cd jansson-* autoreconf -i./configure --libdir=/usr/lib64 Compile and install Asterisk tar xvfz asterisk-14-current.tar.gz rm -f asterisk-14-current.tar.gz cd asterisk-* contrib/scripts/install_prereq install./configure --libdir=/usr/lib64 --with-pjproject-bundled contrib/scripts/get_mp3_source.sh menuselect You will be prompted at the point to pick which modules to build. Most of them will already be enabled, but if you want to have MP3 support (eg, for Music on Hold), you need to manually turn on 'format_mp3' on the first page. After selecting 'Save & Exit' you can then continue config ldconfig chkconfig asterisk off

Set Asterisk ownership permissions. chown asterisk. /var/run/asterisk chown -R asterisk. /etc/asterisk chown -R asterisk. /var/{lib,log,spool}/asterisk chown -R asterisk. /usr/lib64/asterisk chown -R asterisk. /var/www/ Install and Configure FreePBX A few small modifications to Apache. sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php.ini sed -i 's/^\(user\ Group\).*/\1 asterisk/' /etc/httpd/conf/httpd.conf sed -i 's/allowoverride None/AllowOverride All/' /etc/httpd/conf/httpd.conf systemctl restart httpd.service Download and install FreePBX. wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-14.0- latest.tgz tar xfz freepbx-14.0-latest.tgz rm -f freepbx-14.0-latest.tgz cd freepbx./start_asterisk start./install -n That's it! You can now start using FreePBX. Open up your web browser and connect to the IP address or hostname of your new FreePBX server. You will see the Admin setup page, which is where you set your 'admin' account password, and configure an email address to receive update notifications. We hope you enjoy using FreePBX 14! Automatic Startup Please note you need to set up FreePBX to start asterisk (and it's associated services) on bootup. You can view an example systemd startup script here.