RackTables on Ubuntu 16.04

 

Step 1:

sudo -s

Step 2:

apt-get install mysql-server

Step 3:

printf “[mysqld]\ncharacter-set-server=utf8\n” > /etc/mysql/conf.d/charset.cnf; service mysql restart

Step 4:

apt-get install apache2-bin libapache2-mod-php7.0 php7.0-gd php7.0-mysql php7.0-mbstring php7.0-bcmath php7.0-json php7.0-snmp

Step 5:

cd /home/….

Step 6:

wget https://downloads.sourceforge.net/project/racktables/RackTables-0.20.13.tar.gz

Step 7:

tar -xf RackTables-0.20.13.tar.gz

Step 8:

mv ./RackTables-0.20.13 /var/www/html

Step 9:

cd /var/www/html

ln -s RackTables-0.20.13 racktables

Step 10:

nano /etc/apache2/sites-available/000-default.conf

Step 11:

DocumentRoot /var/www/html/racktables/wwwroot

Step 12:

/etc/init.d/apache2 restart

Step 13:

touch ‘/var/www/html/RackTables-0.20.13/wwwroot/inc/secret.php’; chmod a=rw ‘/var/www/html/RackTables-0.20.13/wwwroot/inc/secret.php’

Step 14:

mysql -u root -p

Step 15:

CREATE DATABASE racktables_db CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON racktables_db.* TO racktables_user@localhost IDENTIFIED BY ‘MY_SECRET_PASSWORD’;

Step 16:

Start the Installation goto http://yourRackTablesServer

Step 17:

/var/www/html/racktables/wwwroot/inc# chown www-data:nogroup secret.php; chmod 440 secret.php

 

 

That´s IT

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*