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:
reboot, and verify the selinux status by running 'sestatus'. It should say:
SELinux did not disable!
Generally /etc/sysconfig/selinux is linked to /etc/selinux/config but in some cases they are separate files. If the above steps do not disable selinux you will need to perform one extra step:
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config
Update Your System
Install Additional Required Dependencies
IPTables
Keeping IPTables turned off indefinitely is strongly discouraged. You will incur the wrath of high fees and hackers
You must disable the default iptables. You can re-enable it later, once you have made the appropriate changes. Information on iptables can be found with a quick Google search. If iptables is left running, it will (at very least) block you from accessing the web interface.
See the current status:
Disable iptables:
Stop the service (this skips rebooting again):
Auto Start MySQL
You must have mysql running for freepbx to operate normally. You need to set it to start at boot time. with the following command:
Then start mysqld if you don't plan on rebooting during the installation phase:
Auto Start Apache
You will want Apache running, so you can access the FreePBX admin interface, You need to set it to start at boot time. with the following command:
Then start apache if you don't plan on rebooting during the installation phase:
Install PearDB
You may receive a warning:
At this time it is safe to ignore that message
Reboot server
Install Dependencies for Google Voice (If needed/wanted)
Install iksemel
Add the Asterisk User
Install and Configure Asterisk
Download Asterisk source files.
Compile and install DAHDI and LibPRI
If you don't have any physical hardware you don't need to run these commands, however, it is still suggested to compile the modules, to allow you to add hardware later.
Compile and install pjproject
If you are doing this on a 32 bit system, please note that you MUST set the following during configure:
Compile and Install jansson
If you are doing this on a 32 bit system, please note that you MUST set the following during configure:
Compile and install Asterisk
If you are doing this on a 32 bit system, please note that you MUST set the following during configure:
You will be prompted at the point to pick which modules to build. Most of them will be enabled, but if you want to have MP3 support, you need to manually turn on 'format_mp3' on the first page.
After selecting 'Save & Exit' you can then continue
Install Asterisk-Extra-Sounds
Note that this installs the (8khz) 'wav' soundfiles and G722 (High Definition 'Wideband') audio.
Set ownership permissions
If you are doing this on a 32 bit system, please note that you MUST set the following during configure:
A few small modifications to Apache.
Install and Configure FreePBX
Download and extract FreePBX.
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 13!
Install and Setup Commercial Modules
[Optional] Additional Installation Steps
If you wish to use Commercial Modules you will need to perform the additional steps below.
Enable the FreePBX Commercial yum repos
yum clean all to clean out yum cache so it will find out new RPMs
yum install needed RPMs for Commercial Modules
Ensure you have the right mirrors to download and obtain commercial modules
No hay comentarios:
Publicar un comentario