![]() Installing Data Center Audit on UNIX/LINUX
1. Download the UNIX version of Data Center Audit. It should be a file named dca_setup<version>.tar.gz Prerequisites
If you do not know how to compile Apache,PHP,MySQL, there are many resources on the internet if you go to http://google.com and search on "apache,php,mysql". CLICK HERE for an outline of how to compile apache, php, mysql on RedHat Linux
After you have your Web server with PHP,MySQL installed and running, here is how to proceed with Data Center Audit. #cd /tmp .... # ls Now it is time to test MySQL For example: assming the ROOT password is 'password' # mysql -u root -p password -e"show databases"; # mysql -u root -phitachi -e"show databases" Now it is time to create the dca database. # mysql -u root -ppassword -e"create database dca";
Now it is time to grant privileges to the user that dca will use to pull/extract and change information in the database. In the below example it illustrates using user "labuser" with password "somepass"
mysql> show grants for labuser;
You need to verify the permissions were set by doing # mysql -u root -ppassword -e"use mysql; select * from user where User='labuser';" If the above do not show "Y" on the Select_priv, Insert_priv, Update_priv, Create_priv, and Delete_priv, then you may need to MANUALL set them by doing: mysql> update user set Update_priv='Y',Select_priv='Y',Delete_priv='Y',Create_priv='Y',Insert_priv='Y'
where User='labuser';
Now we can create the database # cd dca
Now it is time to launch Data Center Audit. Go to your browser and put in the URL of your web server plus the "/dca"directory. i.e. http://<somehost>/dca
This screen indicates that the dca_config.php and dca_db.php files have been built. The config file contains all required configuration information for the product,
and the db.php file contains mySQL database login information. Now you may proceed with instructions from the Operations Guide |