How to uninstall Virtul Box

  • Hi,


    So i made the mistake of following this guide and installing vitual box on my OMV, please can someone advise me on how i remove this?so i dont have VB on my system anymore?

    Normally if its in red it's bad!!!


    I left then came back....probably going to leave again.....also im hungry.

  • if you want to uninstall only VB, then:

    Code
    sudo apt remove virtualbox-6.1

    or even better would be:

    Code
    sudo apt autoremove --purge virtualbox*

    You can probably uninstall php7.3-soap too and remove folder /var/www/phpvirtualbox

  • Hi greg77 , Thank you. Wish i had never installed this guide. Is there away to get rid of the WebGUI?


    from the guide i removed the following referances

    Code
    Create configfifle for website "phpvirtualbox-webgui" that runs in NGINX
    [tt]nano /etc/nginx/sites-available/phpvirtualbox-webgui[/tt]
    Create configuration file for "php-fpm"
    [tt]nano /etc/php/7.3/fpm/pool.d/phpvirtualbox-webgui.conf[/tt]
    Activate PHPVirtualbox website
    [tt]sudo ln -s /etc/nginx/sites-available/phpvirtualbox-webgui /etc/nginx/sites-enabled/[/tt]

    and then i restarted NGIX but the WebGUI is still there.

    Normally if its in red it's bad!!!


    I left then came back....probably going to leave again.....also im hungry.

  • so you removed:

    Code
    sudo rm /etc/nginx/sites-available/phpvirtualbox-webgui
    sudo rm /etc/php/7.3/fpm/pool.d/phpvirtualbox-webgui.conf
    sudo rm /etc/nginx/sites-available/phpvirtualbox-webgui

    and GUI is still there?

  • Please paste here a results of these two commands:

    Code
    find / -iname *phpvirtualbox*

    and


    Code
    grep -R "phpvirtualbox" /etc/* | less


    1st will output all files matching pattern *phpvirtualbox* in their name (case insensitive)

    2nd will find all files in /etc which content word phpvirtualbox in them


    In both cases we expect config files of php or a web server.

  • Hi greg77 Thank you for your help, Had a power outage the other day but when everything was back up and running VB including the webGUI had deisapeared a long with all traces, so i guess everything is ok now.


    Now i just need to find a VB install that will work either via docker or script install.


    Thank you again.

    Normally if its in red it's bad!!!


    I left then came back....probably going to leave again.....also im hungry.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!