I've got a base 20.04 server image I clone out, looking now it's using 2.5gb with some updates, things like snmpd installed, small stuff.  I remember when ubuntu server install was like 600mb, but even linux has grown significantly.  Sounds like you had some other crap creep into the install, or the lamp stack is a pig too these days.

I just installed my new laptop with a 512mb boot drive, and it's not enough to store 4 kernels even in Arch anymore (normal/fallback kernels for both lts and up to date).  I started getting screwed with ubuntu in the later 2013 and up years using a 256mb boot, now guess I need a gig if I need more than 1 kernel set.  Drat.

-mb


On Fri, Nov 11, 2022 at 9:20 AM Keith Smith via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
Hi,

I've gotten VirtualBox working and installed just the Ubuntu plain
server 20.04 with the goal of creating a LAMP setup that will be used
for a tiny bit of PHP testing.

I allocated 10GB of space for this VM instance.

I want to allocate a limited amount of disk space because I think this
is static and will count as disk usage on the host even when my virtual
machine is not running.

I ran "df -h" and here is the output:

keith@plain-ubuntu20-lamp:~$ df -h
Filesystem                         Size  Used Avail Use% Mounted on
udev                               948M     0  948M   0% /dev
tmpfs                              199M  1.1M  198M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  8.1G  3.6G  4.0G  48% /
tmpfs                              992M     0  992M   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                              992M     0  992M   0% /sys/fs/cgroup
/dev/loop0                          68M   68M     0 100% /snap/lxd/22753
/dev/sda2                          1.7G  106M  1.5G   7% /boot
/dev/loop1                          47M   47M     0 100%
/snap/snapd/16292
/dev/loop2                          62M   62M     0 100%
/snap/core20/1611
tmpfs                              199M     0  199M   0% /run/user/1000
keith@plain-ubuntu20-lamp:~$

I assume the line :  "/dev/mapper/ubuntu--vg-ubuntu--lv  8.1G  3.6G 
4.0G  48% /" is root.

So a minimal install of the Ubuntu server 20.04lts is 3.6G?  Yikes is
this correct?  So I have 4G free?  I can live with 4G free.  Yikes I
have yet to install PHP/MySql/Apache.

Is this correct?

Thank you for your input!!

Keith



---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss