Lab #1 - Setup & Confiugration
Purpose: Get an account on the remote server
Instructions
- 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)
- Download and install FileZilla (or another SFTP application)
- 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
- Create a file on your computer called "index.php", inside of it, put the following code:
<?php echo 'Hello Internet!'; ?>
- After recieving the login information from Matthew, use your SFTP application to connect to the remote server
- On the remote server, create and enter (or just enter if it already exists) a folder called "public_html"
- On the remote server, create a sub-directory called "csci2006" (if using a CLI SFTP client: mkdir csci2006)
- On the remote server, create a sub-directory inside of "csci2006" called "lab01" (if using a CLI SFTP client: mkdir lab01)
- 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
- In a web-browser, go to the URL below
- In the tab that opened, verify that it displays the message "Hello Internet!"
- 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
- Email Matthew Sanders so that we can ensure that everything is correct before we get too far into the course