How to install PIAF on a Xen VPS

Written by admin on November 22, 2014. Posted in PIAF

This method was tested on  Centos 6 - 32bit

1. Download Media

# cd /media
# wget ''

2. Mount Iso

# mkdir iso

# mount -o loop pbxinaflash20624-i386.iso /media/iso


3. Create Repo

# echo 

name=CentOS-$releasever - Local
' > /etc/yum.repos.d/CentOS-Local.repo

# yum --disablerepo=\* --enablerepo=c6-local upgrade

4. Install dependencies

# yum --disablerepo=\* --enablerepo=c6-local groupinstall additional-devel base cifs-file-server compat-libraries console-internet core debugging development mail-server ftp-server hardware-monitoring java-platform legacy-unix mysql network-file-system-client network-tools php performance perl-runtime security-tools server-platform server-policy system-management system-admin-tools web-server

# yum --disablerepo=\* --enablerepo=c6-local install kernel-devel php php-mysql php-gd php-mbstring php-pear php-pear-db perl perl-libwww-perl perl-DateManip perl-DBD-mysql perl-DBI perl-Net-DNS perl-suidperl perl-XML-Parser audiofile-devel dhcp gd lm_sensors libusb-devel mysql-devel gcc-c++ flite flite-devel automake xinetd tftp-server piafdl piafxtras joe gtk2 gtk2-devel arts arts-devel esound-devel jack-audio-connection-kit lcms libart_lgpl-devel libogg-devel libvorbis-devel nas pulseaudio-libs SDL alsa-lib-devel libmng libtool-ltdl libtool-ltdl-devel qt dialog coreutils sqlite-devel libstdc++-devel tzdata ntp ntpdate php-process php-imap php-xml

# /usr/sbin/ntpdate -su mkdir -p /etc/pbx mkdir -p /etc/viaf mkdir -p /etc/siaf date --iso-8601=minutes > /etc/pbx/.installdate echo "20624" > /etc/pbx/.isoversion echo "20624" > /etc/viaf/.isoversion echo "20624" > /etc/siaf/.isoversion echo "ks" > /etc/pbx/.installmethod echo "ks" > /etc/viaf/.installmethod echo "ks" > /etc/siaf/.installmethod echo "/usr/local/sbin/isomenu" >> /etc/rc.d/rc3.d/S99local /bin/cp -f /usr/src/piafxtras/preinstallmenu/piafxtras-menu /usr/local/sbin/piafxtras-menu chmod +x /usr/local/sbin/piafxtras-menu cat /usr/src/piafxtras/preinstallmenu/motd.tmp >/etc/motd

5.Unmount media and reboot to continue with installation

# umount /media/iso

# reboot

6. Once rebooted login via console. and follow the installation instructions and you are done.