From 6b38e18f50cbc9cdaa3e0bc626f8319b24f07291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A1ba?= Date: Sun, 15 Dec 2024 00:21:49 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20ServerUbuntu.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ServerUbuntu.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ServerUbuntu.md 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 + ```