How to install OpenX in GNU/Linux?

| | 2 min read

OpenX is a free and open source ad server. It is a professional ad server which can be used for managing ads like Google DFP,
and has many features like geographical ad delivery limitation, features to limit ad based on the user agent, client IP address, client domain,
site variables, just to name a few. OpenX also provides a robust reporting interface. Read on to know how to install Openx in a GNU/Linux based server.


Prerequisites

A GNU/Linux Box installed with PHP, MySQL and Apache.

Steps

  1. Download the OpenX source tar file from the http://www.openx.com/
  2. Extract and copy the file folder to document root or public_html of Apache
  3. Open the file in a browser, this will give you a window as shown the screenshot belowscreen_shot_one.jpg
  4. Click the I Agree button, which will take you to the next step. OpenX requires write permissions for the folders - var, plugins, www/admin/plugins, www/images,
  5. Create an account on openx.org and give details in the form shown as in the screenshot shown belowscreshot2.jpg
  6. After a successful registration, the installation wizard will prompt you to give details of the database

    Database steps
    Login to mysql from the terminal using the command

    • $mysql -u root -p
      Create the database using the command below
    • $mysql> create database openex_demo ;
      Query OK, 1 row affected (0.03 sec)
  7. Give the necessary details in the database fieldsscreenshot-3.jpg
  8. After the database is setup it will take you to the Administrator configuration window
    where you can set your admin account name and passwordscreenshot4.jpg
  9. After entering the credentials, the installation wizard installs different components and gives you access to start creating ads. Thats all

We would love to hear your feedback on the article. Please use the comments box below.