/srv/irclogs.ubuntu.com/2022/07/05/#ubuntu-server.txt

webchat51How to enable and disable modules and sites when I build apache2 from source14:38
webchat51Is anybody there14:39
ahasenack_those utilities to enable modules and sites are a packaging thing I believe, not in upstream. You will have to check upstream's documentation14:44
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 sites14:45
ahasenack_it all ends up in one big .conf file anyway14:45
webchat51Can you explain14:48
webchat51Is a yes or no14:49
jellyhi, 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:06
jellyfor older releases, we just used the debian-installer image and replaced its partman with a well-positioned shell script15:07
webchat51How do I enable and disable sites and modules when I build apache2 from source15:10
mybalzitchany particular reason to build from source?15:12
mybalzitchbut a2enmod is still used to enable modules, and then a2ensite15:12
webchat51Is the comand there when I build it from source15:13
webchat51Because it's not available In my package manager15:15
webchat51The version is old15:15
samy1028bwebchat51: What version of Ubuntu are you running?15:15
webchat5122.0415:16
mybalzitcha2enmod ships with the apache2 package15:16
mybalzitchotherwise just edit the apache2.conf file by hand and uncomment the mod you want to enable15:16
webchat51Is it also there when I build it from source15:17
samy1028bwebchat51: You should be running Apache 2.4.51-1ubuntu4.1 or greater?  What is wrong with that version?15:17
webchat51I want 2.4.5415:17
samy1028bjust 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:17
ograwhy 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:18
webchat51No I didn't know that15: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*permanently15:19
samy1028bwebchat51: what specifically in 2.4.54 is it you think you need?15:20
webchat51Nothing15:20
mybalzitchalmost sounds like they should run nginx if they're concerned about security15:20
webchat51Why15:21
samy1028bwebchat51: then use the package provided by Ubuntu 22.04.15:21
webchat51Ok15:21
samy1028bwebchat51: 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
ograyeah, 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:21
ogra(when using the deb)15:22
webchat51Alright15:22
webchat51Thanks15:22
samy1028bThere 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:22
webchat51Ok15:23
samy1028bAnd we know what that entails and keep them updated during our regular maintenance cycles.15:23
webchat51Ok15:24
samy1028bbtw, they were asking the same questions in #ubuntu before they joined here.15:25
samy1028bjelly: 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:27
jellythat's how things _used to be_.  Now I'm basically asking how to customize disk/partition/fs layout for jammy VMs/15:37
jellyand do it automatically, too15:38
jellyhttps://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.15:40
dortalhi21:16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!