Note: At the second time when I tried to install Racktables to Ubuntu 16.04 I had problem about database so, I offer to install Racktables to Ubuntu 14.04 by using the same parameters on that page
Related issue:
Table of Contents
Download depencencies
1 |
apt-get install apache2 php5-snmp php5-ldap php5 php5-common php5-gd php5-mysql |
If you have problem with packages try to install php7.0 and check below
Download Racktables from sourceforge
Check it link is the latest version while downloading
1 2 3 |
mkdir DownloadFolder wget --no-check-certificate https://sourceforge.net/projects/racktables/files/RackTables-0.20.11.tar.gz/download #check newer version from their website mv download RackTables-0.20.11.tar.gz |
1 |
tar -xvzf RackTables-0.20.11.tar.gz sudo cp -r RackTables-0.20.11/wwwroot /var/www/racktables |
Configure Apache server
After that you have to make some changes about apache server
1 2 |
sudo vi /etc/apache2/sites-enabled/000-default.conf sudo service apache2 restart ;sudo service apache2 status |
Than change your DocumentRoot with
1 |
DocumentRoot /var/www/racktables |
Install Mysql for saving datas of Racktables
1 |
#apt-get install mysql-client mysql-common mysql-server |
- Give a password for your mysql
Almost finish, after that step you have to login http://yourip.com/ than there will be few steps which is really easy and well explained about what you have to do,
Just be careful
- Being in correct folder(For our configuration it is /var/www/racktables/inc/) while executing commands about
- If you have a already mysql in your environment check which port is it use
- If you have a problems about check this page1
That’s all we installed our Racktables
See you!!
For more informations use links at below:
https://github.com/RackTables/racktables
Footnotes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
libapache2-mod-php install libapache2-mod-php7.0 install php install php-bcmath install php-common install php-mbstring install php-mcrypt install php-mysql install php7.0 install php7.0-bcmath install php7.0-cli install php7.0-common install php7.0-gd install php7.0-json install php7.0-mbstring install php7.0-mcrypt install php7.0-mysql install php7.0-opcache install php7.0-readline install |