Skip to content

Instantly share code, notes, and snippets.

@robbiegod
Last active March 14, 2016 04:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save robbiegod/d384af2f1aca479e7115 to your computer and use it in GitHub Desktop.
Save robbiegod/d384af2f1aca479e7115 to your computer and use it in GitHub Desktop.
How to install ImageMagick on MediaTemple DV Server

How to install ImageMagick on MediaTemple DV Server

This assumes that you have setup a DV server with root access and have already installed the developer tools in your mediatemple account. You must also create a user and give it SSH access.

SSH into your DV server using Putty

Perform the following commmands to successfully install imagemagick.

Install ImageMagick

yum install ImageMagick*

Create a Temp directory, set it as the temp_dir location and install imagick

mkdir rw /tmp2 pear config-set temp_dir /tmp2 pecl install imagick

Login to MT Plesk, go to PHP Settings, in Additional directives box, add the following line and click ok:

extension=imagick.so

Lastly...

service httpd graceful

Bonus Information: How to edit and save a file in vi

Your DV server at Mediatemple has a text editor called vi. Here's how to use it.

vi /etc/php.ini

Save the file in vi:

press i to instert vi vim, press ESC, type ZZ

Wanna install PIP? Use yum to install pip

yum -y install python-pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment