Revision of Installation from Fri, 07/10/2009 - 13:29

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Installation instructions for OpenX 2.6.4.

System Requirements

Installation
From the OpenX installation documentation.

cd /extra/src
wget http://download.openx.org/openx-2.8.0.tar.gz
tar zxf openx-2.8.0.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

Copy the OpenX source code to the htdocs directory:

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

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.0

<Directory /var/websites/ads.example.com/htdocs/openx-2.8.0>
  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>

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

  • 2 years 1 week ago
  • 2 years 1 week ago
  • 2 years 1 week ago
    php 8.x
  • 2 years 1 week ago
    10.6.7
  • 2 years 2 weeks ago
    Drop Centos 5/6 stuff