Přidat ServerUbuntu.md

This commit is contained in:
David Hába 2024-12-15 00:21:49 +01:00
parent 85e3cbc76b
commit 6b38e18f50

20
ServerUbuntu.md Normal file
View File

@ -0,0 +1,20 @@
# Server Ubuntu
![Ubuntu](https://res.cloudinary.com/canonical/image/fetch/f_auto,q_auto,fl_sanitize,w_182,h_135/https://assets.ubuntu.com/v1/3b5fa561-mascot-numbat@2x.png)
## 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
```