Install PIAF 2.0.6.5.0 on existing CentOS of a VPS
系統環境:CentOS 6.4 64-bit
將 CentOS 升級至 6.5
# yum update # reboot
下載位址:http://sourceforge.net/projects/pbxinaflash/files/ ,下載目錄 PIAF-2.0.6.5.0-CentOS-6.5。
# cd ~ # wget -O pbxinaflash20650-x86_64.iso "http://sourceforge.net/projects/pbxinaflash/files/PIAF-2.0.6.5.0-CentOS-6.5/pbxinaflash20650-x86_64.iso/download" # mkdir /mnt/iso # mount -o loop pbxinaflash20650-x86_64.iso /mnt/iso
編輯套件庫位址
# cat << "EOF" > /etc/yum.repos.d/CentOS-Media.repo [c6-local] name=CentOS-$releasever - Media baseurl=file:///mnt/iso/ gpgcheck=0 enabled=0 EOF
使用 ISO 內的套件檔作以下安裝
# yum --disablerepo=\* --enablerepo=c6-local downgrade krb5-libs mysql-libs python \ glib2 openssl python-libs curl libxml2 libcurl libtasn1 glibc glibc-common # yum --disablerepo=\* --enablerepo=c6-local upgrade # 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 # yum install krb5-libs mysql-libs python glib2 openssl python-libs \ curl libxml2 libcurl libtasn1 glibc glibc-common