Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Server inventory with racktables

Leer en espanol
Server inventory with racktables

Table of contents

Racktables is an asset management solution for data centers and server rooms. Helps document hardware assets, network addresses, rack space and network configuration. With RackTables you can get a list of all hardware, the number of assets and barcodes it has, tags assigned to devices and search at any time based on various filtering rules. You can organize your hardware in racks of different properties, group racks in rack rows, check free space, and mark unusable drives. Document the use of your address range, assign addresses to devices and you will always remember who and why is using that address.

This tool You only need a server with PHP and MySQL

We are not going to implement on a XAMPP server

We download Rack Tables

Bash
rokitoh@red-orbita: # wget http://downloads.sourceforge.net/project/racktables/RackTables-0.20.4.tar.gz

We decompress

Bash
rokitoh@red-orbita: # tar xvf RackTables-0.20.4.tar.gz

We move Racktables

Debian and derivatives:

Bash
rokitoh@red-orbita: # mv RackTables-0.20.4/wwwroot /var/www/racktables

RedHat and derivatives:

Bash
rokitoh@red-orbita: # mv RackTables-0.20.4/wwwroot /var/www/html/racktables

XAMPP:

Bash
rokitoh@red-orbita: # mv RackTables-0.20.4/wwwroot /opt/lampp/htdocs/racktables

We connect to MySQL:

XAMPP

Bash
rokitoh@red-orbita: # /opt/lampp/bin/mysql -u root -p

Redhat, Debian and derivatives:

Bash
rokitoh@red-orbita: # mysql -u root -p

We create the Database

Bash
create database racktables;

grant all on racktables.* to root;

grant all on racktables.* to root@localhost;

grant all on racktables.* to rackuser;

grant all on racktables.* to rackuser@localhost;

set password for rackuser@localhost=password(‘temporal’);

exit

We create and give permissions to the secret.php file

Debian and derivatives:

Bash
rokitoh@red-orbita: # touch /var/ww/racktables/inc/secret.php

rokitoh@red-orbita: # chmod 666 touch /var/ww/racktables/inc/secret.php

Redhat and derivatives:

Bash
touch /var/ww/html/racktables/inc/secret.php

chmod 666 touch /var/ww/html/racktables/inc/secret.php

XAMPP

Bash
rokitoh@red-orbita: # touch /opt/lampp/htdocs/racktables/inc/secret.php

rokitoh@red-orbita: # chmod 666 /opt/lampp/htdocs/racktables/inc/secret.php

We access the following URL:

text
http://DIRECCION_IP/racktables/?module=installer

We execute: proceed

Captura

It shows us our configuration. Proceed

Captura1

We fill out the form with the data from the database created previously.

Captura2

 It tells us that the configuration file has been successfully written.

Captura3

 start the database

Captura4

 We assign a password to the administrator

Captura5

Captura6

The installation is completed…We press Proceed

Captura7

It shows us a panel where we log in with the admin user and the password that we have assigned in previous steps.

Captura8

But log in shows us the administration panel.

Captura9

Regards, Rokitoh

:wq!

Comments