r1106 importing RackTables trunk
[racktables] / INSTALL
1 This file describes installation process for RackTables 0.14.5
2
3 I. Dependencies.
4
5 For database you must have a MySQL server installation version 4.0 or 5.0:
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
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. Go into 'inc' directory, copy secret-sample.php to secret.php and modify accordingly.
16 3. Edit install/init-auth.sql and change admin password
17 4. Change $enterprise in inc/config.php
18
19 III. Database setup
20 mysql> use database_name;
21 mysql> source install/init-structure.sql
22 mysql> source install/init-auth.sql
23 mysql> source install/init-dictbase.sql
24 mysql> source install/init-dictvendors.sql
25
26 IV. Remove install/init-auth.sql