r1318 + hacked getFaviconURL() to return working URL
[racktables] / INSTALL
1 This file describes installation process for RackTables 0.14.7
2
3 I. Dependencies.
4
5 For database you must have a MySQL server installation version 4.x or 5.x:
6 Fedora6: # yum install mysql-server mysql
7 ALTLinux Compact 3.0: apt-get install MySQL-server MySQL-client
8
9 For web-frontend you must have Apache and PHP 5 with PDO extension:
10 Fedora 6: # yum install httpd php php-mysql php-pdo php-gd
11
12 II. Layout
13 1. Unpack the tarball and make it web-accessible, e.g. http://yourcompany.com/racktables
14 or http://racktables.mysite.org.
15 2. Edit install/init-auth.sql and change admin password
16
17 III. Database setup
18 mysql> create database_name;
19 mysql> use database_name;
20 mysql> source install/init-structure.sql
21 mysql> source install/init-config.sql
22 mysql> source install/init-auth.sql
23 $ rm -f install/init-auth.sql
24 mysql> source install/init-dictbase.sql
25 mysql> source install/init-dictvendors.sql
26 mysql> grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ';
27
28 Make sure your inc/secret.php matches real values you used in the above request.
29
30 IV. $ rm -f install/init-auth.sql
31 (Just to be sure you did.)