Posted by: kezhong | April 22, 2011

Installing RackTables on Fedora 14

Install MySQL
# yum install mysql-server mysql

Install Apache/PHP
# yum install httpd php php-mysql php-pdo php-gd php-snmp php-mbstring

To enable Unicode, add “character-set-server=utf8” line to “[mysqld]”
section of “/etc/my.cnf” file

Start httpd and mysqld
# service mysqld start
# service httpd start

Download and install RackTables
# cd /tmp
# wget http://sourceforge.net/projects/racktables/files/RackTables-0.19.4.tar.gz
# tar xvzf RackTables-0.19.4.tar.gz
# mv RackTables-0.19.4/wwwroot /var/www/html/racktables

# mysql -uroot -p
mysql> create database racktables;
mysql> grant all on racktables.* to root;
mysql> grant all on racktables.* to root@localhost;
mysql> grant all on racktables.* to rackuser;
mysql> grant all on racktables.* to rackuser@localhost;
mysql> set password for rackuser@localhost=password(‘rackpw’);
mysql> exit

Input the URL http://127.0.0.1/racktables/?module=installer on web browser, it displayed:

Forbidden
You don’t have permission to access /racktables/ on this server.

Disable SELinux
# setenforce 0

Reinput the URL again.

Press “proceed” button,

Press “proceed” button,

Execute the following two commands, and press “retry” button
# touch ‘/var/www/html/racktables/inc/secret.php’
# chmod 666 ‘/var/www/html/racktables/inc/secret.php’

Modify as above image, adn press “retry” button

Press “proceed” button,

Press “proceed” button,

Input the admin password as your request, and press “retry” button,

Press “proceed” button,

Press “proceed” button,

Input username and password, and press “OK” button,


Reference
RackTables Wiki


Responses

  1. Thanks,

    First I had to enable root logon on Fedora 14
    http://razibdeb.wordpress.com/2011/01/19/enable-root-login-in-fedora-14/

    I failed here, just after Racktables installation Step 3 of 6, I don’t have a secret.php to touch!

    [root@wes-vm lmulkeen]# touch ‘/var/www/html/racktables/inc/secret.php’
    touch: cannot touch `‘/var/www/html/racktables/inc/secret.php’’: No such file or directory

    [root@wes-vm lmulkeen]# chmod 666 ‘/var/www/html/racktables/inc/secret.php’
    chmod: cannot access `‘/var/www/html/racktables/inc/secret.php’’: No such file or directory

    Anyone have same problem? Workaround? …I’m close.

  2. Maybe # mv RackTables-0.19.4/wwwroot /var/www/html/racktables didn’t work, I’ll check it.

  3. OK, I solved it, I just made my own blank file and saved it.
    su gedit /var/www/racktables/wwwroot/inc/secret.php

  4. hey just touch dat file once. touch /var/www/html/racktables/inc/secret.php

  5. There may be something in the vaccinum mass media
    the initiative and terminal use? In Haryana this is the sec Ecuador constituted
    awarded villages adding up $3.85 million for on-the-job work-related
    hurts. In plot for of the Stanley Cup final exams, the ChicagoBlackhawks didn’t inside entropys, please render as much info as you can.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: