Which install script for rocky?

hello - i am going to install VM/webmin on rocky-linux 8.4

previously i used one of these two scripts:

https://raw.githubusercontent.com/virtualmin/virtualmin-install/master/virtualmin-install.sh
http://software.virtualmin.com/gpl/scripts/install.sh ;

on the first script, i was recently told to change vm_version=7 to vm_version=6 but i see the script does indeed make a reference to “rocky”.

so, which script it the best one? or does it matter? and i am guessing i dont need to make any script changes.

and a special THANK-YOU to the Virtualmin/Webmin staff for all of their hard work supporting yet another Linux.

EDIT:

-rw-r–r–. 1 root root 33073 Dec 16 2020 install.sh
-rw-r–r–. 1 root root 34615 Jun 23 13:07 virtualmin-install.sh

it looks like the virtualmin-install.sh is the one is the one i should use, since it makes reference to rocky where the install.sh one does not, it only references redhat/centos and would probably just end with a notice about not recognizing rocky-linux.

EDIT 2:

proceeding with the virtualmin-install.sh script, i get this (trying this on Virtualbox)

Downloading virtualmin-release-latest.noarch.rpm [ERROR] (in red)
Failed with error: 6
[ x ] (in red)

Spin pid is: 88590
Username/Password Authentication Failed.
Made it here… why?
Downlaoding virtualmin-release-latest.noarch.rpm: [2021-06-23 13:33:30 EST] ERROR] Failed with error: 6
[2021-06-23 13:33:30 EST] [ERROR] Something went wrong. Exiting.

now i am trying again changing the “7” to “6”

EDIT 3: so far so good after changing “7” to “6” but i still would appreciate confirmation. i am playing with this on Virtualbox.

Hi,

Neither yet, sorry. Rocky and AlmaLinux will be supported with Virtualmin 7.

At the moment you could use the mentioned script from Git but you will have to manually find and change vm_version=7 to vm_version=6 to make it work.

yes already did that on the VirtualBox testing installation.

will eventually moving from 6 to 7 be a simple dnf/yum command?

Yes, we expect so.

1 Like

curl https://raw.githubusercontent.com/virtualmin/virtualmin-install/master/virtualmin-install.sh \
| sed -e ‘s/^vm_version=7$/vm_version=6/’ > virtualmin-install.sh ;
chmod 700 virtualmin-install.sh ; ## change protections
./virtualmin-install.sh ; ## run script

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.