diff --git a/exercise/solution/images/coare-cp-alert.png b/exercise/solution/images/com-prom-3.png similarity index 100% rename from exercise/solution/images/coare-cp-alert.png rename to exercise/solution/images/com-prom-3.png diff --git a/exercise/solution/images/coare-cp-welcome.png b/exercise/solution/images/com-prom-4.png similarity index 100% rename from exercise/solution/images/coare-cp-welcome.png rename to exercise/solution/images/com-prom-4.png diff --git a/exercise/solution/images/coare-terminal-alert.png b/exercise/solution/images/for-mac-2.png similarity index 100% rename from exercise/solution/images/coare-terminal-alert.png rename to exercise/solution/images/for-mac-2.png diff --git a/exercise/solution/images/coare-terminal-welcome.png b/exercise/solution/images/for-mac-3.png similarity index 100% rename from exercise/solution/images/coare-terminal-welcome.png rename to exercise/solution/images/for-mac-3.png diff --git a/exercise/solution/images/coare-putty-configuration.png b/exercise/solution/images/putty.png similarity index 100% rename from exercise/solution/images/coare-putty-configuration.png rename to exercise/solution/images/putty.png diff --git a/exercise/solution/images/coare-putty-auth.png b/exercise/solution/images/putty_2.png similarity index 100% rename from exercise/solution/images/coare-putty-auth.png rename to exercise/solution/images/putty_2.png diff --git a/exercise/solution/images/coare-putty-alert.png b/exercise/solution/images/putty_3.png similarity index 100% rename from exercise/solution/images/coare-putty-alert.png rename to exercise/solution/images/putty_3.png diff --git a/exercise/solution/images/coare-putty-welcome.png b/exercise/solution/images/putty_4.png similarity index 100% rename from exercise/solution/images/coare-putty-welcome.png rename to exercise/solution/images/putty_4.png diff --git a/exercise/solution/part-1.md b/exercise/solution/part-1.md index c872f27..8ddd3b2 100644 --- a/exercise/solution/part-1.md +++ b/exercise/solution/part-1.md @@ -1,95 +1,88 @@ # Logging in - The following are procedures for logging in to the COARE HPC via the following OS: Windows, Mac, and Linux. - ## Table of Contents - - [For Windows](#for-windows) - - [PuTTY](#putty) - - [Command Prompt (for Windows 10 only)](#command-prompt-for-windows-10-only) + - [PuTTY](#putty) + - [Command Prompt (for Windows 10 only)](#command-prompt-for-windows-10-only) - [For Mac / Linux](#for-mac--linux) - ## For Windows - +For Windows, users have two options to use in logging in: PuTTY or Command Prompt. ### PuTTY - 1. Download and run **PuTTY** application. + - [32-bit](https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe) + - [64-bit](https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe) - - [32-bit:](https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe) - - [64-bit:](https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe) +2. Set port number to **22** and the **Host Name** to **saliksik.asti.dost.gov.ph.** -2. Set port number to **22** and the **Host Name** to **saliksik.asti.dost.gov.ph**. - - ![Coare Putty Configuration](images/coare-putty-configuration.png) + ![Putty](images/putty.png) 3. On the left panel under Category, collapse the **Connection** option and select the **SSH** option, and then click **Auth**. Select **Browse** to attach your **private key** (.ppk file) for authentication. Then click **Open**. - ![Coare Putty Authentication](images/coare-putty-auth.png) - -4. Select **Yes** when prompted by a PuTTY Security Alert Window. + ![Putty-2](images/putty_2.png) - ![Coare Putty Alert](images/coare-putty-alert.png) +4. Select **Yes** when prompted by a PuTTY Security Alert Window. + + ![Putty-3](images/putty_3.png) 5. When the terminal opens, enter your COARE credentials that should have been sent to your email. -6. You are now inside the HPC frontend if you see this (see image below) on your terminal. - ![Coare Putty Welcome](images/coare-putty-welcome.png) +6. You are now inside the HPC frontend if you see this (see image below) on your terminal. + + ![Putty-4](images/putty_4.png) NOTES: - - - Accessing HPC must be passwordless unless you have a passphrase during the generating of keys. - - If you want to use your key (generated using PuTTY) in OpenSSH, check this tutorial on converting PuTTY (.ppk) key to SSH Key. - - You cannot use your OpenSSH keys to PuTTY and vice versa. + - Accessing HPC must be passwordless unless you have a passphrase during the generating of keys. + - If you want to use your key (generated using PuTTY) in OpenSSH, check this tutorial on [converting PuTTY (.ppk) key to SSH Key.](https://www.simplified.guide/putty/convert-ppk-to-ssh-key) + - You cannot use your OpenSSH keys to PuTTY and vice versa. ### Command Prompt (for Windows 10 only) 1. Open **Command Prompt** or **Windows PowerShell**. -2. Type command: +2. Type command: ``` ssh @saliksik.asti.dost.gov.ph ``` - Useful options: - - | Flag | Description | - | ------------------ | ------------------------------------------------------------ | - | -i \ | Indicate the private key to be used | - | -v | Increase verbosity | - | -vv, -vvv | Enable additional verbosity for even more debugging messages | + |Flag |Description | + |------------------|------------------------------------------------------------| + |-i \|Indicate the private key to be used | + |-v |Increase verbosity | + |-vv, -vvv |Enable additioanl verbosity for even more debugging messages| 3. Type **Yes** to add the host in your known hosts. - ![Coare Command Prompt Alert](images/coare-cp-alert.png) + + ![command-prompt-3](images/com-prom-3.png) 4. You should now be inside the HPC frontend. - ![Coare Command Prompt Welcome](images/coare-cp-welcome.png) + + ![command-prompt-4](images/com-prom-4.png) NOTES: - - - Logging in must be passwordless unless you have a passphrase during the generating of keys. - - If you want to use your key (generated using PuTTY) in OpenSSH, check this tutorial on [converting PuTTY (.ppk) key to SSH Key](https://www.simplified.guide/putty/convert-ppk-to-ssh-key). - - You cannot use your PuTTY keys to OpenSSH and vice versa. + - Logging in must be passwordless unless you have a passphrase during the generating of keys. + - If you want to use your key (generated using PuTTY) in OpenSSH, check this tutorial on [converting PuTTY (.ppk) key to SSH Key.](https://www.simplified.guide/putty/convert-ppk-to-ssh-key) + - You cannot use your PuTTY keys to OpenSSH and vice versa. ## For Mac / Linux -1. Launch your Terminal application and type: - - ``` - ssh @saliksik.asti.dost.gov.ph - ``` +1. Launch your Terminal application and type: + ``` + ssh @saliksik.asti.dost.gov.ph + ``` - Useful options: + Useful options: + |Flag |Description | + |------------------|------------------------------------------------------------| + |-i \|Indicate the private key to be used | + |-v |Increase verbosity | + |-vv, -vvv |Enable additioanl verbosity for even more debugging messages| - | Flag | Description | - | ------------------ | ------------------------------------------------------------ | - | -i \ | Indicate the private key to be used | - | -v | Increase verbosity | - | -vv, -vvv | Enable additional verbosity for even more debugging messages | +2. Type **Yes** to add the host in your known hosts. + + ![for-mac-2](images/for-mac-2.png) -2. Type **Yes** to add the host in your known hosts. - ![Coare Terminal Alert](images/coare-terminal-alert.png) +3. You are now inside the HPC Frontend. -3. You are now inside the HPC Frontend. - ![Coare Terminal Welcome](images/coare-terminal-welcome.png) + ![for-mac-2](images/for-mac-3.png) - NOTE: Logging in must be passwordless unless you have a passphrase during the generating of keys. + NOTE: Logging in must be passwordless unless you have a passphrase during the generating of keys. diff --git a/exercise/solution/part-2.md b/exercise/solution/part-2.md index 2d7aa2d..173e151 100644 --- a/exercise/solution/part-2.md +++ b/exercise/solution/part-2.md @@ -1,13 +1,12 @@ -> This is a paragraph. -> First line. +> This is a paragraph. First line. > Next line. > Third line. > There should be no extra spacing between each line. -> _**This line is both italic and bold!**_ +> **_This line is both italic and bold!_** > > There is a blank space above. -> This line of text is wavy. +> This line of text is wavy. My favorite equation is: -$$ \frac{-b \pm \sqrt{b^2 -4ac}}{2a} $$ +$$ \frac{-b \pm \sqrt{b^2-4ac}}{2a} $$ diff --git a/exercise/solution/part-3.md b/exercise/solution/part-3.md index f5864c3..d88f29f 100644 --- a/exercise/solution/part-3.md +++ b/exercise/solution/part-3.md @@ -1,8 +1,11 @@ # Exercises -- [x] Part 1 - [Solution](part-1.md) -- [x] Part 2 - [Solution](part-2.md) -- [x] Part 3 - [Solution](part-3.md) +- [x] Part 1 - [Solutions](part-1.md) +- [x] Part 2 - [Solutions](part-2.md) +- [x] Part 3 - [Solutions](part-3.md) -By: -[Imari Joy C. Borda](mailto:imari.borda2018@gmail.com) +By: +[Jucille Kate Delos Santos](mailto:jucille.delossantos@smc.pshs.edu.ph) +[Randy Hibaya](mailto:rhibaya@zrc.pshs.edu.ph) +[Beige Bernadette Bastasa](mailto:bbbastasa@zrc.pshs.edu.ph) +[Celine Joie del Pilar](mailto:cdel@zrc.pshs.edu.ph)