• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install RackTables on CentOS 7

2037

To install RackTables on CentOS 7

RackTables is a data center and server room asset management system. It is a robust solution for data center/server room asset management and helps document hardware assets, network addresses, space in racks, networks configuration and much more. It can also list all the devices in the system, keeps tracks of all racks, mounts the devices into racks, maintain physical ports of devices and document the firewall. This tutorial covers the installation process of RackTables on CentOS 7.

Pre- Requisite

LAMP (Apache, PHP, MySQL)
PHP modules : php70w php70w-mysqlnd php70w-pdo php70w-gd php70w-snmp php70w-mbstring php70w-bcmath php70w-ldap
In MySQL module, create a database and a user and give privileges to user for RackTables.

Installation procedure

To proceed with the installation procedure, change the character set in MySQL server to UTF8 to enable Unicode in the MySQL server by opening the server.cnf file and make the following changes. Save and exit the file.

[root@linuxhelp Desktop]# vim /etc/my.cnf.d/server.cnf

#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#

# this is read by the standalone daemon and embedded servers
[server]

character-set-server = utf8
collation-server = utf8_general_ci
skip-character-set-client-handshake

# this is only for the mysqld standalone daemon
[mysqld]

# this is only for embedded server
[embedded]

# This group is only read by MariaDB-5.5 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don' t understand
[mysqld-5.5]

# These two groups are only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]

[mariadb-5.5]

Create a RackTable user by running the following command.

[root@linuxhelp Desktop]# useradd -s /sbin/nologin -c " RackTables User"  -m -d /home/racktables racktables

Download the Racktables package by executing the wget command followed by the download link.

[root@linuxhelp Desktop]# wget https://nchc.dl.sourceforge.net/project/racktables/RackTables-0.20.14.tar.gz
--2017-10-19 14:33:34--  https://nchc.dl.sourceforge.net/project/racktables/RackTables-0.20.14.tar.gz

Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 956477 (934K) [application/x-gzip]
Saving to: ‘ RackTables-0.20.14.tar.gz’ 

100%[======================================> ] 9,56,477     198KB/s   in 4.7s   

2017-10-19 14:33:40 (198 KB/s) - ‘ RackTables-0.20.14.tar.gz’  saved [956477/956477]

Extract the downloaded package using tar command.

[root@linuxhelp Desktop]# tar -xvzf RackTables-0.20.14.tar.gz 
RackTables-0.20.14/
RackTables-0.20.14/COPYING
RackTables-0.20.14/ChangeLog
RackTables-0.20.14/LICENSE
RackTables-0.20.14/Makefile
RackTables-0.20.14/README
RackTables-0.20.14/README.Fedora
RackTables-0.20.14/README.md
.
.
RackTables-0.20.14/wwwroot/pix/tango-view-refresh-32x32.png
RackTables-0.20.14/wwwroot/pix/unchecked.png
RackTables-0.20.14/wwwroot/pix/virtualresources.png

Copy the extracted file to HTML location by running the following command.

[root@linuxhelp Desktop]# cp -rf RackTables-0.20.14/ /var/www/html/

Change the ownership of file in HTML location.

[root@linuxhelp html]# chown -R apache.apache RackTables-0.20.14

Create the racktables.conf file under the Apache configuration directory with the following contents.

[root@linuxhelp html]# vim /etc/httpd/conf.d/racktables.conf

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
< virtualhost *:80> 
servername racktables.abc
documentroot /var/www/html/RackTables-0.20.14/wwwroot/
< Directory /var/www/html/RackTables-0.20.14/wwwroot/> 
   DirectoryIndex index.php
   Require all granted
< /Directory> 

Alias /racktables /var/www/html/RackTables-0.20.14/wwwroot/
< /virtualhost> 

Create the entry in hosts file using vim editor and enter the following contents in the file and save it.

[root@linuxhelp Desktop]# vim /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.7.240  racktables.abc

Restart the Apache service.

[root@linuxhelp html]# systemctl restart httpd

Create a secret.php file in the following location by running the following command.

[root@linuxhelp html]# touch /var/www/html/RackTables-0.20.14/wwwroot/inc/secret.php

Change the permission of secret.php file by executing the following command.

[root@linuxhelp html]# chmod 666 /var/www/html/RackTables-0.20.14/wwwroot/inc/secret.php

For installing racktables, open the browser and enter the URL as http://racktables.abc/racktables/?module=installer. The installation procedure of RackTables appears on the screen.
installation procedure

The list of dependencies are shown to the user and if everything is done. Click proceed option.
dependencies

Enter the following details to create a database for RackTables and click retry option.
database

The configuration file has been done successfully. click proceed option to navigate to next page.
proceed

Next change the permission of file secret.php by executing the following command.

[root@linuxhelp html]# chmod 755 /var/www/html/RackTables-0.20.14/wwwroot/inc/secret.php

After changing the ownership and permissions of the file, the browser appears like below. click proceed option.
after permission

The created database is being initialized and click proceed option to go to next page.
installation in progress

Set the admin password and click retry option.
admin password

The password has been set and now to install racktables click proceed option.
install racktables

To open the racktables application, click proceed option.
installation complete

Enter the admin privileges in the pop-up window and click ok.
admin privileges

The RackTables dashboard appears on the screen.

racktables dashboard

Thus we conclude the installation procedure of RackTables on CentOS 7.

Tags:
lincoln
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

what are its initial requirements of Rack table?

A

The basic requirements for Ractables are as follows,
LAMP (Apache, PHP, MySQL)
In PHP modules : php70w php70w-mysqlnd php70w-pdo php70w-gd php70w-snmp php70w-mbstring php70w-bcmath php70w-ldap

Q

Why does the SNMP sync feature return Unknown OID on Rack Table?

A

RackTables only supports some specific switch models, and yours is not one of them.

Q

Rack thumb images are broken while getting displayed?

A

A misformatted local.php extension file. For images to work correctly, every PHP file of your RackTables, which begins with tag, CAN NOT have a newline after the tag.

Q

What is RackTable?

A

RackTables is a data center and server room asset management system. It is a robust solution for data center/server room asset management and helps document hardware assets, network addresses, space in racks, networks configuration and much more. It can also list all the devices in the system, keeps tracks of all racks, mounts the devices into racks, maintains physical ports of devices and document the firewall.

Q

What version of PHP is recommended for Racktables?

A

Php 5.6 and above is recommended for Racktables.

Related Tutorials in How to install RackTables on CentOS 7

Related Tutorials in How to install RackTables on CentOS 7

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install RackTables on CentOS 7

Related Forums in How to install RackTables on CentOS 7

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018

Related News in How to install RackTables on CentOS 7

Related News in How to install RackTables on CentOS 7

Netgear router vulnerability issue and bugs in Linux app: IT leaders need to be aware.
Netgear router vulnerability issue and bugs in Linux app: IT leaders need to be aware.
Feb 6, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.