[14:38] How to enable and disable modules and sites when I build apache2 from source [14:39] Is anybody there [14:44] 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] 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] it all ends up in one big .conf file anyway [14:48] Can you explain [14:49] Is a yes or no [15:06] 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] for older releases, we just used the debian-installer image and replaced its partman with a well-positioned shell script [15:10] How do I enable and disable sites and modules when I build apache2 from source [15:12] any particular reason to build from source? [15:12] but a2enmod is still used to enable modules, and then a2ensite [15:13] Is the comand there when I build it from source [15:15] Because it's not available In my package manager [15:15] The version is old [15:15] webchat51: What version of Ubuntu are you running? [15:16] 22.04 [15:16] a2enmod ships with the apache2 package [15:16] otherwise just edit the apache2.conf file by hand and uncomment the mod you want to enable [15:17] Is it also there when I build it from source [15:17] webchat51: You should be running Apache 2.4.51-1ubuntu4.1 or greater? What is wrong with that version? [15:17] I want 2.4.54 [15:17] 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] 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] No I didn't know that [15:19] (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] *permanently [15:20] webchat51: what specifically in 2.4.54 is it you think you need? [15:20] Nothing [15:20] almost sounds like they should run nginx if they're concerned about security [15:21] Why [15:21] webchat51: then use the package provided by Ubuntu 22.04. [15:21] Ok [15:21] 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] 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] (when using the deb) [15:22] Alright [15:22] Thanks [15:22] 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] Ok [15:23] And we know what that entails and keep them updated during our regular maintenance cycles. [15:24] Ok [15:25] btw, they were asking the same questions in #ubuntu before they joined here. [15:27] 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] that's how things _used to be_. Now I'm basically asking how to customize disk/partition/fs layout for jammy VMs/ [15:38] and do it automatically, too [15:40] 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] hi