
Finally settled on a slightly cumbersome way that’s not 100% automated (you have to manually "load’ the tools CD within the vSphere client). I tested several ways to instal the tools - direct download, different versions of “not fully supported” tools, etc. Spinning up a new test server this morning with 6.12.65-27 and had no issues installing and running VMtools.

Sed -i '1 s/\(\\).*/\1/' /etc/asterisk/asterisk.Not sure what’s happening with your system - not much information, but, we have several FreePBX boxes hosted on VMWare and I install VMware tools on all. We enable the asterisk configuration as it is indicated in /etc/asterisk/nf by removing the trailing characters in the first line:
#HOW TO INSTALL FREEPBX ON VM PASSWORD#
Also we define a password for the asterisk database, eg 4321: Remember that we had used "1234" as the password for our mysql root user. Now we are going to install FreePBX, the graphical interface that we will install to manage Asterisk (now here comes the chaos IMHO the following steps reorganized would be better):Ĭopy nf configuration file to /etc/:Ĭreate the databases. Make appropriate modifications to the asterisk init script to make it available at booting: Here I haven't made any changes on the original script, I've just added the basic information (init info) that should carry every init script: Now create the script that will manage the asterisk service. Xargs wget /bash/}' /usr/sbin/safe_asterisk Install all other dependencies we will need later:Īptitude install -y build-essential linux-headers-`uname -r` openssh-server bison flex apache2 php5 php5-curl php5-cli php5-mysql php-pear php-db php5-gd curl sox libncurses5-dev libssl-dev libmysqlclient15-dev mpg123 libxml2-devĭownload all the asterisk source packages that we are going to compile: Install mysql (You should enter the password for the mysql root user for example 1234): Select Linux Under version select 'Other Linux 3.x kernel 64-bit then click Next. Click I will install the operating system later and click Next. Select Typical on the Welcome to the New Virtual Machine Wizard then click Next.
#HOW TO INSTALL FREEPBX ON VM PRO#
We start with a basic and up to date instance of Lucid Alpha 3 on vmware server. Click on New Virtual Machine in VMWare Workstation Pro 12. Maybe If I had more time for it I would have rewrote the script, but the job is just test a few things on a PBX and after all everything works which is what really matters. But I've resigned myself to commit other steps which maybe should be reorganized or even be rewritten. I've avoided some steps which I disliked.

However there are many changes in the syntax (because I prefer my own syntax). So I've preferred to make this step by step howto using the script as a basis.īasically, the steps in this howto are the same in that script. For example, there is a "chown asterisk:asterisk /var/run"!. That said and after a quick look to the script I've decided to not execute it blindly. At the same time, it would be nice to test Ubuntu 10.04 just one month and a half before its release.įor the test I've created an instance of vmware-server 2.0 where I've installed a basic Ubuntu 10.04 Lucid alpha3 with up to date updates and static IP.įor the installation of Asterisk and its GUI FreePBX I've followed the script pointed out at Ubuntu's wiki which works in Ubuntu 9.10 Hence all credits should go to the script authors. I needed to test some PBX configurations but as I don't have a PBX at hand to use I thought that it would be interesting to test, at last, Asterisk.
