Přidat ServerUbuntu.md
This commit is contained in:
parent
85e3cbc76b
commit
6b38e18f50
20
ServerUbuntu.md
Normal file
20
ServerUbuntu.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Server Ubuntu
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Instalace
|
||||||
|
|
||||||
|
1. [Iso image](https://ubuntu.com/download/server)
|
||||||
|
|
||||||
|
1. Vytvořit VM -> nainstalovat
|
||||||
|
|
||||||
|
1. Po instalaci doplnit `.bashrc`
|
||||||
|
```shell
|
||||||
|
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$ '
|
||||||
|
alias lo='exit'
|
||||||
|
```
|
||||||
|
1. sudo bey hesla `sudo visudo`
|
||||||
|
``` shell
|
||||||
|
# Allow user maska to execute sudo without password
|
||||||
|
maska ALL=(ALL) NOPASSWD:ALL
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user