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