[14:38] <webchat51> How to enable and disable modules and sites when I build apache2 from source
[14:39] <webchat51> Is anybody there
[14:44] <ahasenack_> those utilities to enable modules and sites are a packaging thing I believe, not in upstream. You will have to check upstream's documentation
[14:45] <ahasenack_> but basically add to the config the same files that are included from the configuration directories that contain the snippets to enable modules and sites
[14:45] <ahasenack_> it all ends up in one big .conf file anyway
[14:48] <webchat51> Can you explain
[14:49] <webchat51> Is a yes or no
[15:06] <jelly> hi, I want to deploy 22.04 VMs on vsphere with custom disk layout, one disk for /boot (and /boot/efi if ubuntu prefers uefi boot), one disk for LVM PV unpartitioned and OS LVM LVs on that.  Is this possible with deployment methods available for jammy?
[15:07] <jelly> for older releases, we just used the debian-installer image and replaced its partman with a well-positioned shell script
[15:10] <webchat51> How do I enable and disable sites and modules when I build apache2 from source
[15:12] <mybalzitch> any particular reason to build from source?
[15:12] <mybalzitch> but a2enmod is still used to enable modules, and then a2ensite
[15:13] <webchat51> Is the comand there when I build it from source
[15:15] <webchat51> Because it's not available In my package manager
[15:15] <webchat51> The version is old
[15:15] <samy1028b> webchat51: What version of Ubuntu are you running?
[15:16] <webchat51> 22.04
[15:16] <mybalzitch> a2enmod ships with the apache2 package
[15:16] <mybalzitch> otherwise just edit the apache2.conf file by hand and uncomment the mod you want to enable
[15:17] <webchat51> Is it also there when I build it from source
[15:17] <samy1028b> webchat51: You should be running Apache 2.4.51-1ubuntu4.1 or greater?  What is wrong with that version?
[15:17] <webchat51> I want 2.4.54
[15:17] <samy1028b> just wanted to make sure we understand properly.  There's no real need to build from source unless there are specific things you can't get in the package.
[15:18] <ogra> why do you build from source in the first place (and are you aware how hard it will be to keep this secure and properly patched when you have to do this manually every time)
[15:19] <webchat51> No I didn't know that
[15:19] <ogra> (not to mention that you have to monitor the security advisories premanently if you do nt want you have your server end up as part of some hackers botnet ...)
[15:19] <ogra> *permanently
[15:20] <samy1028b> webchat51: what specifically in 2.4.54 is it you think you need?
[15:20] <webchat51> Nothing
[15:20] <mybalzitch> almost sounds like they should run nginx if they're concerned about security
[15:21] <webchat51> Why
[15:21] <samy1028b> webchat51: then use the package provided by Ubuntu 22.04.
[15:21] <webchat51> Ok
[15:21] <samy1028b> webchat51: if you don't understand the basics of the question you are asking, then you *will* (not might) end up with a compromised server.
[15:21] <ogra> yeah, you will not have to care about security stuff and the like, just keep your system updated regulary and you get security fixes for free 
[15:22] <ogra> (when using the deb)
[15:22] <webchat51> Alright
[15:22] <webchat51> Thanks
[15:22] <samy1028b> There are certain things we use in production that are from upstream source or built from source, but those are very specific things that are not ported into the Ubuntu versions yet.
[15:23] <webchat51> Ok
[15:23] <samy1028b> And we know what that entails and keep them updated during our regular maintenance cycles.
[15:24] <webchat51> Ok
[15:25] <samy1028b> btw, they were asking the same questions in #ubuntu before they joined here.
[15:27] <samy1028b> jelly: sorry, I don't know barely know enough LVM for regular use, much less a custom install script for it.  Perhaps someone else here will have some insight for you.
[15:37] <jelly> that's how things _used to be_.  Now I'm basically asking how to customize disk/partition/fs layout for jammy VMs/
[15:38] <jelly> and do it automatically, too
[15:40] <jelly> https://ubuntu.com/server/docs/install/storage > Currently the installer cannot 𝑒𝑑𝑖𝑡 partition tables. You can use existing partitions or reformat a drive entirely but you cannot, for example, remove a large partition and replace it with two smaller ones.
[21:16] <dortal> hi