EGR 103/Getting Started (very outdated)
Revision as of 18:31, 23 August 2023 by DukeEgr93 (talk | contribs) (DukeEgr93 moved page EGR 103/Getting Started to EGR 103/Getting Started (very outdated) without leaving a redirect: outdated page)
In the example below, "N" is used to represent the lab number for that week.
- Log into one of the PCs in the lab using your NetID. Be sure it is set to log on to WIN.
- In Windows:
- Mount your CIFS drive. For general instructions, go to How To Get Work Done then click the link for File Access under Your Own Windows Computer. Note the comments on Pundit modifying what the OIT page instructions say. For the B209 lab, follow the instructions below:
- Open File Explorer and click on This PC
- At the top of the window, left-click Computer and then Map Network Drive
- Drive: Pick an unused letter (this example will use Z:)
- Folder: \\homedir.oit.duke.edu\users\N\NetID
- N is the first letter of your NetID; NetID is your NetID
- If you logged in to the computer using your NetID, you can just Finish; if not (for instance, if you logged in from your own computer), select Connect Using Different Credentials. For Different Credentials, use WIN\NetID for the user name and your OIT password
- Start a terminal with graphics. For general instructions, go to Lab:B209 and check out the Using the PCs to Run Unix Programs Remotely section for how to get connected and make sure the connection is working. For the B209 lab, follow the instructions below:
- Start MobaXterm; you can double click the icon on the desktop or use the search option at lower left to find
moba
. - Start a new terminal in MobaXterm. There should be a button in the middle of the right panel for this.
- Type
ssh -XY NETID@login.oit.duke.edu
- where NETID is your NET ID in lower case.
- Type your password when asked - if it gives a warning about a .Xauth file, that's probably fine... Note that the cursor will not move as you type your password.
- At the
production
prompt, typeto start the xeyes program. You can minimize the program, but you should keep it running to keep your session from timing out.xeyes &
- Start MobaXterm; you can double click the icon on the desktop or use the search option at lower left to find
- Start Spyder. In the Windows menu, there is a group for Anaconda3; Spyder is in that group. If the PC asks for network permissions, click cancel. If the PC asks about updating, do not update.
- Mount your CIFS drive. For general instructions, go to How To Get Work Done then click the link for File Access under Your Own Windows Computer. Note the comments on Pundit modifying what the OIT page instructions say. For the B209 lab, follow the instructions below:
- In the terminal window (i.e. in UNIX; note the ☒ represents a space):
- Change into your folder for EGR 103L, create a labN folder inside it, then switch into that folder:
cd ☒ ∼/EGR103 mkdir ☒ labN cd ☒ labN
- Copy the tar file from Dr. G’s space into your
labN
folder and expand the tar file:wget ☒ people.duke.edu/∼mrg/EGR103/LabNFiles.tar tar ☒ -kxvf ☒ LabNFiles.tar
- Make a personal copy of the lab report skeleton:
cp ☒ -i ☒ LabNSample_S20.tex ☒ labN.tex
- Change into your folder for EGR 103L, create a labN folder inside it, then switch into that folder: