howto_submit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto_submit [2016/09/19 22:40] – burton | howto_submit [2018/09/12 17:07] (current) – burton | ||
---|---|---|---|
Line 11: | Line 11: | ||
== Step 2 == | == Step 2 == | ||
- | Download and install [[https://winscp.net/eng/download.php|putty]] (at the bottom of the linked page; it is easiest to use the PuTTY Installation package). **putty** is an open source free program that supports secure remote login to a host computer (among other things). | + | Download and install [[https://www.chiark.greenend.org.uk/ |
== Step 3 == | == Step 3 == | ||
Line 64: | Line 64: | ||
== Step 12 == | == Step 12 == | ||
- | In the figure below, you can see that I have successfully found the files that I want to submit in the left pane. In the right pane, navigate to your //submit// directory that you created in Step 7. | + | In the figure below, you can see that I have successfully found the files that I want to submit in the left pane. |
+ | |||
+ | In the right pane, navigate to your **submit** directory that you created in Step 7. | ||
{{ : | {{ : | ||
Line 109: | Line 111: | ||
== Step 1 == | == Step 1 == | ||
- | In Launchpad, search for the **terminal** program, and start the **terminal** program. | + | In **Launchpad**, search for the **terminal** program, and start the **terminal** program. You will use this terminal to access files on your EECS account by logging into the EECS undergraduate server computer. |
- | {{ :terminal1.png }} | + | {{ :term1.png }} |
== Step 2 == | == Step 2 == | ||
- | Remotely log in to your EECS account by typing the following command and pressing //enter//: | + | **ssh** (short for //secure shell//) is a program for logging into a remote computer and for executing commands on a remote computer. |
+ | |||
+ | Remotely log in to your EECS account | ||
< | < | ||
Line 126: | Line 130: | ||
</ | </ | ||
- | {{ :terminal2.png }} | + | {{ :term2.png }} |
== Step 3 == | == Step 3 == | ||
If this is the first time that you have remotely logged in to the server, you will receive a warning message. Type '' | If this is the first time that you have remotely logged in to the server, you will receive a warning message. Type '' | ||
- | {{ :terminal3.png }} | + | {{ :term3.png }} |
== Step 4 == | == Step 4 == | ||
- | Enter your password and press //enter//: | + | Enter your password and press // |
- | {{ :terminal4.png }} | + | {{ :term4.png }} |
== Step 5 == | == Step 5 == | ||
- | You are now logged in to your EECS account. | + | You are now logged in to your EECS account. |
- | To keep things organized | + | |
- | < | + | {{ :term4-2.png }} |
- | mkdir submit | + | |
- | </ | + | |
- | + | ||
- | This will create a directory named '' | + | |
- | + | ||
- | {{ :terminal5.png }} | + | |
== Step 5 == | == Step 5 == | ||
- | Log out of your EECS account | + | To keep things organized in your EECS account, you should create a directory for your submission files. Type in the following |
< | < | ||
- | exit | + | mkdir submit |
+ | cd submit | ||
</ | </ | ||
- | {{ :terminal6.png }} | + | This will create a directory named '' |
+ | |||
+ | {{ :term5.png }} | ||
== Step 6 == | == Step 6 == | ||
- | Find the directory where your submission files are located. For eclipse users, you can find the directoty holding your files using eclipse | + | Open a second **terminal** window |
+ | |||
+ | {{ :term6.png }} | ||
== Step 7 == | == Step 7 == | ||
- | Change to the directory where your submission files are located. For example, my files are located in the directory '' | + | Find the directory where your submission files are located. For eclipse users, you can find the directory holding your files using eclipse (in eclipse, open one of your submission files, click the //File// menu and select // |
+ | |||
+ | == Step 8 == | ||
+ | Change to the directory | ||
< | < | ||
Line 171: | Line 176: | ||
</ | </ | ||
- | {{ :terminal7.png }} | + | {{ :term7.png }} |
- | == Step 8 == | + | == Step 9 == |
List the contents of the directory by typing the following command into the terminal and press //enter//: | List the contents of the directory by typing the following command into the terminal and press //enter//: | ||
Line 180: | Line 185: | ||
</ | </ | ||
- | {{ :terminal8.png }} | + | In the figure below you can see that I have three files in the directory |
+ | ('' | ||
+ | {{ :term8.png }} | ||
- | == Step 9 == | + | |
+ | == Step 10 == | ||
Transfer your files to your '' | Transfer your files to your '' | ||
Line 190: | Line 198: | ||
</ | </ | ||
- | If you want to transfer specific files you can do so by transferring them one at a time; | + | Again, replace '' |
- | for example, | + | |
+ | If you want to transfer specific files you can do so by transferring them one at a time; for example, | ||
< | < | ||
- | scp Point2.java | + | scp Point2.java |
+ | scp SpiroUtil.java burton@red.eecs.yorku.ca: | ||
+ | scp group.txt burton@red.eecs.yorku.ca: | ||
</ | </ | ||
- | {{ :terminal9.png }} | + | {{ :term9.png }} |
- | |||
- | == Step 10 == | ||
- | '' | ||
== Step 11 == | == Step 11 == | ||
- | Transfer any other files that you wish to submit. | + | **scp** will prompt |
+ | |||
+ | {{ :term10.png }} | ||
== Step 12 == | == Step 12 == | ||
- | Log in to your EECS account (entering your password when required): | + | **scp** will transfer a copy of your files from your computer |
+ | |||
+ | {{ :term11.png }} | ||
+ | |||
+ | |||
+ | == Step 13 == | ||
+ | Switch back to the first terminal window that you opened | ||
+ | |||
+ | Make sure that your files have been transferred into your '' | ||
< | < | ||
- | ssh your_eecs_username@red.eecs.yorku.ca | + | ls |
</ | </ | ||
- | == Step 13 == | + | In the figure below, you can see that the files '' |
- | Change to your '' | + | |
+ | {{ :term12.png }} | ||
== Step 14 == | == Step 14 == | ||
Submit your files using the command provided by your instructor. | Submit your files using the command provided by your instructor. | ||
+ | |||
+ | For example, to submit lab1 for EECS2030 you might type: | ||
+ | |||
+ | < | ||
+ | submit 2030 lab1 Point2.java SpiroUtil.java group.txt | ||
+ | </ | ||
+ | |||
+ | {{ :term13.png }} | ||
+ | |||
+ | == Step 15 == | ||
+ | Read the output of the submit command carefully. If there are errors with your submission you may be forced to re-submit your corrected work. | ||
+ | |||
+ | |||
+ | |||
+ | == Step 18 == | ||
+ | You may re-submit your work as many times as you like. Every time you make changes to your work on your computer, you must re-transfer your work using '' | ||
+ | |||
+ | Your remote login session ends automatically if you don't enter any commands for a certain period of time. If this happens, you will see a message that mentions a '' | ||
+ | run the **ssh** program again to log back into **red**. | ||
+ |
howto_submit.1474324808.txt.gz · Last modified: 2016/09/19 22:40 by burton