From c78fb05d76fa8480e6af85b3c59cb62e05497a5d Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 15 Aug 2018 15:35:29 +0300 Subject: [PATCH] H2: Add table of contents --- exercises/h2.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/exercises/h2.md b/exercises/h2.md index fd792a6..57eaecf 100644 --- a/exercises/h2.md +++ b/exercises/h2.md @@ -6,6 +6,37 @@ Linux servers - Exercice 2 This exercise is a part of [Linux servers (ICT4TN021, spring 2018) // Linux-palvelimet (ICT4TN021, kevät 2018)](http://www.haaga-helia.fi/fi/opinto-opas/opintojaksokuvaukset/ICT4TN021) school course organized as a part of Information Technology studies in Haaga-Helia university of Applied Sciences, Helsinki, Finland. Course lecturer [Tero Karvinen](http://terokarvinen.com/) has defined the original assignment descriptions in Finnish presented in this document in English. Answers and translations have been written by Pekka Helenius (me, ~ Fincer). +*Table of contents:* +-------------- + +- [a) **Log events** Create two different log events: One successful event and one failed or forbidden event. Analyze the log lines in detail.](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#a-create-two-different-log-events-one-successful-event-and-one-failed-or-forbidden-event-analyze-the-log-lines-in-detail) + + - [Successful event example - Apache server](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#successful-event-example---apache-server) + + - [Failed event example - Apache server](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#failed-event-example---apache-server) + + - [Other error situations - libraries, headers & typos](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---libraries-headers--typos) + + - [Other error situations - unsupported Linux OS versions & broken libraries](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---unsupported-linux-os-versions--broken-libraries) + + - [Other error situations - a tricky error without clear identification](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---a-tricky-error-without-clear-identification) + + - [Other error situations - hardware issues](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---hardware-issues) + + - [Other error situations - random or unexpected errors](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---random-or-unexpected-errors) + + - [Other error situations - a tricky error tracked down](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---a-tricky-error-tracked-down) + + - [Other error situations - A simple test case (command which succeeds as root but fails otherwise)](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#other-error-situations---a-simple-test-case-command-which-succeeds-as-root-but-fails-otherwise) + +- [b) **SSH daemon & commands** Optional task, not teached yet: Install SSH daemon. Try some of the following commands on your own SSH server: ssh-copy-id, sshfs, scp or git. (The easiest command might be scp: ‘scp foo.txt tero@example.com:’)](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#b-optional-task-not-teached-yet-install-ssh-daemon-try-some-of-the-following-commands-on-your-own-ssh-server-ssh-copy-id-sshfs-scp-or-git-the-easiest-command-might-be-scp-scp-footxt-teroexamplecom) + +- [c) **One-line installer** Create an apt-get command of your dreams: one single command or one-liner which installs your favorite applications.](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#c-create-an-apt-get-command-of-your-dreams-one-single-command-or-one-liner-which-installs-your-favorite-applications) + +- [d) **CLI programs** Install three new command line programs using your command line package manager. Try each of these programs in their target environment and purpose.](https://github.com/Fincer/linux_server_setup/blob/master/exercises/h2.md#d-install-three-new-command-line-programs-using-your-command-line-package-manager-try-each-of-these-programs-in-their-target-environment-and-purpose) + +-------------- + **a)** Create two different log events: One successful event and one failed or forbidden event. Analyze the log lines in detail. -------------- @@ -276,7 +307,7 @@ Connection to haaga-helia.fi closed. phelenius@my-machine:~$ ``` -Other local ssh commands (etc.) can be found with `ls /usr/bin |grep ssh` or with `ls /usr/bin/*ssh*` command +Other existing ssh commands can be found with `ls /usr/bin |grep ssh` or with `ls /usr/bin/*ssh*` commands **c)** Create an apt-get command of your dreams: one single command or one-liner which installs your favorite applications. --------------