Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PRACTICE Follow these steps to set up a Web server in your Codeanywhere containe

ID: 3913170 • Letter: P

Question

PRACTICE Follow these steps to set up a Web server in your Codeanywhere container using an SSH Terminal: 1. Use apt to update the repository list and to install the package named apache2. 2. Use the following command to start the Web server: sudo service apache2 start 3. Use the following command to download an HTML File from the course portal: wget https://accounting-architecture.github.io/supplement/services/index.html 4. Move or copy index.html to the folder /var/www/html 5. Click the Run Project button from the shortcut bar in Codeanywhere to open your Web page in a browser window. Take a screenshot of your container window after running these commands and take another screenshot of the browser window with your Web page. Paste both screenshots into a document along with list of the commands you used to complete these tasks. Export the document to PDF, and upload it to Dropbox on eCourseware.

Explanation / Answer

1) apt is used in unix family systems to download and install softwares. Run apt with root user as:

sudo apt install apache2 (to install the package)

sudo apt update (to update the package)

2) Once installation is completed, to start the server run command mentioned(again with root user 'sudo')

3) Once the server is started, you can download files from the server using 'wget' followed by resource URL

4) Copy above file to /var/www/html as : cp /home/USER/Downloads/index.html /var/www/html/

5) Run the project

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote