Squeezebox Setup

Adding PHP

PHP has been divided up into a (large!) number of packages in CentOS.  This guide will install everything that RoundCube webmail needs.  As it turns out that is quite a lot – it should do for most applications.  To get it out the way we’re just executing one command for everything – note the \ slashes to allow the command to be spread over multiple lines.  So the command is:

yum --enablerepo=remi --enablerepo=epel install php-gd php-pear php-common php-pear-Auth-SASL \
php-pear-DB php-pear-MDB2 php-pear-Mail-Mime php-pear-Mail-mimeDecode php-pear-Net-SMTP php-pear-Net-Socket \
phpMyAdmin php-pdo php-xml php-devel php-imap php-soap php-mbstring php-mysql php-simplexml php-dom php

Which should give output like:

[root@tranquilpc ~]# yum --enablerepo=remi --enablerepo=epel install php-gd php-pear php-common php-pear-Auth-SASL php-pear-DB php-pear-MDB2 php-pear-Mail-Mime php-pear-Mail-mimeDecode php-pear-Net-SMTP php-pear-Net-Socket phpMyAdmin php-pdo php-xml php-devel php-imap php-soap php-mbstring php-mysql php-simplexml php-dom php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.manchester.icecolo.com
* base: mirrors.melbourne.co.uk
* epel: mirrors.ircam.fr
* extras: mirrors.manchester.icecolo.com
* remi: iut-info.univ-reims.fr
* updates: mirrors.manchester.icecolo.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: php-cli = 5.3.2-1.el5.remi for package: php
--> Processing Dependency: libgmp.so.3 for package: php
---> Package php-common.i386 0:5.3.2-1.el5.remi set to be updated
---> Package php-devel.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: autoconf for package: php-devel
--> Processing Dependency: automake for package: php-devel
---> Package php-gd.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libt1.so.5 for package: php-gd
---> Package php-imap.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libc-client.so.1 for package: php-imap
---> Package php-mbstring.i386 0:5.3.2-1.el5.remi set to be updated
---> Package php-mysql.i386 0:5.3.2-1.el5.remi set to be updated
---> Package php-pdo.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libsqlite.so.0 for package: php-pdo
---> Package php-pear.noarch 1:1.9.0-4.el5.remi set to be updated
---> Package php-pear-Auth-SASL.noarch 0:1.0.4-1.el5.remi set to be updated
---> Package php-pear-DB.noarch 0:1.7.13-1.el5.centos set to be updated
---> Package php-pear-MDB2.noarch 0:2.4.1-2.el5.centos set to be updated
---> Package php-pear-Mail-Mime.noarch 0:1.6.1-1.el5.remi set to be updated
---> Package php-pear-Mail-mimeDecode.noarch 0:1.5.0-4.el5.remi set to be updated
---> Package php-pear-Net-SMTP.noarch 0:1.4.2-1.el5.remi set to be updated
---> Package php-pear-Net-Socket.noarch 0:1.0.9-2.el5.remi set to be updated
---> Package php-soap.i386 0:5.3.2-1.el5.remi set to be updated
---> Package php-xml.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libexslt.so.0 for package: php-xml
--> Processing Dependency: libxslt.so.1 for package: php-xml
---> Package phpMyAdmin.noarch 0:3.3.0-1.el5.remi set to be updated
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package automake.noarch 0:1.9.6-2.1 set to be updated
---> Package gmp.i386 0:4.1.4-10.el5 set to be updated
---> Package libc-client.i386 0:2004g-2.2.1 set to be updated
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package php-cli.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libedit.so.0 for package: php-cli
---> Package php-mcrypt.i386 0:5.3.2-1.el5.remi set to be updated
--> Processing Dependency: libltdl.so.3 for package: php-mcrypt
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
---> Package sqlite2.i386 0:2.8.17-2.el5.remi set to be updated
---> Package t1lib.i386 0:5.1.1-7.el5 set to be updated
--> Processing Dependency: libXaw.so.7 for package: t1lib
--> Running transaction check
---> Package imake.i386 0:1.0.2-3 set to be updated
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Processing Dependency: libXmu.so.6 for package: libXaw
---> Package libedit.i386 0:2.11-2.20080712cvs.el5 set to be updated
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated
--> Running transaction check
---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
php i386 5.3.2-1.el5.remi remi 1.3 M
php-common i386 5.3.2-1.el5.remi remi 949 k
php-devel i386 5.3.2-1.el5.remi remi 617 k
php-gd i386 5.3.2-1.el5.remi remi 202 k
php-imap i386 5.3.2-1.el5.remi remi 80 k
php-mbstring i386 5.3.2-1.el5.remi remi 2.1 M
php-mysql i386 5.3.2-1.el5.remi remi 139 k
php-pdo i386 5.3.2-1.el5.remi remi 162 k
php-pear noarch 1:1.9.0-4.el5.remi remi 429 k
php-pear-Auth-SASL noarch 1.0.4-1.el5.remi remi 11 k
php-pear-DB noarch 1.7.13-1.el5.centos extras 142 k
php-pear-MDB2 noarch 2.4.1-2.el5.centos extras 132 k
php-pear-Mail-Mime noarch 1.6.1-1.el5.remi remi 40 k
php-pear-Mail-mimeDecode noarch 1.5.0-4.el5.remi remi 13 k
php-pear-Net-SMTP noarch 1.4.2-1.el5.remi remi 19 k
php-pear-Net-Socket noarch 1.0.9-2.el5.remi remi 10 k
php-soap i386 5.3.2-1.el5.remi remi 274 k
php-xml i386 5.3.2-1.el5.remi remi 204 k
phpMyAdmin noarch 3.3.0-1.el5.remi remi 4.9 M
Installing for dependencies:
autoconf noarch 2.59-12 base 647 k
automake noarch 1.9.6-2.1 base 484 k
gmp i386 4.1.4-10.el5 base 664 k
imake i386 1.0.2-3 base 319 k
libXaw i386 1.0.2-8.1 base 324 k
libXmu i386 1.0.2-5 base 62 k
libc-client i386 2004g-2.2.1 base 516 k
libedit i386 2.11-2.20080712cvs.el5 epel 79 k
libmcrypt i386 2.5.8-4.el5.centos extras 116 k
libtool-ltdl i386 1.5.22-7.el5_4 updates 37 k
libxslt i386 1.1.17-2.el5_2.2 base 485 k
php-cli i386 5.3.2-1.el5.remi remi 2.6 M
php-mcrypt i386 5.3.2-1.el5.remi remi 36 k
sqlite2 i386 2.8.17-2.el5.remi remi 170 k
t1lib i386 5.1.1-7.el5 epel 194 k

Transaction Summary
==============================================================================================================================================================================================
Install 34 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 18 M
Is this ok [y/N]:

Thats quite a lot of change so lets reboot:

[root@tranquilpc ~]# shutdown -r now

Broadcast message from root (pts/0) (Sun Jun 14 14:45:30 2009):

The system is going down for reboot NOW!

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: