====== Install Ubuntu 20.04.3 ====== \\ **Images will be fixed soon.. the terminal resized during the installation..**\\ Check: [[linux:ubuntu:os3|Install Ubuntu 18.04.5]] - its basically the same ===== Starting the installation ===== \\ Download Ubuntu 20 live (with cloud crap) here: [[https://releases.ubuntu.com/20.04.3/|https://releases.ubuntu.com/20.04.3/]] \\ or download Ubuntu 20 legacy server here: [[https://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/|https://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/]] \\ mount the downloaded Ubuntu 20.04.1 (legacy server) .iso file \\ reboot your system \\ select a language (english is fine) \\ {{:linux:ubuntu:pasted:20210830-214051.png}} \\ select "Install Ubuntu Server" \\ {{:linux:ubuntu:pasted:20210830-214100.png}} \\ ===== Configuration ===== \\ ==== Select your language ==== \\ {{:linux:ubuntu:pasted:20210830-214507.png}} \\ {{:linux:ubuntu:pasted:20210830-214516.png}} \\ {{:linux:ubuntu:pasted:20210830-214523.png}} \\ {{:linux:ubuntu:pasted:20210830-214533.png}} \\ {{:linux:ubuntu:pasted:20210830-214546.png}} \\ ==== Configure the keyboard ==== \\ {{:linux:ubuntu:pasted:20210830-214553.png}} \\ press y \\ {{:linux:ubuntu:pasted:20210830-214601.png}} \\ select yes if you have "ö" \\ {{:linux:ubuntu:pasted:20210830-214610.png}} \\ press "ö" \\ {{:linux:ubuntu:pasted:20210830-214614.png}} \\ select no for the weird e \\ {{:linux:ubuntu:pasted:20210830-214620.png}} \\ {{:linux:ubuntu:pasted:20210830-214626.png}} \\ ==== Configure the network ==== \\ select your primary network interface \\ {{:linux:ubuntu:pasted:20210830-215920.png}} \\ enter your hostname \\ {{:linux:ubuntu:pasted:20210830-215950.png}} \\ ==== Set up users and passwords ==== \\ enter the full name for the first user \\ {{:linux:ubuntu:pasted:20210830-215958.png}} \\ enter the username \\ {{:linux:ubuntu:pasted:20210830-220006.png}} \\ enter a complex password \\ {{:linux:ubuntu:pasted:20210830-220029.png}} \\ ==== Configure the clock ==== \\ if the autoselected timezone is correct select yes, otherwise select no and chose the correct location \\ {{:linux:ubuntu:pasted:20210830-220039.png}} \\ ==== Partition disks ==== \\ if you had a server before, select unmount partitions \\ {{:linux:ubuntu:pasted:20210830-220101.png}} \\ select "Manual" and then set up LVs (LVM) \\ {{:linux:ubuntu:pasted:20210830-220110.png}} \\ select your disk \\ {{:linux:ubuntu:pasted:20210830-220321.png}} \\ select "Create a new partition" \\ {{:linux:ubuntu:pasted:20210830-220344.png}} \\ partition the disk MAX-1GB space (reserve 1GB for /boot) \\ {{:linux:ubuntu:pasted:20210830-220443.png}} \\ select "Primary" \\ {{:linux:ubuntu:pasted:20210830-220451.png}} \\ select "Beginning" \\ {{:linux:ubuntu:pasted:20210830-220459.png}} \\ set use as "physical volume for LVM" and select "Done setting up the partition" \\ {{:linux:ubuntu:pasted:20210830-220525.png}} \\ select the "1 GB FREE SPACE" \\ {{:linux:ubuntu:pasted:20210830-220533.png}} \\ select "Create a new partition" \\ {{:linux:ubuntu:pasted:20210830-220538.png}} \\ continue with the 1 GB \\ {{:linux:ubuntu:pasted:20210830-220547.png}} \\ again choose "Primary" \\ {{:linux:ubuntu:pasted:20210830-220552.png}} \\ set "Ext4" and mount point "/boot", you can also set the label as "/boot" \\ {{:linux:ubuntu:pasted:20210830-220619.png}} \\ select "Configure the Logical Volume Manager" \\ {{:linux:ubuntu:pasted:20210830-220631.png}} \\ select "Create volume group" \\ {{:linux:ubuntu:pasted:20210830-220644.png}} \\ choose a name for your VG \\ {{:linux:ubuntu:pasted:20210830-220652.png}} \\ and place it on your correct partition \\ {{:linux:ubuntu:pasted:20210830-220701.png}} \\ select "Create logical volume" \\ {{:linux:ubuntu:pasted:20210830-220711.png}} \\ select your VG \\ {{:linux:ubuntu:pasted:20210830-220716.png}} \\ choose a name for your LV \\ {{:linux:ubuntu:pasted:20210830-220724.png}} \\ then select the size (if you have the chance to extent your PV/VG, you should create a 10GB root and some fitting /etc /var /home mounts as well. in my case I cannot extent it so I chose to use all on /) \\ {{:linux:ubuntu:pasted:20210830-220731.png}} \\ select your new LV \\ {{:linux:ubuntu:pasted:20210830-220751.png}} \\ set "XFS" and the mountpoint "/" \\ {{:linux:ubuntu:pasted:20210830-220810.png}} \\ it should look like this now, if so, write changes to disk \\ {{:linux:ubuntu:pasted:20210830-220820.png}} \\ {{:linux:ubuntu:pasted:20210830-220842.png}} \\ ===== OS Installation ===== \\ ==== Proxy aka Configure the package manager ==== \\ during the next loadingscreens you will be asked for a proxy, if you dont have one leave it blank, otherwise insert your proxyip \\ {{:linux:ubuntu:pasted:20210830-221134.png}} \\ ==== Configuring tasksel ==== \\ select "No automatic updates" otherwise your OS will install updates without your interaction \\ {{:linux:ubuntu:pasted:20210830-221203.png}} \\ ==== Software selection ==== \\ choose "OpenSSH server", you can install the other software later \\ {{:linux:ubuntu:pasted:20210830-221211.png}} \\ ==== Select and install software ==== \\ wait.. \\ {{:linux:ubuntu:pasted:20210830-221307.png}} \\ ==== Install the GRUB boot loader on a hard disk ==== \\ select "yes" \\ {{:linux:ubuntu:pasted:20210830-221540.png}} \\ ==== Finish the installation ==== \\ Yay! \\ {{:linux:ubuntu:pasted:20210830-221653.png}} \\ ===== After the installation ===== \\ eject the disk/ iso \\ reboot your machine \\ fully update your OS \\ configure your network interface, sudoers, ssh and consider fail2ban \\ [[linux:general:network|Network]] \\ [[linux:general:sudoers|Sudoers]] \\ [[linux:general:ssh|SSH]] \\ [[linux:ubuntu:fail2ban|Fail2Ban]]