CSCI 2006 - Spring 2024 - Server-Side ProgrammingLab #1 - Setup & Confiugration

Lab #1 - Setup & Confiugration

Purpose: Get an account on the remote server

Instructions

  1. Email Matthew Sanders with your desired username for access to the remote server. If you were part of the CSCI 2005 course in Fall 2023, your account from that course is still active (email me if you have forgotten your login information)
  2. Download and install FileZilla (or another SFTP application)
  3. Download an IDE that will allow you to edit files without adding extra formatting markers, some options include: jEdit, Notepad++ (Windows Only), TextMate (Mac Only) - there are other options as well, and you are welcome to use any IDE you want
  4. Create a file on your computer called "index.php", inside of it, put the following code:
    <?php echo 'Hello Internet!'; ?>
  5. After recieving the login information from Matthew, use your SFTP application to connect to the remote server
  6. On the remote server, create and enter (or just enter if it already exists) a folder called "public_html"
  7. On the remote server, create a sub-directory called "csci2006" (if using a CLI SFTP client: mkdir csci2006)
  8. On the remote server, create a sub-directory inside of "csci2006" called "lab01" (if using a CLI SFTP client: mkdir lab01)
  9. Upload the "index.php" file you created earlier to this "lab01" folder. You may have to rename the file to remove a "txt" extension if your computer automatically added that
  10. In a web-browser, go to the URL below
  11. In the tab that opened, verify that it displays the message "Hello Internet!"
  12. Ensure that your code is not producing any errors or warnings, by using the log-access tool. If you have trouble understanding the log messages, please email me for assistance. Note the log does not reset, so you need to look at when any errors/warnings occurred and which HTTP request they were for to better understand whether you have already fixed that issue

Submitting Instructions