CentOS 7 Installation Instructions

Tested: 2/24/2016

  • AssetTrackDB R19
  • Fresh install from CentOS-7.0-1406-x86_64-Minimal.iso
  • Installed AssetTrackDB as root
  • Installed wget with: yum install wget

Prerequisites: Apache, PHP, MySQL, php5-mcrypt, open port 80

For help installing Apache, PHP and MySQL on CentOS 6.5 this guide from DigitalOcean.com works great!

php5-mcrypt Installation:

cd /tmp/ && wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum install epel-release-7-2.noarch.rpm -y
yum install php-mcrypt*
systemctl restart httpd.service

Open firewall for port 80:

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload


AssetTrackDB Install:
1. Create a folder on where the AssetTrackDB files will reside.
Example: /var/www/html/asset

mkdir /var/www/html/asset

2. Download AssetTrackDB

wget http://assettrackdb.com/files/AssetTrackDB_R19B.tar

3. Extract AssetTrackDB_R19B.tar file to the folder created in step 1.

tar xf AssetTrackDB_R19B.tar -C /var/www/html/asset/

4. Change directory to AssetTrackDB file location

cd /var/www/html/asset/

5. Run setup script and follow instructions

./runsetupscript.sh

6. Set owner of asset directory and contents

chown -R apache /var/www/html/asset 
Note: Must NOT have a / at the end of this command

7. Allow apache to write to directory

chcon -R -t httpd_sys_rw_content_t /var/www/html/asset

8. Visit AssetTrackDB site: http://serverIPorDNS/asset/

Default Username: admin
Default Password: admin

9. Update Database

Click on the "Database Update Needed" link, and then click "Run Update"