(RE)installation

hello all -

as a longtime major fan of webmin/virtualmin, i have (re?)installed my fav toolset during multiple migrations, different hosting companies, different OS’s, etc.

somewhere along the way i started keeping a list of my customizations. but while in a holding pattern waiting for php 8.5 due in a couple of weeks, i decided to automate my customizations. here is a bash script to do it for me:

systemctl  status --no-pager --full  webmin.service  ;

/usr/bin/sed  --in-place  --expression='s/^longname=0$/longname=1/;'                  /etc/webmin/virtual-server/config    ;   ## 2025-02-17
/usr/bin/sed  --in-place  --expression='s/^ssl=3$/ssl=2/;'                            /etc/webmin/virtual-server/config    ;   ## 2025-08-15 

/usr/bin/sed  --in-place  --expression='s/^featurelimits=$/featurelimits=dns web/;'   /etc/webmin/virtual-server/plans/0   ;   ## 2025-02-19

virtualmin  create-domain  --domain  ${DOMAIN}  --pass  abcdefg --dir  --unix  --dns  --web  ;    ## 2025-08-13

this way i dont forget to make a change.

Any thoughts or opinions?

SYSTEM INFORMATION
OS type and version RL-10
Webmin version latest
1 Like