Version 6 vs 7
Version 6 vs 7
Edits
Edits
- Edit by lanle, Version 7
- Jul 30 2018 3:36 PM
- ·Redid the guide: Zach and I created an installer that had Cygwin along with OpenSSH, curl, wget, ... Students will just need to download the .NSI file and execute the installer. Finally, they'll just need to run the "alias" command to use 'gcc' correctly.
- Edit by lanle, Version 6
- Jul 30 2018 1:50 PM
« Previous Change | Next Change » |
Edit Older Version 6... | Edit Older Version 7... |
Content Changes
Content Changes
== Using Cygwin64 Terminal
head to https://cygwin.com/install.html to download file to Downloads
open up command prompt
cd Downloads
dir
```lang=bash
setup-x86_64.exe -q -p openssh,curl,wget,rsync,scp*,gedit,gcc,g++,make,cmake,xlaunch,xinit,tmux,x11-fonts-*,xorg-docs,xorg-server
```
```
echo "alias gcc=\"x86_64-w64-mingw32-gcc.exe --std=c99\"" > ~/.profile
```
-
-
-
1. Head over to https://cygwin.com/install.html to download the application. Determine whether your machine is running the 32-bit Windows or the 64-bit Windows and download accordingly.
2. Open up the Cygwin64 Terminal.
{F1921, size=full}
3. Connect to a session by using `ssh netID@ubuntu.cse.unr.edu`
``` lang=bash
# ssh netID@ubuntu.cse.unr.edu
$ ssh lanle@ubuntu.cse.unr.edu
```
4. The following will appear:
```
The authenticity of host 'ubuntu.cse.unr.edu (134.197.20.43)' can't be established. ECDSA key fingerprint is SHA256: ... Are you sure you want to continue connecting (yes/no)?
```
Type `yes`.
{F1923, size=full}
NOTE: You will only need to do this once for every machine you use.
5. Next, you will be prompted to enter your password.
``` lang=bash
Warning: Permanently added 'ubuntu.cse.unr.edu (134.197.20.43)' (ECDSA) to the list of known hosts.
Password:
```
{F1924, size=full}
NOTE: Your password will not show up as you are typing it, but assume that keys are being accepted. Hit `ENTER` when you are done.
6. When you see `netID@nxlogin:~$`, on the new line, you can now use the terminal.
``` lang=bash
# netID@nxlogin:~$
lanle@nxlogin:~$
```
{F1922, size=full}
== Using Cygwin64 Terminal
1. First, download the file.
{F1944}
2. Paste the following command in the Cygwin Terminal.
```lang=bash
echo "alias gcc=\"x86_64-w64-mingw32-gcc.exe --std=c99\"" > ~/.profile
```
== Using Cygwin64 Terminal
head to https://cygwin.com/install.html to download file to Downloads
open up command prompt
cd Downloads
dir
```lang=bash
setup-x86_64.exe -q -p openssh,curl,wget,rsync,scp*,gedit,gcc,g++,make,cmake,xlaunch,xinit,tmux,x11-fonts-*,xorg-docs,xorg-server
```1. First, download the file.
{F1944}
```2. Paste the following command in the Cygwin Terminal.
```lang=bash
echo "alias gcc=\"x86_64-w64-mingw32-gcc.exe --std=c99\"" > ~/.profile
```
-
-
-
1. Head over to https://cygwin.com/install.html to download the application. Determine whether your machine is running the 32-bit Windows or the 64-bit Windows and download accordingly.
2. Open up the Cygwin64 Terminal.
{F1921, size=full}
3. Connect to a session by using `ssh netID@ubuntu.cse.unr.edu`
``` lang=bash
# ssh netID@ubuntu.cse.unr.edu
$ ssh lanle@ubuntu.cse.unr.edu
```
4. The following will appear:
```
The authenticity of host 'ubuntu.cse.unr.edu (134.197.20.43)' can't be established. ECDSA key fingerprint is SHA256: ... Are you sure you want to continue connecting (yes/no)?
```
Type `yes`.
{F1923, size=full}
NOTE: You will only need to do this once for every machine you use.
5. Next, you will be prompted to enter your password.
``` lang=bash
Warning: Permanently added 'ubuntu.cse.unr.edu (134.197.20.43)' (ECDSA) to the list of known hosts.
Password:
```
{F1924, size=full}
NOTE: Your password will not show up as you are typing it, but assume that keys are being accepted. Hit `ENTER` when you are done.
6. When you see `netID@nxlogin:~$`, on the new line, you can now use the terminal.
``` lang=bash
# netID@nxlogin:~$
lanle@nxlogin:~$
```
{F1922, size=full}