README, Teil 1
This commit is contained in:
commit
0def592fb2
53
README.md
Normal file
53
README.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Ansible-Kurs 2023-12
|
||||
|
||||
## Zuordnung
|
||||
|
||||
* `tn01-purple.heinlein-akademie.de` SebastianB.
|
||||
* `tn02-purple.heinlein-akademie.de` Linus C.
|
||||
* `tn03-purple.heinlein-akademie.de` Benjamin H.
|
||||
* `tn04-purple.heinlein-akademie.de` Johanna H.
|
||||
* `tn05-purple.heinlein-akademie.de` Jonas K.
|
||||
* `tn06-purple.heinlein-akademie.de` Sven S.
|
||||
* `tn06-purple.heinlein-akademie.de` Stefan Sch.
|
||||
|
||||
## Allgemein
|
||||
|
||||
### root-Rechte
|
||||
Der Benutzer `kurs` ist in den `sudo`-Einstellungen (ohne Passwort-Eingabe) hinterlegt.
|
||||
|
||||
Ihr könnt also `sudo -Es`, `sudo -i`, `sudo su -`, ... oder natürlich auch `sudo apt install ...` usw. verwenden!
|
||||
|
||||
|
||||
## Debian
|
||||
|
||||
### Paketmanager Kurzeinführung
|
||||
* Index-Files aktualisieren: `(sudo) apt(-get) update`
|
||||
* Pakete suchen (**alle** Begriffe!): `apt-cache search ansible lint`
|
||||
* Pakete installieren: `(sudo) apt(-get) install ansible-lint`
|
||||
|
||||
### Standard-Editor anpassen
|
||||
```
|
||||
root@tn00-purple:~# update-alternatives --config editor
|
||||
There are 8 choices for the alternative editor (providing /usr/bin/editor).
|
||||
|
||||
Selection Path Priority Status
|
||||
------------------------------------------------------------
|
||||
* 0 /usr/bin/joe 70 auto mode
|
||||
1 /bin/nano 40 manual mode
|
||||
2 /usr/bin/jmacs 50 manual mode
|
||||
3 /usr/bin/joe 70 manual mode
|
||||
4 /usr/bin/jpico 50 manual mode
|
||||
5 /usr/bin/jstar 50 manual mode
|
||||
6 /usr/bin/rjoe 25 manual mode
|
||||
7 /usr/bin/vim.basic 30 manual mode
|
||||
8 /usr/bin/vim.tiny 15 manual mode
|
||||
|
||||
Press <enter> to keep the current choice[*], or type selection number: 8
|
||||
[...]
|
||||
root@tn00-purple:~# ls -l /etc/alternatives/editor /etc/alternatives/vim
|
||||
lrwxrwxrwx 1 root root 18 Nov 22 09:09 /etc/alternatives/editor -> /usr/bin/vim.basic
|
||||
lrwxrwxrwx 1 root root 18 Aug 17 21:58 /etc/alternatives/vim -> /usr/bin/vim.basic
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue