diff --git a/_config.yml b/_config.yml index a02e5b7..0cb8335 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -theme: jekyll-theme-dinky +theme: jekyll-theme-cayman # markdown: kramdown # kramdown: diff --git a/exercise/solution/images/cmd_3.png b/exercise/solution/images/cmd_3.png new file mode 100644 index 0000000..e32fb06 Binary files /dev/null and b/exercise/solution/images/cmd_3.png differ diff --git a/exercise/solution/images/cmd_4.png b/exercise/solution/images/cmd_4.png new file mode 100644 index 0000000..ac1d7be Binary files /dev/null and b/exercise/solution/images/cmd_4.png differ diff --git a/exercise/solution/images/images.md b/exercise/solution/images/images.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/exercise/solution/images/images.md @@ -0,0 +1 @@ + diff --git a/exercise/solution/images/mac-linux_2.png b/exercise/solution/images/mac-linux_2.png new file mode 100644 index 0000000..cdf8f90 Binary files /dev/null and b/exercise/solution/images/mac-linux_2.png differ diff --git a/exercise/solution/images/mac-linux_3.png b/exercise/solution/images/mac-linux_3.png new file mode 100644 index 0000000..b098e85 Binary files /dev/null and b/exercise/solution/images/mac-linux_3.png differ diff --git a/exercise/solution/images/putty_2.png b/exercise/solution/images/putty_2.png new file mode 100644 index 0000000..96f5a23 Binary files /dev/null and b/exercise/solution/images/putty_2.png differ diff --git a/exercise/solution/images/putty_3.png b/exercise/solution/images/putty_3.png new file mode 100644 index 0000000..b7d907e Binary files /dev/null and b/exercise/solution/images/putty_3.png differ diff --git a/exercise/solution/images/putty_4.png b/exercise/solution/images/putty_4.png new file mode 100644 index 0000000..5cce72e Binary files /dev/null and b/exercise/solution/images/putty_4.png differ diff --git a/exercise/solution/images/putty_6.png b/exercise/solution/images/putty_6.png new file mode 100644 index 0000000..ac48a30 Binary files /dev/null and b/exercise/solution/images/putty_6.png differ diff --git a/exercise/solution/part-1.md b/exercise/solution/part-1.md new file mode 100644 index 0000000..73b2c5e --- /dev/null +++ b/exercise/solution/part-1.md @@ -0,0 +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) +* [For Mac/Linux](#for-maclinux) + + +## For windows + +### 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) +2. Set port number to **22** and the **Host Name** to **saliksik.asti.dost.gov.ph.** + + ![Set port number](../solution/images/putty_2.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**. + + ![Set port number](../solution/images/putty_3.png) + +4. Select **Yes** when prompted by a PuTTY Security Alert Window. + + ![Set port number](../solution/images/putty_4.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. + + ![Set port number](../solution/images/putty_6.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](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: + ``` + 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 | + +3. Type **Yes** to add the host in your known hosts. + + ![Set port number](../solution/images/cmd_3.png) + +4. You should now be inside the HPC frontend. + + ![Set port number](../solution/images/cmd_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. + +## For Mac/Linux +1. Launch your Terminal application and type: + ``` + 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 | + +2. Type **Yes** to add the host in your known hosts. + + ![Set port number](../solution/images/mac-linux_2.png) + +3. You should now be inside the HPC Frontend. + + ![Set port number](../solution/images/mac-linux_3.png) + + **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 new file mode 100644 index 0000000..db798c9 --- /dev/null +++ b/exercise/solution/part-2.md @@ -0,0 +1,10 @@ +> This is a paragraph. First line.\ +Next line.\ +Third line.\ +There should be no extra spcaing between each line.\ +**_This line is both italic and bold!_**

+There is a blank space above.\ +This line of text is wavy. + +My favorite equation is: +$$\left(\frac{-b \pm \sqrt{b^2 -4ac}}{2a}\right)$$ diff --git a/exercise/solution/part-3.md b/exercise/solution/part-3.md new file mode 100644 index 0000000..eea13e3 --- /dev/null +++ b/exercise/solution/part-3.md @@ -0,0 +1,7 @@ +# Exercises + +- [x] Part 1 - [Solution]([https://github.com/](https://github.com/venice-timones/markdown-tutorial/blob/b253c1f10bce6e9db9c0b7ed5c5bbca320ba8068/exercise/solution/part-1.md)) +- [x] Part 2 - [Solution]([https://github.com/](https://github.com/venice-timones/markdown-tutorial/blob/c6853df30922a8ae91c679e32f0cb83636953f58/exercise/solution/part-2.md)) +- [x] Part 3 - [Solution]([https://github.com/](https://github.com/venice-timones/markdown-tutorial/blob/c6853df30922a8ae91c679e32f0cb83636953f58/exercise/solution/part-3.md)) + +By: [Venice Claire S. Timones](mailto:venice.timones@pshs.smc.edu.ph)