We can’t promise you free sushi, but… one of the key goals of the PBX in a Flash™ project always has been to provide an install option that works reliably with USB thumb drives. And today’s new PIAF thumb drive installer with CentOS 6.4 provides support for every current version of Asterisk® and FreePBX®. In addition, you can build and deploy standalone servers for FreeSwitch™, SugarCRM™, NeoRouter™ VPN, YATE, and OpenFire™ XMPP using our award-winning 32-bit and 64-bit PIAF™ ISOs.
As luck would have it, CentOS followed the RedHat lead and pulled a 180 on the flash drive creation procedure with CentOS 6.4. You’ll recall in the CentOS 6.2 days, booting from a USB flash drive transformed that device into Drive A (sda) during the boot procedure. Well, that was then. Now it’s no longer ass-backwards so the procedure to create flash drive installers is officially different with CentOS 6.4.
As is true with the new PIAF 20645 stand-alone installers, the new flash drive installer performs a two-step installation procedure. During Phase I, CentOS 6.4 is installed after you pick your time zone and a root password. Once CentOS is installed, your server will reboot, display the server’s IP address, and prompt you to login with your new root password. You can do so from the console or via SSH or Putty. Once logged in, you have the option of loading additional drivers or beginning the Phase II installation procedure where you choose your desired version of Asterisk and FreePBX or one of the other supported applications.
The PIAF2 installer then syncs the time on your server to NTP, installs the latest yum updates for CentOS 6.4, installs the versions of Asterisk and FreePBX you selected (HINT: Incredible PBX 11 requires PIAF-Green and FreePBX 2.11) and some other utilities including WebMin, Festival and Flite text-to-speech support for Asterisk, and, of course, the Google Voice GUI which lets you configure PIAF2 to make free calls in the U.S. and Canada until May 2014. Finally the PIAF2 installer patches your system to activate the IPtables firewall for both IPv4 and IPv6 as well as adding Fail2Ban monitoring for Asterisk, SSH, and your Apache web server.
Our 20645 tutorial will walk you through the complete installation process once we have your USB thumb drive set up.
Here’s the 5-minute drill to get a USB thumb drive loaded with the latest and greatest PBX in a Flash ISO. Once you get that far, follow the PIAF 20645 installation tutorial to get your system up and running. In less than an hour, you’ll have a fully functioning, rock-solid reliable PBX that can meet all of your telephony requirements. And, remember, it’s free and always will be™.
Prerequisites. To get everything installed on your USB Flash Drive, you’ll obviously need at least a 1GB Flash Drive. HINT: 2GB flash drives may be cheaper! Next, you’ll need a Windows XP/Vista/7/8 computer on which to set up the thumb drive. On the Windows PC, you’ll need to download and install the latest, greatest version of ISO2USB from SourceForge. We recommend you also download and install the HP Formatting Utility for flash drives. Finally, you’ll need to download either the 32-bit or 64-bit PIAF 18.104.22.168.5 ISO from SourceForge.
Creating USB Flash Drive. Step #1 is to partition and format your USB flash drive as a FAT32 device. Some flash drives are temperamental about the formatting step. We can’t recommend strongly enough using the HP Formatting Utility to make certain you get a reliable, properly formatted thumb drive! Also be careful that you are, in fact, formatting your thumb drive and not your Windows hard disk!
Step #2, once the device is properly formatted, run ISO2USB. You’ll get a screen that looks like what is shown above. Click on the … button to the right of DiskImage ISO and choose the PIAF2 ISO that you downloaded to your Desktop. Make certain that the destination device shown on the bottom line of the display is your USB flash drive. You do not want to accidentally trash your primary drive!
Here’s the tricky part, and it’s not that tricky any more. You need to know the drive names of the devices on the target machine where you ultimately will be using this thumb drive. Try these commands on your target machine using a Linux LIVE CD if you’re unsure: dmesg | grep logical AND dmesg | grep sectors. For most modern machines with IDE drives, the names will be sda, sdb, etc. For older machines, they may be hda, hdb. You’ll know if it doesn’t work. 🙂
In the ISO2USB setup, we recommend you start with the default settings for the Hard Disk Name (sda) and USB Device Name (sdb). For Foxconn hardware and AMD BIOS machines, you may need to use sdc instead of sdb for the USB Device Name. A few other systems use sdd. In all cases, use sda for the Hard Disk Name. As we noted, you’ll know soon enough if you made the wrong choice. Just recreate the thumb drive using the next letter in the alphabet for the USB Device Name. 😉
Once you’ve double-checked your USB destination drive (HINT: the drive size is quite different), choose OK to begin. When the ISO install completes, don’t forget to Eject your USB flash drive before removing it from the Windows PC!
Using the USB Flash Installer. When using the new flash installer, remember that you need to boot your new machine from the thumb drive. On most newer Atom-based computers, you accomplish this by inserting the USB device, turning the machine on, and then pressing F12 during the boot sequence to choose the boot device. You’ll just have to watch the screen of your new computer to see if some other key is used to pull up the boot selection screen. If all else fails, you can adjust the boot sequence in the BIOS settings to boot first from the USB device. If you change your BIOS boot sequence, just remember to remove the USB device when the initial install of CentOS completes and the PIAF reboot sequence begins. If instead you again see the initial PIAF install screen warning you that your disk is about to be erased, then remove the thumb drive and reboot the machine once again. You’re now ready to continue on with the installation procedure. Just follow this link to the PIAF 20645 tutorial.
Where To Go From Here. If you installed PIAF-Green with Asterisk 11 and FreePBX 2.11 (our recommended platform for production use), then your next step probably should be the Nerd Vittles’ Incredible PBX 11 and Incredible Fax 11 tutorial. It’s a 5-minute addition. And, of course, all 50 Asterisk applications in Incredible PBX are also free.
Getting Your Own PIAF Thumb Drive. Some have asked how to obtain your very own PIAF thumb drive. Well, it’s easy. Just ask when you make a contribution of $50 or more to the Nerd Vittles and PBX in a Flash projects by clicking the PayPal Donate button at the top of this page, and we’ll get one off to you pronto. And, thanks in advance for your support of freeware and open source projects! Happy Thanksgiving!
Originally published: Friday, November 22, 2013
Just Released: AstriCon 2013 Videos. Digium has just released all of the videos from AstriCon 2013 on the new YouTube Asterisk Channel. It’s the best, free VoIP training you’ll find anywhere.
Need help with Asterisk? Visit the PBX in a Flash Forum.
Or Try the New, Free PBX in a Flash Conference Bridge.
whos.amung.us If you’re wondering what your fellow man is reading on Nerd Vittles these days, wonder no more. Visit our new whos.amung.us statistical web site and check out what’s happening. It’s a terrific resource both for us and for you.
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.
Some Recent Nerd Vittles Articles of Interest…