Installation

Installation instructions for OpenX 2.8.7.

System Requirements

Installation
From the OpenX installation documentation.
Download the latest source:

cd /extra/src
wget http://download.openx.org/openx-2.8.7.tar.gz
tar zxf openx-2.8.7.tar.gz

Create a directory to hold the web files. We'll host them under an "http://ads.example.com" subdomain.

mkdir /var/websites
cd /var/websites
mkdir ads.example.com
cd ads.example.com
mkdir htdocs logs
chown nobody:nobody htdocs
chown nobody:nobody logs

Copy the OpenX source code to the htdocs directory:

mv /extra/src/openx-2.8.7 htdocs/
chown -R nobody:nobody htdocs/openx-2.8.7

Configure your webserver:

  • Apache
    Create the virtualhost directive in /usr/local/apache2/conf/extra/httpd-vhosts.conf:

    <VirtualHost *:80>
      ServerName ads.example.com
      DocumentRoot /var/websites/ads.example.com/htdocs/openx-2.8.7

      <Directory /var/websites/ads.example.com/htdocs/openx-2.8.7>
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
      </Directory>
      ErrorLog /var/websites/ads.example.com/logs/ads-error_log
      CustomLog /var/websites/ads.example.com/logs/ads-access_log combined
    </VirtualHost>

  • Lighttpd
    var.basedir = "/var/websites/ads.example.com/"
    server.document-root = basedir + "htdocs/openx-2.8.7"
    accesslog.filename = basedir + "logs/access.log"

Restart the web server:

svc -t /service/apache

Create a database for OpenX to use:

/usr/local/mysql/bin/mysqladmin -u <username> -p create <databasename>

Log into the MySQL CLI and create a user for OpenX:

/usr/local/mysql/bin/mysql -u <username> -p

Create a user and grant it the appropriate privileges for your database:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, INDEX,  CREATE
TEMPORARY TABLES, LOCK TABLES
ON databasename.*
TO 'username'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit

Installation Wizard
Using your web browser, load the site you've created - i.e. http://ads.example.com.

  • Welcome - Click Continue.
  • Terms & Privacy Policy - Click I Agree.
  • System Check - Any errors on this page must be corrected before you can continue with the install. Then click Continue
  • Database Settings - Enter the appropriate settings for your database then click Continue. If the database tables are properly created, the next page will have another Continue link.
  • Configuration checklist - You can adjust the default paths for various pages. Click Continue when done.
  • Administrator Account - Provide the appropriate information to create an administrative user then click Continue.

Once the configuration is complete, you can login into the Admin section of OpenX.

Recent Updates

  • PHP
    1 year 8 months ago
    PHP 7.4
  • 1 year 9 months ago
    MariaDB 10.4.12
  • 1 year 9 months ago
    Dovecot 2.3.10
  • 1 year 9 months ago
    CentOS 6 revisions
  • 1 year 9 months ago
    Copy of the revision from Wed, 08/22/2018 - 13:39.