I followed these instructions:
http://www.php.ph/2007/12/21/centos-5-eaccelerator-installation/

But with one exception: don’t extract the eaccelerator tar to /tmp, as it won’t let you phpize, (maybe because the /tmp partition is mounted noexec?).

Today, the mediatemple (dv) 3.5 was released. To my pleasure, its php is compiled with the tokenizer module, which is required for the software I’m deploying, so I’ve decided to give the (dv) another try.

The developer tools now include svn! You don’t need to follow these instructions to install subversion – just create a support request with MediaTemple to install the developer tools. If you need yum, the command below should add it successfully.
Mysteriously, neither the default packages nor the “developer’s tools” include subversion, and how could we live without subversion? When I searched for handy instructions on how to go about installing it, I found only links to my previous post. This post serves as an update for the (dv) 3.5.

The 3.5 edition is running on CentOS 5, so we need the rpm for that version:

$ rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.0.5-1.el5.centos.5.noarch.rpm

[the above command is updated from yuri's comment that the dependencies are included in a stock (dv). thanks! yuri also says that subversion is now included in the developer tools. i haven't yet confirmed it, but it's wonderful if true! it's true, and wonderful.]

Check if it’s installed:
$ rpm -q yum

With yum installed successfully, we can use it to install Subversion.
$ yum install subversion

That should do it.

After a long discussion with MediaTemple tech support, I’ve learned that the version of Ruby installed on the containers (1.8.5) is different than the version of Ruby installed on the shell machine (1.8.2) accessed via SSH. On the container (which users don’t have shell access to), they get this:

# ruby -v
ruby 1.8.5 (2006-12-04 patchlevel 2) [i386-linux]

Whereas, on the shell machines, we get this:

$ ruby -v
ruby 1.8.2 (2005-04-11) [i386-linux]

That means that some command line tools will break in newer versions of Rails (< 1.2.3?) that expect Ruby 1.8.5, for example:

$ rake db:migrate
(in /home/####/containers/rails/armstrong)
rake aborted!
undefined method `formatter’ for class `Logger’

Unfortunately, there's not a way to get around this without compiling your own Ruby 1.8.5. When I have time, I will probably get around to this. In response to my trouble ticket, MediaTemple tech support says (on 4/18/07):

"We are investigating upgrading the system version and that should happen soon. I will update this ticket when I know more."

Sooner rather than later, I should hope.

[Updated for the dv 3.5 here]

I’m currently testing a web application on a MediaTemple “dedicated virtual server” (dv). This means I need to have Subversion installed to check the current version of the application from the repository. Unfortunately, while MediaTemple installs Subversion on their (oft-derided) “grid-server” (gs), they don’t install it on the (dv).

What to do? I put in a request with MediaTemple, but after vainly waiting 24 hours for a response, I decided to use yum to install Subversion. This seems like a better idea than working with rpms; the likelihood is that I’ll need to install other packages, after all. Yum doesn’t come with the (dv), however – for reasons unknown – so the first thing we need to do is get yum (following this post) [in a comment below, Bart has updated the location of the rpms].

$ wget http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm

$ wget http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/yum-2.4.3-3.el4.centos.noarch.rpm

$ wget http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-2.4.3-3.el4.centos.noarch.rpm

It has dependencies, so we need get them too.

$ rpm -ivh --nodeps http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-6.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-4.2.1.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/rpm-python-4.3.3-18_nonptl.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm

$ rpm -ivh –nodeps http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/libxml2-python-2.6.16-10.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/rpm-python-4.3.3-22_nonptl.i386.rpm http://centos.mirror.vpslink.com/centos-4/4.5/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm

$ rpm -ivh –nodeps http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-10.i386.rpm http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/rpm-python-4.3.3-23_nonptl.i386.rpm http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm

Now we can install yum:

$ rpm -Uvh yum-2.4.3-3.el4.centos.noarch.rpm

Check if it’s installed:

$ rpm -q yum

With yum installed successfully, we can use it to install Subversion.
$ yum install subversion

That should do it.

-

I should add that I didn’t know at first what flavor of Linux was running on MediaTemple’s (dv). I found that we were dealing with CentOS 4.4 by running:

$ cat /etc/*release /etc/*version