- 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
- run this command to cd:
cd CS643_prod1/
- NOTE: do this on both VM's
- compile project:
- mvn clean compile
- run program:
mvn exec:java -P car-detection
- compile project:
- mvn clean compile
- run program:
mvn exec:java -P text-recognition
- 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:
source ~/.bash_profile
- verify maven install:
mvn -v