r1992 + switchvlans and slbconfig gateways now rely on the higher-level RackCode...
[racktables] / README
CommitLineData
de8695b2
DO
1Thank you for selecting RackTables as your datacenter management
2solution. Feel free to address your questions to the mailing list
3before contacting the authors directly. The project web-site
4(http://racktables.org/) is usually kept up to date with the
2dfc597c 5current version and URLs.
de8695b2
DO
6
7Mailing list: <racktables-users/=@=/freelists.org>
2dfc597c 8Bug tracker and Wiki: http://racktables.org/trac
de8695b2
DO
9Authors: <info/=@=/racktables.org>
10
11*******************************************************
12* *
13* INSTALLING RACKTABLES *
14* *
15*******************************************************
16
17I. Dependencies.
18
19For database you must have a MySQL server installation version 4.x or 5.x:
20Fedora Core 6: yum install mysql-server mysql
21Fedora 8: yum install mysql-server mysql
22ALTLinux Compact 3.0: apt-get install MySQL-server MySQL-client
23ALTLinux Desktop 4.0: apt-get install MySQL-server
24
25For web-frontend you must have Apache and PHP 5 with PDO extension:
26Fedora Core 6: # yum install httpd php php-mysql php-pdo php-gd
27Fedora 8: yum install httpd php php-mysql php-pdo php-gd php-snmp
28
c2d46542
DO
29
30II. Prepare the server.
de8695b2
DO
311. Unpack the tarball and make it web-accessible, e.g. http://yourcompany.com/racktables
32or http://racktables.mysite.org.
c2d46542
DO
332. mysql> create database_name; grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ';
34
35
36There are two mutually exclusive ways to install RackTables, they are described as III-A and III-B.
37
38
39III-A. HTTP installation (starting with 0.14.12 release)
40Open your RackTables URL and follow the instructions. In a suitable
41environment everything should take a minute or so.
42
de8695b2 43
c2d46542
DO
44III-B. Manual installation.
451. Edit install/init-auth.sql and change admin password
46
472. Init database.
de8695b2
DO
48mysql> use database_name;
49mysql> source install/init-structure.sql
50mysql> source install/init-auth.sql
51$ rm -f install/init-auth.sql
52mysql> source install/init-dictbase.sql
53mysql> source install/init-dictvendors.sql
de8695b2 54
c2d46542 553. Edit inc/secret.php
de8695b2 56
c2d46542 574. $ rm -f install/init-auth.sql
de8695b2
DO
58(Just to be sure you did.)
59
60*******************************************************
61* *
62* UPGRADING RACKTABLES *
63* *
64*******************************************************
65RackTables now provides an automatic database upgrade feature.
66If you already have a working installation, the following
67procedure should be sufficient:
68
690. BACKUP YOUR DATABASE
701. Remove all existing files except inc/secret.php and gateways'
71 configuration (in the gateways directory).
722. Unpack the new tarball into the place.
733. Open the RackTables page in your browser.
744. Follow instructions. Normally, everything should be Ok. If it
75 is not so, write down the failed quieries for further investigation.
7fc5565c 76
c2d46542
DO
77*******************************************************
78* *
79* RELEASE NOTES *
80* *
81*******************************************************
82
7fc5565c
DO
83Upgrading to 0.14.12
84The upgrade may show a failed query "alter database character set utf8", in
85this case the user should issue the query manually from the mysql command
86line.