Posts

Showing posts from April, 2014

Racktable on ubuntu installation

Racktable dependency packages :- rajeshp@ubuntu01:~$sudo apt-get install apache2 apache2.2-common libapache2-mod-php5 \ php5-snmp php5-ldap php5 php5-common php5-gd curl php5-mysql \ mysql-client mysql-common mysql-server \ Add user for Racktable:- rajeshp@ubuntu01:~$sudo useradd -u 4000 -g users -s /sbin/nologin -c "RackTables User" -md /home/racktables racktables MYSQL for Racktables :- mysql> create database racktables; mysql> grant all on racktables.* to root; mysql> grant all on racktables.* to root@localhost; mysql> grant all on racktables.* to rackuser; mysql> grant all on racktables.* to rackuser@localhost; mysql> grant all on racktables.* to 'rackuser'@'localhost' identified by 'rackpw'; mysql> exit chown www-data:www-data secret.php; chmod 400 secret.php

Query Package pre-installed or not - Ubuntu

rajeshp@ubuntu01:~$ dpkg-query -l |grep apache ii  apache2                             2.4.6-2ubuntu2.2                 amd64        Apache HTTP Server ii  apache2-bin                         2.4.6-2ubuntu2.2                 amd64        Apache HTTP Server (binary files and modules) ii  apache2-data                        2.4.6-2ubuntu2.2                 all          Apache HTTP Server (common files) or, simply use  rajeshp@ubuntu01:~$  dpkg-query -l              //For all the installed packages in current server If you know the package name :- ...