AssetTrackDB Install on Ubuntu 22.04

1. Install Ubuntu 22.04

2. Update

sudo apt update
sudo apt upgrade

3. Install Apache, MySQL, PHP

sudo apt install apache2
sudo apt install mysql-server
sudo apt install php libapache2-mod-php php-mysql

4. Set root Password for MySQL:

mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'CHANGEMe';

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

sudo mkdir /var/www/html/asset

6. Download Asset:

wget https://www.assettrackdb.com/files/AssetTrackDB_R22.tar

7. Extract the downloaded file to the folder created in step 3.

sudo tar xf AssetTrackDB_R22.tar -C /var/www/html/asset/

8. Change permissions of install location

sudo chown -R www-data /var/www/html/asset

9. Change directory to AssetTrackDB file location

cd /var/www/html/asset/

10. Run setup script and follow instructions

sudo ./runsetupscript.sh

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

Login with default credentials
Username: admin
Password: pass