Skip to content

Installing the control server on Rocky Linux 9

curl https://install.virtfusion.net/install-control-rhel-9.sh | sh -s -- --verbose
If the curl command is missing, install it using:dnf install curl -y

Once the installer has completed the installation process, a URL and temporary username & password will be given.

installer

SSL setup

A stock installation will generate a self-signed SSL certificate but this is probably not what you need. You can use ZeroSSL to generate a signed set of certificates for your domain at no cost.

Make sure you have an A record pointing to the control server IP in your DNS records before using this feature.

Using acme.sh

Install acme.sh.

wget -O -  https://get.acme.sh | sh
. ~/.bashrc

Register an account at ZeroSSL (replace YOUR_EMAIL with your own email address).

acme.sh --register-account \
        --server zerossl \
        -m YOUR_EMAIL

Or if you already have an account at ZeroSSL.

acme.sh --register-account \
        --server zerossl \
        --eab-kid  xxxxxxxxxxxx  \
        --eab-hmac-key  xxxxxxxxx

Generate a certificate (replace DOMAIN.COM with your own domain).

acme.sh --issue \
        --webroot /opt/virtfusion/nginx/acme \
        --ocsp-must-staple \
        --keylength 4096 \
        --server zerossl \
        -d DOMAIN.COM

Install certificate (replace DOMAIN.COM with your own domain).

acme.sh --installcert \
        --keypath /opt/virtfusion/ssl/ssl.key \
        --fullchainpath /opt/virtfusion/ssl/ssl.crt \
        --reloadcmd "systemctl reload vf-nginx" \
        -d DOMAIN.COM

Activating a license

Login to VirtFusion with the new login details that were generated on installation.

You will be given the options to either generate an evaluation license or enter an existing license key.

license