Commit | Line | Data |
---|---|---|
de8695b2 DO |
1 | Thank you for selecting RackTables as your datacenter management |
2 | solution. Feel free to address your questions to the mailing list | |
3 | before contacting the authors directly. The project web-site | |
4 | (http://racktables.org/) is usually kept up to date with the | |
5 | current version and URLs. And we've got a bugtracker finally :) | |
6 | ||
7 | Mailing list: <racktables-users/=@=/freelists.org> | |
8 | Bug tracker and Wiki: http://trac.racktables.org/trac | |
9 | Authors: <info/=@=/racktables.org> | |
10 | ||
11 | ******************************************************* | |
12 | * * | |
13 | * INSTALLING RACKTABLES * | |
14 | * * | |
15 | ******************************************************* | |
16 | ||
17 | I. Dependencies. | |
18 | ||
19 | For database you must have a MySQL server installation version 4.x or 5.x: | |
20 | Fedora Core 6: yum install mysql-server mysql | |
21 | Fedora 8: yum install mysql-server mysql | |
22 | ALTLinux Compact 3.0: apt-get install MySQL-server MySQL-client | |
23 | ALTLinux Desktop 4.0: apt-get install MySQL-server | |
24 | ||
25 | For web-frontend you must have Apache and PHP 5 with PDO extension: | |
26 | Fedora Core 6: # yum install httpd php php-mysql php-pdo php-gd | |
27 | Fedora 8: yum install httpd php php-mysql php-pdo php-gd php-snmp | |
28 | ||
29 | II. Layout | |
30 | 1. Unpack the tarball and make it web-accessible, e.g. http://yourcompany.com/racktables | |
31 | or http://racktables.mysite.org. | |
32 | 2. Edit install/init-auth.sql and change admin password | |
33 | ||
34 | III. Database setup | |
35 | mysql> create database_name; | |
36 | mysql> use database_name; | |
37 | mysql> source install/init-structure.sql | |
38 | mysql> source install/init-auth.sql | |
39 | $ rm -f install/init-auth.sql | |
40 | mysql> source install/init-dictbase.sql | |
41 | mysql> source install/init-dictvendors.sql | |
42 | mysql> grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ'; | |
43 | ||
44 | Make sure your inc/secret.php matches real values you used in the above request. | |
45 | ||
46 | IV. $ rm -f install/init-auth.sql | |
47 | (Just to be sure you did.) | |
48 | ||
49 | ******************************************************* | |
50 | * * | |
51 | * UPGRADING RACKTABLES * | |
52 | * * | |
53 | ******************************************************* | |
54 | RackTables now provides an automatic database upgrade feature. | |
55 | If you already have a working installation, the following | |
56 | procedure should be sufficient: | |
57 | ||
58 | 0. BACKUP YOUR DATABASE | |
59 | 1. Remove all existing files except inc/secret.php and gateways' | |
60 | configuration (in the gateways directory). | |
61 | 2. Unpack the new tarball into the place. | |
62 | 3. Open the RackTables page in your browser. | |
63 | 4. Follow instructions. Normally, everything should be Ok. If it | |
64 | is not so, write down the failed quieries for further investigation. |