NEED MORE INFO Piaf 3 new install

Giulio

Member
Joined
Dec 28, 2014
Messages
32
Reaction score
1
Hi, I'm trying to install PIAF 3. I looked for it around, but downloads were broken (both ISO and OVA torrent). So I'm following the article: http://nerdvittles.com/?p=9526
Well, I have these problem:
[root@localhost ~]# sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
sed: impossibile leggere /etc/default/grub: No such file or directory
[root@localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
-bash: grub2-mkconfig: command not found
[root@localhost ~]#

despite
[root@localhost ~]# which grub
/sbin/grub

Is there any way to resolve?
Is there any good repository of some OVA file?

Thanks
Giulio
 

ronaldgibson

New Member
Joined
Apr 14, 2008
Messages
16
Reaction score
0
Hi, I'm trying to install PIAF 3. I looked for it around, but downloads were broken (both ISO and OVA torrent). So I'm following the article: http://nerdvittles.com/?p=9526
Well, I have these problem:
[root@localhost ~]# sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
sed: impossibile leggere /etc/default/grub: No such file or directory
[root@localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
-bash: grub2-mkconfig: command not found
[root@localhost ~]#

despite
[root@localhost ~]# which grub
/sbin/grub

Is there any way to resolve?
Is there any good repository of some OVA file?

Thanks
Giulio
I just continued with the installation. It is working fine for me. I can reboot from my phone and it starts up fine.

Mine I used the Netinstall. The minimal install doesn't include networking configuration command 'system-config-network'. I didn't want to find out what else was missing.

My machine was still running Asterisk v1.4 and had choppy audio. It was about time to upgrade. I was on a call and was looking at the call report. The audio was real choppy when the page updated.
 

Intechtel AJ

New Member
Joined
Mar 20, 2015
Messages
1
Reaction score
0
Seems that I have this same issue. My networking dies everytime the system reboots, and I get an error when installing PIAF3 that my version is out of date and wants me to install 2.0.6.5.0. Guess maybe ill just quash the whole server and go for a full cent install instead since I'm only really a novice in Linux CLI.
 

g.tucci

New Member
Joined
Nov 16, 2011
Messages
5
Reaction score
2
Really simple ! These instructions (http://nerdvittles.com/?p=9526) do not work anymore !
To get an PIAF-Green you have to use these simple instr.
-> Install CentOs 6.5
1. Install or upgrade existing system
2. Test media [skip]
3. Begin setup [Next]
4. Choose language [English]
5. Keyboard [U.S. English]
6. Type Devices [Basic Storage Devices]
7. Discard Existing Data [yes]
8. Hostname [localhost.localdomain] ** BEFORE YOU CLICK NEXT, DO STEP 8a. **
8a. Configure Network [Click eth0 & Edit. Check:Connect Automatically then Apply & Close]
9. Time Zone [New York] ** Uncheck: System Clock Uses UTC **
10. Root Password [** make it very secure **]
11. Type Installation: Create Custom Layout with Primary Partition checked for 11a and 11c
11a. Create -> Standard Partition -> Mount Point: /boot Type: ext4 Size:200 Fixed
11b. Create -> Standard Partition -> Mount Point: blank Type: swap Size:2048 Fixed
11c. Create -> Standard Partition -> Mount Point: / Type: ext4 Size:Fill to Max Size
12. NEXT
13. FORMAT
14. WRITE CHANGES
15. Checked: Install boot loader on /dev/sda Boot loader CentOS List: /dev/sda3
16. Reboot when finished

-> Next, log in to your new server with your root credentials. The network won't work: it is correct
sed -i 's|no|yes|' /etc/sysconfig/network-scripts/ifcfg-eth0
ifup eth0

Att. Network start

-> Other commands
setenforce 0
yum -y upgrade
reboot
Att: At reboot CentOS is upgraded to CentOs 6.6

yum -y upgrade
yum -y install net-tools nano wget
reboot


wget http://pbxinaflash.com/update-kernel-devel
chmod +x update-kernel-devel
./update-kernel-devel
reboot

reboot
->We are ready to install Piaf
cd /root
wget http://pbxinaflash.com/piaf3-install.tar.gz
tar zxvf piaf3-install.tar.gz
./piaf3-install

Certified Asterisk 1.8 + Dadhi
Choose to install outdate versione
In the middle error in compiling asterisk - enter to continue (we'll solve at the end of the inst process)

-> Last but not least
At reboot asterisk won't work ! You have to recompile it !
cd /usr/src/asterisk
make menuconfig
save & exit
make
make install
update-fixes

-> To solve other errors !
>> PHP Fatal error: Cannot make static method DB::connect() non static in class<<
To solve
pear uninstall db
pear install db-1.7.14
>> Fail2Ban
WARNING 'pidfile' not defined in 'Definition'. Using default value
WARNING 'usedns' not defined in 'named-refused-tcp'. Using default value

bla bla bla

Add in /etc/fail2ban/fail2ban.conf

pidfile = /var/run/fail2ban/fail2ban.pid

add in /etc/fail2ban/jail.conf after default declaration
# "usedns" specifies if jails should trust hostnames in logs,
# warn when DNS lookups are performed, or ignore all hostnames in logs
#
# yes: if a hostname is encountered, a DNS lookup will be performed.
# warn: if a hostname is encountered, a DNS lookup will be performed,
# but it will be logged as a warning.
# no: if a hostname is encountered, will not be used for banning,
# but it will be logged as info.
usedns = warn

......I hope it can be useful
 

spot

Member
Joined
Aug 16, 2009
Messages
44
Reaction score
0
FYI if enable onboot during installation in step 8a it will auto start
 

Members online

Forum statistics

Threads
25,782
Messages
167,512
Members
19,203
Latest member
frapu
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