Browse Source

H2: Add table of contents

master
Pekka Helenius 5 years ago
committed by GitHub
parent
commit
c78fb05d76
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 1 deletions
  1. +32
    -1
      exercises/h2.md

+ 32
- 1
exercises/h2.md View File

@ -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.
--------------


Loading…
Cancel
Save