PIONEERS PIAF CentOS 7 Incredible PBX News

Aarodynamics

New Member
Joined
Oct 26, 2010
Messages
8
Reaction score
0
Is there work being done to support CentOS 7?

We've been testing automated deployments of CentOS 7 in our labs and are loving the results. The compatibility in this release with our Hyper-V private cloud platform is excellent due to the native integration components in the Linux kernel (something we've been enjoying in Ubuntu since 12.04).
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
Certainly hope to have a CentOS 7 release shortly. Glad we have another Hyper-V expert to assist. :patriot:

Welcome!
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,386
Reaction score
440
CentOS 6.4 and 6.5 worked well in Hyper V 2012 R2 as well FYI; I have a couple in production.
 

Aarodynamics

New Member
Joined
Oct 26, 2010
Messages
8
Reaction score
0
I have plenty in production as well, but you had to deploy the RHEL63 integration components which technically were never officially supported on CentOS 6.5 by Microsoft. Try calling MS up when you have a problem and see what they say. Better yet, try deploying 500x machines based on CentOS65 into production on a private cloud and see what happens when you talk with MS. We stuck with CentOS63 for that reason. CentOS7 will be the first release of CentOS that is officially supported on Hyper-V without integration components. Better yet, you can even deploy to Gen2 VMs, although Gen1 VMs are still needed for VMM service templates.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,386
Reaction score
440
You should know that while I have had no problems whatsoever, the folks at Schmooze claim they have a tonne of support calls with respect to audio quality on Hyper V hosted Asterisk. I can't explain why others would have problems and I don't, though I don't overload my hosts so ??? At any rate glad to have another hyper V tester here, the replication and failover is fantastic for something so inexpensive.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
BsxYqq7IIAEs90t.jpg:large


By gosh, I think we've got it... Incredible PBX 11 will be coming first as pure GPL2 open source so you can roll your own enhancements (and hopefully share your creations!).

We're following our Ubuntu 14 template if you want to do a little reading in advance.

We could use a few pioneers later this weekend.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
BsxehbtIAAEUQqF.jpg:large


And here's why we're locking down new releases... This was less than 20 minutes after creating the image.

Code:
Jul 17 16:23:09 CentOS7j sshd[5515]: Failed password for invalid user oracle from 118.98....sh2
Jul 17 16:23:09 CentOS7j sshd[5515]: Received disconnect from 118.98.43.33: 11: Bye Bye [...th]
Jul 17 16:25:37 CentOS7j sshd[12537]: Address 23.95.23.174 maps to host.colocrossing.com,...PT!
Jul 17 16:25:37 CentOS7j sshd[12537]: pam_unix(sshd:auth): authentication failure; lognam...oot
Jul 17 16:25:37 CentOS7j sshd[12537]: pam_succeed_if(sshd:auth): requirement "uid >= 1000...ot"
Jul 17 16:25:39 CentOS7j sshd[12537]: Failed password for root from 23.95.23.174 port 415...sh2
Jul 17 16:25:39 CentOS7j sshd[12537]: Received disconnect from 23.95.23.174: 11: Bye Bye ...th]
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
OK. I think we're ready for a few pioneers. This works fine on VirtualBox with 1GB RAM. Still get core dumps on Digital Ocean with either 512MB or 1GB CentOS 7 images. I suspect there is something amiss in their image, but who knows. Should work fine on most other platforms. CentOS 7 uses a good bit more memory than 6.5 so don't try 512MB.

Start with the CentOS 7 LiveCD ISO. Copy image to disk and follow your nose. Once you have rebooted without the LiveCD ISO and have a network connection (ifconfig), do the following while logged in as root:
Code:
cd /root
wget http://incrediblepbx.com/incrediblepbx11.4.centos7.tar.gz
tar zxvf incrediblepbx11*
./Incredible*
/root/timezone-setup

NOTE: Takes about an hour to install. There are close to 1,000 modules to be loaded after you get the LiveCD image running. Lots of utilities in /root to play with. Automatic updates disabled until we get some more testing done. Cocktail hour is calling. Over and out for now.

p.s. If you're having issues installing CentOS 7, then please wait for the final release. We will provide documentation at that time. This is not an appropriate project for newbies. :frown2:
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Installing 7 on an old Dell box now... will report back once it'a all loaded.
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Tried installing Gnome desktop and kept getting an error about the kernel package on the GUI desktop, so I started over and just went with the minimal install. No errors, installed using the commands above and status looks fine, but I have no GUI or webmin, they just timeout.



Screen Shot 2014-07-18 at 9.37.52 PM.png
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Ok so I thought maybe I somehow did something wrong and started over, same result.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
jeff.h:
1. IP6tables firewall setting was causing a problem on IPv6-savvy platforms. I had blocked the localhost entry to stop all the log chatter, but it killed FreePBX, too. :oops:

Edit /etc/sysconfig/ip6tables and change:
Code:
-A INPUT -s ::1 -j DROP
to:
Code:
-A INPUT -s ::1 -j ACCEPT

And then restart IP6tables: service ip6tables restart

2. WebMin should be https://ipaddress:9001 just as with PIAF. Use root pw. RPM is in /root.

3. Your RAM setting in status appears to be out to lunch, too. This still needs some work. I'm working with minimal RAM VMs so I can't test what the Big Boys use. I'd guess that entries over 1GB free RAM are blowing up.

The entry to fix in /usr/local/sbin/status:
Code:
RAM=`free | grep -m 2 ^ | tail -1 | cut -f 20 -d " "`
if [ -z "$RAM" ]; then
RAM="`free | grep -m 2 ^ | tail -1 | cut -f 18 -d " "`"
if [ -z "$RAM" ]; then
  RAM=" `free | grep -m 2 ^ | tail -1 | cut -f 19 -d " "`"
fi
fi

If you can find your cut "magic number" then I can add it. As you can tell, this is fairly primitive technology... counting spaces to the answer. Yikes! :eek:

4. Still having a problem permanently setting FreePBX security model. Here's a fix until we get it working properly:
Code:
mysql -u root -ppassw0rd -e "update asterisk.freepbx_settings set value = 'database' where keyword = 'AUTHTYPE' limit 1;"
sed -i 's|AUTHTYPE=none|AUTHTYPE=database|' /etc/amportal.conf
mysql -u root -ppassw0rd -e "update asterisk.admin set value='true' where variable='need_reload';"
/var/lib/asterisk/bin/module_admin reload
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
New build has been uploaded this morning. Fixes most of the bugs. Now works on Digital Ocean as well using 512MB (<penny/hour cheapo) platform. Minor explosion during the install but doesn't do any damage...
Bs5iGvFIMAAsQue.jpg:large
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
If you despise the new ethernet naming convention and would prefer to rename the ethernet interface to eth0, here's how to do it with CentOS 7:
Code:
sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
sed -i 's|OPTIONS|#OPTIONS|' /etc/sysconfig/knockd
reboot

Credits and Kudos to StackExchange.com
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
To reconfigure your network or change DHCP to static IP address, the new magic command for CentOS 7:
Code:
nmtui

Credits and Kudos to Tecmint.com
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
More patches uploaded. Fixed News so that it and Weather by ZIP Code TTS apps now work. Once the bleeding stops, we'll start pushing patches out with the automatic update utility that's included in the build. :death:
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
I've been playing around with it all morning and when I use the LiveCD on either Fusion VM or Dell box I cannot seem to get it to allow me to SSH into it. I keep getting connection refused. I am going back to using the full DVD and trying server with GUI option on the Dell and Gnome in Parallels. They are both installing as I write this.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top