Koozali.org: home of the SME Server

Install RackTables on sme8

Offline larieu

  • ****
  • 214
  • +0/-0
Install RackTables on sme8
« on: September 02, 2012, 09:21:24 AM »
I've managed to install RackTables http://www.racktables.org/ on SME8

The install process is quite straight forward


login into your web management interface (http://yourserser/server-manager) and create one i-bay named racktables
for the moment with local access with write right for all (you can change this later)

then login into your ssh console as root

install dependencies (many of them are probably already on your system - it doesn't hurt to give yum install command if you already have them)

Code: [Select]
yum install --enablerepo=smetest httpd php php-mysql php-pdo php-gd php-snmp php-mbstring
also the classical signal-event post-upgrade; signal-event-reboot

the smetest was needed because php-common dependencies which in the moment I have tried was found only there
you also can download locally and install it from local hdd

download the RackTables-xxxx.tar.gz (in this moment the stable version is RackTables-0.19.4.tar.gz) into one convenient place
for me is the i-bay with all "local stuff" you can change with /tmp

Code: [Select]
cd /home/e-smith/ibays/gramada/files
wget http://downloads.sourceforge.net/project/racktables/RackTables-0.19.13.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fracktables%2Ffiles%2F&ts=1345784298&use_mirror=garr
tar xvzf RackTables-0.19.4.tar.gz
mv ./RackTables-0.19.4/wwwroot /home/e-smith/files/ibays/racktables/html/

create database and set user for database
(change your own data here)

Code: [Select]
mysql -uroot
Code: [Select]
create database racktables;
grant all on racktables.* to root;
grant all on racktables.* to root@localhost;
grant all on racktables.* to racktbluser;
grant all on racktables.* to racktbluser@localhost;
set password for racktbluser@localhost=password('racktblpw');
exit

go to webpage

http://yourserver/racktables

you'll be prompted to go to install (push proceed) on step 1/6
also to step 2/6 ( here you can see if you'll need other things to be set into your system - as example snmp )

at step 3/6 you'll need to login into console and issue this commands

Code: [Select]
touch /home/e-smith/files/ibays/racktables/html/inc/secret.php
chmod 666 /home/e-smith/files/ibays/racktables/html/inc/secret.php

don't issue this before this moment (Racktables will be tricked that you already have an working instance if you'll do it prior to this moment)

now go again at web interface
and proceed the next steps until finish

at the end you'll need to issue this command in console

Code: [Select]
db accounts setprop racktables PHPBaseDir '/home/e-smith/files/ibays/racktables/:/tmp/'
signal-event remoteaccess-update

this is needed if you'll like to upload files onto various devices - otherwise I don't see any other need for the tmp folder access
« Last Edit: September 02, 2012, 11:15:23 AM by larieu »
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline Bud

  • *
  • 487
  • +0/-0
Re: Install RackTables on sme8
« Reply #1 on: September 10, 2012, 10:51:40 AM »
larieu thanks for your info

i am running on sme 8 server mode only
i am very interested in the project however when i get to step four this is the error i get

RackTables installation: step 4 of 6

InnoDB test failed! Please configure MySQL server properly and retry.

any help greatly appreciated

Offline Stefano

  • *
  • 10,839
  • +2/-0

Offline larieu

  • ****
  • 214
  • +0/-0
Re: Install RackTables on sme8
« Reply #3 on: September 10, 2012, 11:49:19 AM »
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline Bud

  • *
  • 487
  • +0/-0
Re: Install RackTables on sme8
« Reply #4 on: September 13, 2012, 06:14:50 AM »
stefano and larieu

thanks for your support and help, much appreciated  :)

sme 8 is simply great!