reminder every session edit creds file
mkdir ~/.aws
nano ~/.aws/credentials
insert current new session creds
[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY
aws_session_token= YOUR_TOKEN
cd into working dir of "CS643_prod1" do this on both vms
run this command to cd:
NOTE: do this on both VM's
compile and run program CarDetection.java
compile project:
run program:
mvn exec:java -P car-detection
compile and run program TextRecognition.java
compile project:
run program:
mvn exec:java -P text-recognition
Maven install process and verify
Extract the Maven archive you downloaded:
tar -xzvf apache-maven-3.9.4-bin.tar.gz # for tar.gz file
# or
unzip apache-maven-3.9.4-bin.zip # for zip file
sudo mv apache-maven-3.9.4 /usr/local/apache-maven
Configuring Environment Variables:
Open your .bash_profile in a text editor.
Add the following lines to the file (adjust the paths if necessary):
export M2_HOME=/usr/local/apache-maven
export PATH=$M2_HOME/bin:$PATH
Save and close the file.
Apply the changes by running: