15
Linux
6y

- So you just installed ubuntu 18.04, what to do next?

- step one:
sudo apt-get install ifupdown

- step two:
sudo apt-get purge netplan.io

You are all set!

Comments
  • 4
    The amount of network managers is to high: Ifupdown, Ip2 (nor sure about the name), Systemd (yes, I think it can do that, too).
  • 0
    My mail server is still on 14.04. I know it's time to upgrade but everything is just so perfect as it is right now.
  • 0
    What's the difference?
  • 6
    Same thing for ufw and snap here (not sure if snap is included by default though, will have to check).
    # apt purge ufw
    # iptables -A INPUT $yadayada
    # iptables -A OUTPUT $yadayada
    ufw just seems way too restrictive in rules it can set right now. Not worth it. And it's unnecessary boilerplate.

    # apt purge snap
    Snap seems to be written by someone who had no idea whatsoever about the Filesystem Hierarchy Standard. Core system binaries go into /bin, extra system binaries go into /usr/bin, and other stuff goes into /opt or /usr/local/bin. What does snap do? Let's install our programs straight into /snap, shall we? Entitled piece of shit it is. No fucking way in hell I'ma let snap wreak havoc on my servers like that.
  • 4
    @Condor I once published my website under root home folder, please don't murder me T_T
  • 4
    @gitpush if thou hast learned about /var/www, thou shalt be forgiveth :)
  • 3
    @Condor You're joking right? I store my passwords there!

    *runs to a different universe* :P
  • 4
    @Condor Not to mention that it creates a new 'loop' device for every installed program. I had like 20 loop devices once before I understood wtf was going on.
  • 0
    @gathurian Oh, never noticed that! Seems like a pretty useful feature to overlay snaps on top of the filesystem. Magisk does something like this too. Difference being that rather than cluttering the loop devices it uses overlayfs though.. much better choice IMO. Especially since there can only be a limited amount of loop devices if memory serves me right.
    Edit: nvm, just checked the kernel option I was thinking of, it's CONFIG_BLK_DEV_LOOP_MIN_COUNT and it specifies a minimum of 8 loop devices by default.
  • 1
    @olback

    You should upgrade, EOL
  • 1
    @Condor

    I always place my websites in /srv
  • 2
    @theKarlisK

    YES! Finally someone that understand! :D

    Server I set up often have a single purpose. So websites is just placed in /srv/website/documentroot/ on servers I manage.
  • 1
    @Linux if you want to configure your network interfaces from YAML, use https://github.com/ypconfig/...
  • 2
    @xalys

    Thanks!

    But I first have to accept yaml :)
  • 1
    @Linux hmm.. now that you mention it, FHS dictates site content to be in /srv rather than /var/www. I always thought that the likes of Arch were oddballs in that regard, by doing this. Looks like Ubuntu and such don't really follow the standard then...
  • 1
    @Condor

    Actually, most of the distros and software does not follow that standard sadly :/
  • 0
    @theKarlisK

    openbasedir kek
Add Comment