Commit | Line | Data |
---|---|---|
fb682e85 | 1 | This file describes installation process for RackTables 0.14.7 |
e673ee24 DO |
2 | |
3 | I. Dependencies. | |
4 | ||
ee01ef0c | 5 | For database you must have a MySQL server installation version 4.x or 5.x: |
e673ee24 DO |
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: | |
cd665af1 | 10 | Fedora 6: # yum install httpd php php-mysql php-pdo php-gd |
e673ee24 DO |
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. | |
43d8df1a | 15 | 2. Edit install/init-auth.sql and change admin password |
e673ee24 DO |
16 | |
17 | III. Database setup | |
30339491 | 18 | mysql> create database_name; |
e673ee24 DO |
19 | mysql> use database_name; |
20 | mysql> source install/init-structure.sql | |
8d068153 | 21 | mysql> source install/init-config.sql |
e673ee24 | 22 | mysql> source install/init-auth.sql |
43d8df1a | 23 | $ rm -f install/init-auth.sql |
e673ee24 DO |
24 | mysql> source install/init-dictbase.sql |
25 | mysql> source install/init-dictvendors.sql | |
30339491 DO |
26 | mysql> grant all privileges on database_name.* to XXX@YYY identified by 'ZZZ'; |
27 | ||
28 | Make sure your inc/secret.php matches real values you used in the above request. | |
e673ee24 | 29 | |
43d8df1a DO |
30 | IV. $ rm -f install/init-auth.sql |
31 | (Just to be sure you did.) |