« Download | Index | Support »

Onpub - Install

First make sure that the system you will run Onpub on meets the Requirements. Then Download the Onpub package in the format of your choice.

Extract the Onpub download package to one of your web server's public directories. Extracting the download package will result in a directory called onpub.

Database Setup

Once you have downloaded and extracted Onpub, make sure that your database is setup correctly so Onpub can connect to it when you login. By default Onpub comes configured to connect to a MySQL server running on the same machine that Onpub is installed on (called localhost or 127.0.0.1).

Onpub requires that you have a MySQL account. Your MySQL account should be configured to have full read/write access to a database, which can be named anything you want (for example, the name of the database we store our website in is simply called, onpubco). We suggest that you name the database after the name of your website, or you can use a database that is already setup and that you have full access rights to (most shared web hosting accounts will have this).

See Adding New User Accounts to MySQL for more info about setting up accounts in MySQL.

Logging In

Once you have a MySQL account and database setup, all you need to do is point your web browser to where you installed Onpub. For example, if you installed Onpub in the main public web server directory on localhost, you would point your web browser to: http://localhost/onpub/index.php

You should now be at the Login screen. In the Database field, enter the name of the MySQL database you want to connect to. In the Username field, enter your MySQL username. In the Password field, enter your MySQL password, then click Login.

Install the Schema

The first time you successfully log in to Onpub, you are greeted with the Welcome screen. Be sure to click the Install missing tables link to install the Onpub tables in MySQL. Once the Onpub database schema is installed, you are ready to start creating content using Onpub.


Onpub 0.8.6, © 2007 Onpubco.