Install WB News

To install WB News you will need to download the install archive file.

It is suggested that the archive is extracted into a clean directory in your Document Root e.g. news. Extracting it normally will create a wbnews directory. We should copy all the files back into the news directory than remove the wbnews directory. Once we have copied the files we need to chmod with read and write permissions the config.php and tmp directory.

$ mkdir news
$ cd news
$ unzip wbnews_xxxx.zip
$ mv wbnews/* .
$ mv wbnews/.htaccess .
$ rm -rf wbnews
$ chmod 777 config.php tmp

If you cannot chmod the config.php because it doesn't exist you can create the blank file like this

$ touch config.php

Database

Before you can continue with the installation you will need to choose what database you will be using either MySQL or PostgreSQL. Please see System Requirements for what versions are supported.

You will than need to create a database with user privileges of at least

  • SELECT
  • INSERT
  • UPDATE
  • DELETE
  • CREATE
  • DROP
  • INDEX
  • ALTER

Install

You can now install WB News to your system via http://localhost/news/install/install.php.

If you get redirected to upgrade.php it means the config.php already has a valid WB News configuration file and you will need to empty this to properly install.

The installation process should begin going through the following steps.

  1. File Check
  2. Database Information
  3. Install the Database Schema and basic configuration
  4. Setup Administrator user and final setup
  5. Complete

File Check

The file check is a basic step which only checks to make sure you have all the correct files as well as permissions. You will not be able to proceed beyond this step if you do not. Please read the errors properly so you can fix it.

Database Information

You will need to enter the database information such as username, password, name, and database type so you can install the schema and data. You can also setup a table prefix so you do not overwrite existing tables by accident. It is recommended that you keep the default or change it if you know what you are doing.

Database Schema

Will create the necessary tables into the database and insert the default configuration, menus required to run WB News. If you get any errors during this step you will need to clean your database from any tables created and report the bugs. Please see How to report a bug

Setup Administrator user and final setup

Now you can create your Super Administrator account. This user has all access to WB News so it is suggested that you create this with a secure password.

Complete

Once you get to this step assuming you have no errors, WB News has been succesfully installed and now you can implement it into your site and add News articles.

 
manual/installation-upgrade/install.txt · Last modified: 2009/01/24 23:06 by paul
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki