r1171 + merged second patch by Aaron
[racktables] / INSTALL
CommitLineData
e673ee24
DO
1This file describes installation process for RackTables 0.14.5
2
3I. Dependencies.
4
5For database you must have a MySQL server installation version 4.0 or 5.0:
6Fedora6: # yum install mysql-server mysql
7ALTLinux Compact 3.0: apt-get install MySQL-server MySQL-client
8
9For web-frontend you must have Apache and PHP 5 with PDO extension:
cd665af1 10Fedora 6: # yum install httpd php php-mysql php-pdo php-gd
e673ee24
DO
11
12II. Layout
131. Unpack the tarball and make it web-accessible, e.g. http://yourcompany.com/racktables
14or http://racktables.mysite.org.
152. Go into 'inc' directory, copy secret-sample.php to secret.php and modify accordingly.
163. Edit install/init-auth.sql and change admin password
174. Change $enterprise in inc/config.php
18
19III. Database setup
30339491 20mysql> create database_name;
e673ee24
DO
21mysql> use database_name;
22mysql> source install/init-structure.sql
23mysql> source install/init-auth.sql
24mysql> source install/init-dictbase.sql
25mysql> source install/init-dictvendors.sql
30339491
DO
26mysql> grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ';
27
28Make sure your inc/secret.php matches real values you used in the above request.
e673ee24
DO
29
30IV. Remove install/init-auth.sql