Installation on Media Temple

From Habari Project

Jump to: navigation, search

Contents

How to install Habari on Media Temple (GS).

PHP 5

Media Temple defaults all websites under their (GS) to PHP 4

Log into your Media Temple account by going to ac.mediatemple.net. Go to the admin section of the server for the domain you are working with. From there go to the PHP Settings area and select the radio button under PHP 5. Click save for the change to go into effect immediately.

MySQL

From the admin section of the server for the domain you are working with, go to the Manage Databases section. Click the Add Database tab to add a new database for use with your Habari installation.

Alternatively, you can click on the Global Settings tab and add a new database user but this is not required.

Then follow the Install guides as normal.

How to install Habari on Media Temple (dv)

PHP 5

PHP 5 should be the default setting.

PCRE Unicode Support

A problem you may run into is unicode support in the PCRE extension. Here is how you solve that problem:

STEP 1

Go to this article and complete the first three steps: http://kb.mediatemple.net/questions/1564/Installing+the+YUM+package+manager+on+a+%28dv%29+Dedicated-Virtual+3.5+Server

A few things to note: - You need to have the Developer Tools package installed and you need to have your root user enabled. The article states this at the beginning, but just in case.

STEP 2

After YUM is installed you'll want to visit Step 10 on this article: http://devblog.jasonhuck.com/2009/01/08/installing-lasso-on-centos-5/

You'll follow Step 10 in the article line-by-line with the exception of the following:

1. The directory /usr/src/redhat already exists. So ignore the first command ([prompt]# mkdir /usr/src/redhat)

2. Instead of the command on line 3: [prompt]# wget http://mirrors.kernel.org/centos/5.2/os/SRPMS/pcre-6.6-2.el5_1.7.src.rpm

Type this: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/pcre-6.6-2.el5_1.7.src.rpm

The original URL is now 404. The new URL I found from this article: http://freshmeat.net/articles/red-hat-updated-pcre-packages-resolve-several-security-issues

  • One thing to note, and this is mainly for those who aren't familiar with the terminal and VIM, when you're in the VIM editor and you hit the "i" key, it will place the cursor at the top of the file which may or may not be outside of your current viewing area. Just scroll up a bit in the Terminal if that's the case. Also, if you need to reference VIM commands here's one I use: http://www.tuxfiles.org/linuxhelp/vimcheat.html

3. In the last set of commands, ignore this one: [prompt]# mv /usr/local/lib/libpcre*.* /usr/local/lib/pcre-old

STEP 3

Restart your httpd server and you should be good to go. (You can do this via MediaTemple's web interface.)

If you would like to read further discussion regarding this topic you can visit the original thread: http://groups.google.com/group/habari-users/browse_thread/thread/cbbff4ba93e43640.

Personal tools
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Cannot contact the database server: Access denied for user 'habari'@'localhost' to database 'habari_wiki' (localhost))


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.