The following information may have errors; It is not permissible to be read by anyone who has ever met a lawyer. Use should also be confined to Engineers with more than 370 course hours of electronic engineering and should only be used for theoretical studies. All content entered becomes and is (C)2007 Transtronics, Inc. the property of Transtronics, Inc. Rest assured that your contributions won't be sold and will be publicly available.

Phreebooks Software Installation

From Transwiki

Jump to: navigation, search

Contents

[edit] Prerequisites

[edit] mysql

mysql > 4 Open the mysql shell and:

  • Create a table for your company name as below where company = your database name. Capitalization counts!
CREATE DATABASE company;
  • Create a user
CREATE USER 'phreebooks_user'@'localhost';
  • Set passwrod for the user.
set password for 'phreebooks_user'@'localhost' = password('user-password')
  • It is good practice here is to limit the privileges to the database company to protect other databases.
GRANT ALL PRIVILEGES ON company.* TO 'phreebooks_db_user'@'localhost' WITH GRANT OPTION;

[edit] php

PHP Version: 5.0 and higher

On Debian you will want to add support for mysql, gd, and curl

Wajig install php-curl php-gd php5-mysql

[edit] apache

Just point to the Phreebooks directory

Continue with Phreebooks Company setup

[edit] Installation

Point your browser to the top directory and follow instructions.

[edit] Upgrading R1.2.1 to R1.3

Expand the tarball into a new directory.

From the old installation directory to the new one - Copy

includes/configure.php
my_files/

Point apache at the new Phreebooks directory.

Make sure the privileges are set to read-only for configure.php. The database is upgraded automatically.

Personal tools