r1217 + support IOS 12.2 on edge Cisco switches
[racktables] / INSTALL
1 This file describes installation process for RackTables 0.14.6
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 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-auth.sql
22 $ rm -f install/init-auth.sql
23 mysql> source install/init-dictbase.sql
24 mysql> source install/init-dictvendors.sql
25 mysql> grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ';
26
27 Make sure your inc/secret.php matches real values you used in the above request.
28
29 IV. Customisation
30 mysql> update Config set varvalue = 'YourName' where varname = 'enterprise'
31 (Will be changed to a more cenvenient way in next versions.)
32
33 IV. $ rm -f install/init-auth.sql
34 (Just to be sure you did.)