Guide to install OpenX Ad Server on Media Temple and other web hosting providers

OpenX is a powerful ad serving solution that puts control over online advertising back in the hands of publishers. It comes in two forms: 1) self installation package on your own web server, 2) an hosted OpenX. In this post, I will walk you through, the installation of OpenX on my Media Temple (gs) Grid-Service server.  Please note: The steps below […]

OpenX is a powerful ad serving solution that puts control over online advertising back in the hands of publishers. It comes in two forms: 1) self installation package on your own web server, 2) an hosted OpenX. In this post, I will walk you through, the installation of OpenX on my Media Temple (gs) Grid-Service server

Please note: The steps below will work on all Media Temple (dv) Dedicated-Virtual, (dpv) Nitro, and (cx) Complex Hosting package. As well as other web hosting providers. You are only required to change your “root” folder accordingly.

  1. First login to your media temple account center and create a new database, you can call it “ads”. Optional: you can create a new database user (if you are planning to use different user).
  2. Login to your shell account (SSH), and be in the “root” folder (public folder). If this is your first time, read here how to use SSH.
  3. Download OpenX package with following command: (Please check the download location for the latest version of OpenX and replace the file name accordingly)
    wget http://download.openx.org/openx-2.6.4.tar.gz
  4. Now use the following command to untar OpenX package:
    tar xzf openx-2.6.4.tar.gz
    The contents ends up in a directory named ‘openx-2.6.4,’ now rename the folder:
    mv openx-2.6.4 openx
  5. Next, change to openx folder, and Run the installation wizard: http://www.yoursite.com/openx
  6. Click "Continue".… Click "I Agree".… Click "I Agree".... Everything should be fine on the next page, click "Continue.…"
  7. Now, set the following settings:

      Database Type: MySQL (the default)
      Database Hostname: internal-db.s*****.gridserver.com (NOT localhost)
      Database Port Number: 3306 (the default)
      Database Username: yourdatabase username
      Database Password: yourdatabase password
      Database Name: yourdatabase name

      Table type: InnoDB (NOT MyISAM)
      Table names prefix: ox_ (the default)
  8. Click "Continue" .... wait ....  and on the next page click "Continue" again ….
  9. On this page you can set your language and timezone, and you can leave everything else as it is.
  10. Click "Continue"….
  11. Create your administrator account and click "Continue" …. On the next page, click "Continue"….
  12. You're done!

Now fire up your OpenX admin:  http://www.yoursite.com/OpenX/www/admin/

More InfoServe your first ad