Ubuntu server 22.04 LTS server edition offers the following software and versions:
Note: Not all of the above software comes installed by default. The versions above are valid as of May 2022, these are the minimum versions you get with Ubuntu server 22.04 LTS now, and updating it after the initial date may update some of the above packages with newer versions.
The installation procedure you can find here – link.
Installed packages are 617 occupying 2.3G space:. Note, this is Ubuntu server 22.04 LTS, not the minimalistic install (used for embedded systems). This server install includes OpenSSH server.
root@srv:~# dpkg-query -l|wc -l 617 [root@srv ~]# df -h / Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-ubuntu--lv 57G 11G 44G 20% / root@srv:~# du -h -d 1 -x / 36K /root 2.2G /usr 4.0K /opt 5.4M /etc 432M /var 64K /tmp 4.0K /mnt 16K /lost+found 28K /home 4.0K /media 4.0K /srv 24K /snap 11G /
The swap file is 8G, so the real occupying space by the Ubuntu server 22.04 LTS is around 2.3G.
root@srv:~# apparmor_status apparmor module is loaded. 29 profiles are loaded. 29 profiles are in enforce mode. /snap/snapd/15534/usr/lib/snapd/snap-confine /snap/snapd/15534/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/bin/man /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /{,usr/}sbin/dhclient lsb_release man_filter man_groff nvidia_modprobe nvidia_modprobe//kmod snap-update-ns.lxd snap.lxd.activate snap.lxd.benchmark snap.lxd.buginfo snap.lxd.check-kernel snap.lxd.daemon snap.lxd.hook.configure snap.lxd.hook.install snap.lxd.hook.remove snap.lxd.lxc snap.lxd.lxc-to-lxd snap.lxd.lxd snap.lxd.migrate snap.lxd.user-daemon tcpdump 0 profiles are in complain mode. 0 profiles are in kill mode. 0 profiles are in unconfined mode. 0 processes have profiles defined. 0 processes are in enforce mode. 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. 0 processes are in mixed mode. 0 processes are in kill mode.
root@srv:~# ufw status Status: inactive root@srv:~# ufw app list Available applications: OpenSSH root@srv:~# ufw app info OpenSSH Profile: OpenSSH Title: Secure shell server, an rshd replacement Description: OpenSSH is a free implementation of the Secure Shell protocol. Port: 22/tcp
Default installation on a single disk, which has only free space on your disk or you reclaimed all the occupied space during installation. Ubuntu 22.04 LTS needs around 11G of space for the default installation, so if you select a destination disk, which has less than 11G of space you should delete existing partitions to free up space or let Ubuntu 22.04 LTS installer to do default installation asking you to reclaim the disk space. We used the whole disk for the installation.
By default Ubuntu 22.04 LTS server uses.
Ubuntu server 22.04 LTS
root@srv:~# parted -l Model: ATA KINGSTON SNV425S (scsi) Disk /dev/sda: 128GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 1128MB 1127MB fat32 boot, esp 2 1128MB 3276MB 2147MB ext4 3 3276MB 128GB 125GB
root@srv:~# df -h Filesystem Size Used Avail Use% Mounted on tmpfs 3.2G 1.9M 3.2G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 57G 11G 44G 20% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda2 2.0G 126M 1.7G 7% /boot /dev/sda1 1.1G 5.3M 1.1G 1% /boot/efi tmpfs 3.2G 4.0K 3.2G 1% /run/user/1000
Partitions in configuration:
root@srv:~# cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # # / was on /dev/ubuntu-vg/ubuntu-lv during curtin installation /dev/disk/by-id/dm-uuid-LVM-YBz6gVGe8mgaW5WAvSgW6eZAf33cj5KhC9H3PxgqQdPBHUpFC7C7czyhiIUOzh7z / ext4 defaults 0 1 # /boot was on /dev/sda2 during curtin installation /dev/disk/by-uuid/8b79275c-1990-47b9-a419-fe5987ddd0af /boot ext4 defaults 0 1 # /boot/efi was on /dev/sda1 during curtin installation /dev/disk/by-uuid/455B-5CA3 /boot/efi vfat defaults 0 1 /swap.img none swap sw 0 0
root@srv:~# ls -al / total 8388684 drwxr-xr-x 19 root root 4096 May 25 12:47 . drwxr-xr-x 19 root root 4096 May 25 12:47 .. lrwxrwxrwx 1 root root 7 Apr 21 00:57 bin -> usr/bin drwxr-xr-x 5 root root 4096 May 25 12:44 boot drwxr-xr-x 21 root root 4880 May 25 13:11 dev drwxr-xr-x 99 root root 4096 May 25 12:50 etc drwxr-xr-x 3 root root 4096 May 25 12:50 home lrwxrwxrwx 1 root root 7 Apr 21 00:57 lib -> usr/lib lrwxrwxrwx 1 root root 9 Apr 21 00:57 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Apr 21 00:57 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Apr 21 00:57 libx32 -> usr/libx32 drwx------ 2 root root 16384 May 25 12:43 lost+found drwxr-xr-x 2 root root 4096 Apr 21 00:57 media drwxr-xr-x 2 root root 4096 Apr 21 00:57 mnt drwxr-xr-x 2 root root 4096 Apr 21 00:57 opt dr-xr-xr-x 467 root root 0 May 25 12:49 proc drwx------ 4 root root 4096 May 25 13:04 root drwxr-xr-x 29 root root 860 May 25 13:05 run lrwxrwxrwx 1 root root 8 Apr 21 00:57 sbin -> usr/sbin drwxr-xr-x 6 root root 4096 Apr 21 01:02 snap drwxr-xr-x 2 root root 4096 Apr 21 00:57 srv -rw------- 1 root root 8589934592 May 25 12:44 swap.img dr-xr-xr-x 13 root root 0 May 25 12:49 sys drwxrwxrwt 12 root root 4096 May 25 12:50 tmp drwxr-xr-x 14 root root 4096 Apr 21 00:57 usr drwxr-xr-x 13 root root 4096 Apr 21 01:01 var
[root@srv ~]# lvmdiskscan -l WARNING: only considering LVM devices /dev/sda3 [ 116.19 GiB] LVM physical volume 0 LVM physical volume whole disks 1 LVM physical volume [root@srv ~]# pvscan PV /dev/sda3 VG ubuntu-vg lvm2 [
Idle system for several hours with no additional software installed except the OpenSSH server, which is running, occupies around 518 Mbytes of RAM.
root@srv:~# free total used free shared buff/cache available Mem: 32713832 531392 31642820 1948 539620 31715836 Swap: 8388604 0 8388604
Here is the default started processes when logged using ssh:
systemd─┬─ModemManager───2*[{ModemManager}] ├─agetty ├─cron ├─dbus-daemon ├─irqbalance───{irqbalance} ├─multipathd───6*[{multipathd}] ├─networkd-dispat ├─polkitd───2*[{polkitd}] ├─rsyslogd───3*[{rsyslogd}] ├─snapd───30*[{snapd}] ├─sshd───sshd───sshd───bash───sudo───sudo───su───bash───pstree ├─systemd───(sd-pam) ├─systemd-journal ├─systemd-logind ├─systemd-network ├─systemd-resolve ├─systemd-timesyn───{systemd-timesyn} ├─systemd-udevd ├─udisksd───4*[{udisksd}] ├─unattended-upgr───{unattended-upgr} └─wpa_supplicant
Processes detailed:
[root@srv ~]# ps axufww USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 2 0.0 0.0 0 0 ? S 12:49 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? IKernel
Kernel version:
[root@srv ~]# uname -a Linux srv 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxThe post Software and technical overview of Ubuntu server 22.04 LTS first appeared on Any IT here? Help Me!.
In this article, we will see how to install nvidia-smi on Ubuntu or Debian Linux.…
In this article, we will see how to install clang tool on Ubuntu or Debian…
When working with Docker containers on Raspberry Pi devices, you might encounter frustrating signature verification…
You’ve recently upgraded to Ubuntu 18.04 and found that your OpenVPN connection no longer resolves…
Have you ever tried to open System Monitor on your Ubuntu 18.04 system only to…
System hardening means locking down a system and reducing its attack surface: removing unnecessary software…