Ubuntu 12.04 Installation Instructions

Tested: 2/24/2016

  • AssetTrackDB R19
  • Fresh install from ubuntu-12.04.5-server-amd64.iso
  • OpenSSH server, LAMP Server selected during install.

Prerequisites: Apache, PHP, MySQL, php5-mcrypt

For help installing Apache, PHP and MySQL on Ubuntu 12.04 click here.

php5-mcrypt Installation:

sudo apt-get install php5-mcrypt
sudo service apache2 restart

Note: If you encounter this message when installing php5-mcrypt

E: Package 'php5-mcrypt' has no installation candidate

Try this:

sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sudo apt-get install php5-mcrypt
sudo service apache2 restart

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

sudo mkdir /var/www/asset

2. Download AssetTrackDB

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

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

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

4. Change directory to AssetTrackDB file location

cd /var/www/asset/

5. Run setup script and follow instructions

sudo ./runsetupscript.sh

6. Set owner of asset directory and contents

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

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

Default Username: admin
Default Password: admin

8. Update Database

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