US-CBP / GTAS

Global Travel Assessment System | A passenger data screening and analysis system for enhancing global security
https://us-cbp.github.io/GTAS/
Other
111 stars 76 forks source link

New Installation Instructions for Core GTAS on a Virtual Machine #1859

Open dje04001 opened 4 years ago

dje04001 commented 4 years ago

How to Install core GTAS in a VirtualBox Virtual Machine Running CentOS 7

A video deomonstrating how to install core GTAS is available on YouTube at the link below.

https://youtu.be/Jj1WeVz5Cpo

Requirements

Software

Additional Hardware Requirements for Virtual Machine (Minimum)

Other

Installation

Step 1: Create Virtual Machine and Install CentOS 7

Step 2: Install VirtualBox Guest Additions and Enable File Sharing

Step 3 : Install Oracle Java SE Development Kit 8u202

This will require registering as a user with Oracle. It's free.

user: admin password: admin

Step 6: Install Apache Tomcat

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF

Step 8: Install GTAS from Source Code on GitHub

press "i" to insert make required edits to the doc press "esc" to stop press ":" to enter prompt type "wq" and press "enter" to write and quit

message.dir.origin=/media/sf_Desktop/in
message.dir.working=/media/sf_Desktop/working
message.dir.processed=/media/sf_Desktop/out
message.dir.error=/media/sf_Desktop/error

Step 9 Optional: Forward ports to access GTAS on Host Machine

Name: webapp Protocol: TCP Host IP: 127.0.0.1 Host Port: 8080 Guest IP: 10.0.2.15 Guest Port: 8080

mfscripts commented 3 years ago

The GTAS build process (step 8) requires the MySQL root user to have the password "admin" otherwise it'll fail. I'd recommend adding it to the guidance above.

AlanMFortunaR commented 11 months ago

Apache maven link is broker.

you can use this: https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz