PIONEERS Living the Ubuntu Dream

Jay Deal

Phhhhhhhhttttttt :)
Joined
Dec 26, 2013
Messages
267
Reaction score
85
What i want to know, when are you guys going to port this to Windows? Seems like youll soon have everything else covered.
 

billsimon

Experienced in Asterisk, FreePBX, and SIP
Joined
Jan 2, 2011
Messages
1,016
Reaction score
337
My question is what's so dreamy about Ubuntu? Nothing wrong with it; I'm just curious what's behind this. Like Jay said, you've got Linux covered. How about a Solaris (x86) build? Then we could run large, scalable PIAF instances on Joyent Cloud's zones (natively).
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
billsimon: Solaris would be great, too. You do know you already can run PIAF and Incredible PBX VirtualBox images on Solaris. :boat:
 

jroper

Guru
Joined
Oct 20, 2007
Messages
3,833
Reaction score
71
Hi

My question is what's so dreamy about Ubuntu?
Having used both operating systems extensively, my choice would be Ubuntu over CentOS, and I'm starting to prefer Debian over Ubuntu. The reasons for preferring Ubuntu are as follows:-
  1. You can upgrade between major versions, e.g. 10.04LTS - > 12.04 > 14.04 and so on. You cannot go from CentOS 4 to 5 to 6 without reformatting. For an OS which is being used in a switch or PBX environment, where we expect them to last many years, having to reformat and re-install in order to keep up to date with security updates is not ideal.
  2. The size of the repository of Ubuntu is far larger than CentOS, so installing something like phpMyAdmin is as simple as apt-get install phpmyadmin. In CentOS, you'd have to do this from source, and it's likely you would have to upgrade PHP as well.
  3. Packages tend to be newer in Ubuntu, not so new that they are bleeding edge, more leading edge.
I'm beginning to work more with Debian, which has all the above advantages and some more advantages over Ubuntu, in that their upgrade / update policy is more conservative leading to greater stability, which again is an advantage for a switch / PBX system.
Joe
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
Thanks, jroper. Debian is next. Already using a derivative on the Raspberry Pi and BeagleBone Black platforms. :)
 

Jay Deal

Phhhhhhhhttttttt :)
Joined
Dec 26, 2013
Messages
267
Reaction score
85
This is great news as I have been trying to create a does all server that incorporates PBXIAF, NAS, Plex, a VPN, Squeezebox and at the same time having a usable desktop with a GNOME UI that I can VNC to. I have gotten fairly far with Centos on several loads but in each instance I have ended it up FUBARING the OS at some point by trying to add software which cannot be added directly by wget or yum. Trying to determine the right repositories to make yumming or wgetting is another problem I have yet to master. I wish I had better Linux skills but I am hoping that porting PBXIAF to Ubuntu and Debian will provide an easier means to create the jack of all trades server I am would like to set up. Here's wishing you guys continued success in this regard.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
1,854
Reaction score
197
I'm seconding Debian as well; I am hardly a Linux admin but the few times I've used that it felt "right" for stability and features. Ubuntu is super easy to use though, and might actually be just as suitable for PBX use as anything else.
 
  • Like
Reactions: wardmundy

Hometech

Member
Joined
Mar 9, 2008
Messages
161
Reaction score
16
Location
Leo, IN
GREAT!! I could put this on my Odroid x2 1.7 Quad Arm Processor! Even thought I am currently running Asterisk 11.5 and Freepbx 2.11 and FOP2 2.27 on it now
it sure would be GREAT to have PBXIAF just for all the updates and fantastic addons that are available from Wards World.
Let us know when your wanting to test it out.
Thanks
 
  • Like
Reactions: wardmundy

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
Thanks to lzaf and a house call this morning, TTS and Flite now are working with Ubuntu 14. That was the last remaining roadblock to porting Incredible PBX 11 over. HOORAY! :boat:
 
  • Like
Reactions: Huckda and lgaetz

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
ATTN Pioneers: Start Your Engines!




We're getting there. First Baker's Dozen apps for Asterisk are up and running with Ubuntu 14!

:party::party::party:

Text-to-Speech with Flite and GoogleTTS

Yahoo News!

Weather Reports by Zip Code

SMS Messaging with gvoice

Telephone Reminders

Today in History

phpMyAdmin

NeoRouter VPN

PPTP VPN

Google Voice

IPtables WhiteList

Fail2Ban

Time of Day

more to come...
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
Ready for the pioneers...

WARNING: There is no error-checking yet for correct Ubuntu version. Don't cheat or the install will fail.



Step #1: Install Ubuntu 14.04 from mini ISO and choose Basic Ubuntu Server or pick your favorite Cloud Provider and choose an Ubuntu 14.04 platform (32-bit or 64-bit works fine).
Code:
UBUNTU mini.iso install:
Choose language
Choose timezone
Detect keyboard <Yes>
Hostname: incrediblepbx <continue>
Choose mirror for downloads
Confirm archive mirror
Leave proxy blank unless you need it <continue>
** couple minutes of whirring as initial components are loaded **
New user name: incredible <continue>
Account username: incredible <continue>
Account password: makeitsecure <Continue>
Encrypt home directory <No>
Confirm time zone <Yes>
Partition disks: Guided - use entire disk and set up LVM
Confirm disk to partition
Write changes to disks and configure LVM <Yes>
Whole volume? <Continue>
Write changes to disks <Yes>  <-- last chance to preserve your disk drive!
** about 15 minutes of whirring during base system install ** <no touchy anything>
** another 5 minutes of whirring during base software install ** <no touchy anything>
Upgrades? Install security updates automatically
** another 5 minutes of whirring during more software installs ** <no touchy anything>
Software selection: *Basic Ubuntu server (only!)
** another couple minutes of whirring during software installs ** <no touchy anything>
Grub boot loader: <Yes>
UTC for system clock: <No>
Installation complete: <Continue> after removing installation media
** on VirtualBox, PowerOff after reboot and remove [-] mini.iso from Storage Tree & reboot
login as user: incredible
sudo passwd
** enter incredible password and then create root user password **
su root
** enter root password **
apt-get update
apt-get upgrade -y
apt-get install ssh -y
sed -i 's|without-password|yes|' /etc/ssh/sshd_config
sed -i 's|yes"|without-password"|' /etc/ssh/sshd_config
ifconfig
reboot
** login via SSH to continue **
Step #2: Ubuntu disables the root account by default. If you're building your own server from the ISO, then you'll need to set up a (very secure) root password after logging in with the account you created during the install.

Code:
sudo passwd
# enter your user acct password and then set up new root password
su root
Step #3: On all platforms, issue the following commands:

Code:
apt-get update
apt-get upgrade -y
apt-get install ssh -y
sed -i 's|without-password|yes|' /etc/ssh/sshd_config
sed -i 's|yes"|without-password"|' /etc/ssh/sshd_config
ifconfig
# write down the IP address to access your server via SSH
reboot

Step #4: Log into your new server as root via SSH.

Step #5: Download and run the Incredible PBX installer. After agreeing to license, go have some coffee. The installer will run unattended for about 30 minutes and fill in the blanks automatically. Log out and back in once the install completes and you see "Have a nice day!"

Code:
cd /root
wget http://incrediblepbx.com/incrediblepbx11.4.ubuntu14
chmod +x incredible*
./incredible*
Step #6: This initial alpha build uses FreePBX authentication rather than Apache. The default username:password is admin:admin. Change it immediately within FreePBX: admin -> administrators. You are well advised to always run your system behind a hardware-based firewall with no Internet port exposure. But we do lock things down with IPtables anyway.

Step #7 (now included in base install) : If you're running your server behind a hardware-based firewall, your public IP address has not been added to the default IPtables setup. To add it, edit: /etc/iptables/rules.v4. Toward the bottom of the file and just above the line that reads "-A fail2ban-APACHE -j RETURN", add a new entry that looks like this using your server's public IP address or FQDN instead of 8.8.8.8:

Code:
-A INPUT -s 8.8.8.8 -j ACCEPT
Then restart IPtables:
Code:
/etc/init.d/iptables-persistent restart
Step #8: This has now been fixed, but there was a wrinkle with regard to /etc/hosts on local installs before 5:15 pm EDT today that I wasn't smart enough to anticipate. The problem is that, as /etc/hosts is configured with ip4 and ip6 entries, FreePBX won't start up in a browser with iptables and ip6tables enabled. The reason is because we had blocked all ip6 incoming traffic in /etc/iptables/rules.v6. Here's the fix for those who have already installed this if FreePBX won't come up in your browser. I have now fixed the installer for future pioneers. :)

Code:
sed -i '/OUTPUT ACCEPT/a -A INPUT -s ::1 -j ACCEPT' /etc/iptables/rules.v6
/etc/init.d/iptables-persistent restart
READ THIS ENTIRE THREAD FOR LATE-BREAKING CHANGES/ENHANCEMENTS/ADD-ONS
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
77
I would remove the line
Code:
--no-create-home
When you create the new user.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
jeff.h: PostFix shouldn't be in there. Just do the base Ubuntu install and only check Basic Ubuntu Server. We add SendMail so that may be the problem.
 

Bob Helbush

Member
Joined
May 22, 2013
Messages
96
Reaction score
25
Location
Atlanta, GA
jeff.h: PostFix shouldn't be in there. Just do the base Ubuntu install and only check Basic Ubuntu Server. We add SendMail so that may be the problem.

I got that too. I didn't select it. Maybe it was selected by default? Should I start over? I hit ^C at the PostFix screen.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,430
Reaction score
2,737
I got that too. I didn't select it. Maybe it was selected by default? Should I start over? I hit ^C at the PostFix screen.
Sorry about that. Another "improvement" bites us in the butt. Try again. Should be fine now, but please start anew.
 
  • Like
Reactions: Bob Helbush

Members online

Latest Posts

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,580
Messages
138,980
Members
14,676
Latest member
BluePeter