DSCI551 – Lab 1: EC2 files Solved

$ 20.99
Category:

Description

Points: 10

1. Add the following two lines to the end of ~/.bashrc file

export JAVA_HOME=/usr/lib/jvm/java-1.8.0 export PATH=$PATH:~/hadoop-3.3.4/bin:~/hadoop-3.3.4/sbin:~/spark-3.3.0-bin-hadoop3/bin:.

2. Create a file under /etc/yum.repos.d called mongodb-org-6.0.repo. You can use the following command to create the file:

sudo nano /etc/yum.repos.d/mongodb-org-6.0.repo

Make sure the file has the following content:

[mongodb-org-6.0] name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/6.0/x86_64/ gpgcheck=1 enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc

3. Submit a screenshot showing the content of ~/.bashrc and /etc/yum.repos.d/mongodb-org6.0.repo, similar to below.

Note: points will be deducted if you did not create the files or the files do not the required content (shown in red above).

Reviews

There are no reviews yet.

Be the first to review “DSCI551 – Lab 1: EC2 files Solved”

Your email address will not be published. Required fields are marked *