Howdy all,
I’ve been banging on the installer and the new virtualmin config-system
command, along with some other bits and pieces for the Virtualmin 6 installation process, and I think it’s ready to be called beta. It is, I believe, feature complete now, though some of those features might not work right off the bat.
Changes since the alpha release a week or whatever ago:
- Firewalld is now enabled on systems that support it (e.g. any system with systemd). It falls back to iptables for older non-systemd systems (I think firewalld needs d-bus, and there is no implementation of d-bus without systemd, as far as a I know, so firewalld only works on systemd systems). The iptables fall-back is completely untested. I’m testing on new distros first because those should be what 95%+ of users are installing (you should only install an older system if you’re recovering from a disaster and want to come back up on the same distro and version), and it doesn’t actually do much at the moment. The firewalld setup includes a basic firewall with all of the necessary ports for virtual hosting, and everything else blocked.
- Fail2ban is now enabled and configured with a sensible set of defaults for a Virtualmin system. This includes watching the Webmin log, sshd, some mail related logs, and responding appropriately with firewalld rules (or iptables rules). Again, untested on older distros at this time.
Debian 9 support is underway but isn’t in this release…but, will likely follow in a day or two. Edit: Debian 9 should be mostly functional. Problem reports welcome.
As always, don’t run the installer on a production Virtualmin system. This isn’t an upgrade tool; if you’ve got a Virtualmin system and you’re staying on top of updates, you’re already running a version of Virtualmin and Webmin that has most of these features available (they just aren’t setup by default), as we have rolled Webmin 1.844 and Virtualmin 5.99 (the beta of 6.0) out to all repos including the current repos. Once Virtualmin 6 goes gold and I’m confident it’s working correctly, I’ll roll the virtualmin config-system
command out for the old repos, so you can configure the new features in a mostly automatic, and mostly safe, way.
Problems should be expected; so don’t use this new installer if you have to have a Virtualmin server in production in 20 minutes. We support a ridiculous array of distributions and they can be installed in a huge variety of configurations, and my ability to test them all is highly limited by time. So. I welcome feedback. If you try it and it breaks, file a ticket, or just chime in here on this thread.
Also, I’m now welcoming reports about old versions of our supported distros (CentOS 6, Debian 7, and Ubuntu 14.04), so if you want to try it on those, I welcome feedback…but, expect more troubles. I haven’t even tried them yet, though I’ve written code that should accommodate them now (it automatically should use iptables instead of firewalld, and also deal gracefully with not having systemd).
Finally, I bet 32 bit distros are missing packages, so it’s probably not worth trying on those yet, until I have time to go through and insure all packages are in the 32 bit repos.
Let me know what breaks!
Here’s the link to the current beta Virtualmin 6 install script: http://software.virtualmin.com/gpl/scripts/vm6-install.sh
Here’s some github links for the various components of the installer if you find yourself wanting to work on new stuff:
These are the tools the shell script uses to actually perform the installation and configuration. vm6-install.sh sets up package repositories, installs the yum groups or the metapackages, and then uses Virtualmin-Config to perform the initial configuration steps, like turning on services, making service configuration changes, etc.
Virtualmin-Config: a post-modern post-installation configuration tool
virtualmin-yum-groups: Package groups for CentOS and Fedora
virtualmin-lamp-stack-deb: Metapackage for the LAMP stack on Debian
virtualmin-lamp-stack-ubu: Metapackage for the LAMP stack on Ubuntu
virtualmin-core-deb: Metapackage for the Virtualmin core packages on Debian and Ubuntu
Cheers,
Joe