Let’s put aside the debate over Red Hat CentOS licensing and the GPL for a moment and talk about everyone’s favorite party. And we confess up front to being big fans of Patrón tequila. But let’s suppose for a moment that the Patrón family added some fine print to the label on their tequila bottles that said you cannot distribute margaritas with Patrón tequila and claim they are made with genuine Patrón tequila because the drink is no longer pure Patrón. In other words, for your Margaritaville invitations, you now have to state that each invitee BYOB, and you’ll provide the mixers and ice. WOW! What a party!

So that’s where we find ourselves in the current CentOS standoff with Red Hat. To demonstrate just how silly this entire trademark gimmick is, today we’re going to show you how to Bring Your Own CentOS platform and build a genuine PBX in a Flash server with Asterisk and FreePBX in about the same time as in the good ol’ days. When you’re finished you’ll have exactly the same PBX in a Flash server running on a genuine CentOS platform. Have we diluted CentOS or the CentOS brand? Not at all. In fact, we’ve made the exact same margarita! What this little experiment demonstrates is the real motivation behind the Red Hat licensing restrictions which have little or nothing to do with brand dilution.

Creating the Base CentOS Platform for PBX in a Flash

We’re not doing anything special here. In fact, you can build your base CentOS platform for PBX in a Flash on a standalone server, on a virtual machine of your choice, or in the cloud using a provider such as Amazon or RentPBX.

Start by downloading the 32-bit or 64-bit CentOS 6.5 minimal install ISO. You can do exactly the same thing using Scientific Linux if you prefer. Go through the usual drill of preparing an installer from the ISO. Burn the ISO to a USB Thumb Drive or a CD/DVD using a Mac or Windows machine. Then create your CentOS 6.5 platform on the hardware of your choice.

By default, neither CentOS nor Scientific Linux installs with network connectivity enabled. This is one of the primary reasons that we always have customized CentOS for use with PBX in a Flash. After performing a minimal OS install, log in as root and issue the following commands to prepare your server for PBX in a Flash:

sed -i 's|no|yes|' /etc/sysconfig/network-scripts/ifcfg-eth0
ifup eth0
yum -y install wget nano

Creating a PBX in a Flash Server

Now you’re ready to make a margarita. Just download the PIAF3 Installer and run it. It works exactly as it always has. The installer is plain text so feel free to customize it to meet your own requirements. If you need the complete PIAF installation tutorial, jump to this link. Party on!

cd /root
wget http://pbxinaflash.com/piaf3-install.tar.gz
tar zxvf piaf3-install.tar.gz

Originally published: Tuesday, March 18, 2014

Need help with Asterisk? Visit the PBX in a Flash Forum.


Special Thanks to Our Generous Sponsors

FULL DISCLOSURE: 3CX, RentPBX, Amazon, Vitelity, DigitalOcean, Vultr and others provide financial support to Nerd Vittles and our open source projects through advertising or referral revenue. We’ve chosen these providers not the other way around. Our decisions were based upon their corporate reputation and the quality of their offerings and their pricing. Our technology recommendations are reached independently of financial considerations except in situations in which comparable products at comparable pricing are available from multiple sources. In this limited case, we support our sponsors because our sponsors support us.

Awesome Vitelity Special. Vitelity has generously offered a terrific discount for Nerd Vittles readers. You now can get an almost half-price DID from our special Vitelity sign-up link. If you’re seeking the best flexibility in choosing an area code and phone number plus the lowest entry level pricing plus high quality calls, then Vitelity is the hands-down winner. Vitelity provides Tier A DID inbound service in over 3,000 rate centers throughout the US and Canada. When you use our special link to sign up, Nerd Vittles gets a few shekels down the road to support our open source development efforts while you get an incredible signup deal as well. The going rate for Vitelity’s DID service is $7.95 a month which includes up to 4,000 incoming minutes on two simultaneous channels with terminations priced at 1.45¢ per minute. Not any more! For our users, here’s a deal you can’t (and shouldn’t) refuse! Sign up now, and you can purchase a Tier A DID with unlimited incoming calls and four simultaneous channels for just $3.99 a month. To check availability of local numbers and tiers of service from Vitelity, click here. NOTE: You can only use the Nerd Vittles sign-up link to order your DIDs, or you won’t get the special pricing! Vitelity’s rate is just 1.44¢ per minute for outbound calls in the U.S. There is a $35 prepay when you sign up. This covers future usage. Any balance is refundable if you decide to discontinue service with Vitelity.

​​3CX is a software PBX that’s easy to install & manage. It includes integrated softphones, WebRTC conferencing and essential add-ons out of the box, at no additional cost. Try the free edition at www.3cx.com. Better yet, download the PIAF5 ISO powered by 3CX. Free version includes support for 8 simultaneous calls with a SIP trunk.

  • Run on Premise or in the Cloud, on Windows and now on Linux
  • Softphones for iOS, Android, Win & Mac
  • Easy install, backup & restore, version upgrades
  • Automatically configures IP Phones, SIP Trunks & Gateways

  • RentPBX, a long-time partner and supporter of PIAF project, is offering generous discounts for Nerd Vittles readers. For all of your Incredible PBX hosting needs, sign up at www.RentPBX.com and use code NOGOTCHAS to get the special pricing. The code will lower the price to $14.99/month, originally $24.99/month. It’s less than 50¢/day.

    Some Recent Nerd Vittles Articles of Interest…

    Be Sociable, Share!


    This article has 1 comment

    1. Ward,

      I have been following your project for some time now, since the beginning of PIAF 2.x, and I must say that out of all the articles I have read here- this is my favorite! LOL. Two reasons why:

      (1) It is the most professional manner I have ever seen one entity tell another to f**k off, a HUGE round of applause and bravo for that- I can take many lessons from you there LOL

      (2) The use of this fictional Patron and margarita making scenario as a euphemism for this CentOS debacle is absolutely priceless.

      Thank you for the work that you and your team do, it has saved my (very) small business a lot of (very) important dollars!

      Cheers and Best Regards,