diff --git a/ServerUbuntu.md b/ServerUbuntu.md new file mode 100644 index 0000000..36214b5 --- /dev/null +++ b/ServerUbuntu.md @@ -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 + ```