Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2019-05-15 16:27:03
Size: 549
Editor: scot
Comment:
Revision 10 as of 2020-09-30 01:24:11
Size: 1549
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * Create a VM with Windows Server (latest edition)
 * Install IIS on it - Recall the demo from class and/or the [[http://db.cs.southern.edu/videos/CPTR446/ServerPreparation/ServerPreparation.html|video]]
 * Create an ASP.NET application and copy it to your IIS wwwroot folder.
 1. Create a VM with Windows Server (latest edition)
 1. Install IIS on it - Recall the demo from class and/or the [[http://db.cs.southern.edu/videos/CPTR446/ServerPreparation/ServerPreparation.html|video]]
    a. IIS features see: [[attachment:IIS roles and features.png|image]]
 1. Install Web Deploy (in the video I got Web Deploy 3.6 from [[https://www.iis.net/downloads/microsoft/web-deploy|here]]).
 1. Enable remote connections in the IIS management service (server level)see [[attachment:Management.png|image]]
    a. You will have to stop the service
    a. Make the changes in the image above.
    a. Start the service.
 1. Create an ASP.NET application under your "Default Web Site" named "MoviesSVC".
    a. The location on disk should be C:\MoviesSVC.
       i. Make sure that {{{IIS_IUSRS}}} has modify rights.
       i. Make sure that {{{IIS AppPool\DefaultAppPool}}} also has modify rights.
    a. See the [[attachment:MoviesSVC.png|image]]
    a. Double click on the IIS Permissions icon.
    a. Add a user that can update the web application. You can make it a non-windows user and it will probably be easier.
 1. Make sure that both of the following services are running:
    a. Web Deployment Agent Service
    a. Web Management Service

HW04: IIS VM Setup

Complete the following requirements.

  1. Create a VM with Windows Server (latest edition)
  2. Install IIS on it - Recall the demo from class and/or the video

    1. IIS features see: image

  3. Install Web Deploy (in the video I got Web Deploy 3.6 from here).

  4. Enable remote connections in the IIS management service (server level)see image

    1. You will have to stop the service
    2. Make the changes in the image above.
    3. Start the service.
  5. Create an ASP.NET application under your "Default Web Site" named "MoviesSVC".
    1. The location on disk should be C:\MoviesSVC.
      1. Make sure that IIS_IUSRS has modify rights.

      2. Make sure that IIS AppPool\DefaultAppPool also has modify rights.

    2. See the image

    3. Double click on the IIS Permissions icon.
    4. Add a user that can update the web application. You can make it a non-windows user and it will probably be easier.
  6. Make sure that both of the following services are running:
    1. Web Deployment Agent Service
    2. Web Management Service

Show your professor for Credit:

  • You will need to show me a working version of your VM by displaying a simple asp.net web page.

If you appear lost, look at the documentation for IIS online.

WebServices/ProgrammingHomeworks/HW04 (last edited 2023-05-23 20:16:16 by scot)