Answer the question
In order to leave comments, you need to log in
How to setup phpvirtualbox?
I can’t set up phpvirtualbox in any way, all services are working, the site opens, but I can’t log in (I try admin / admin). I searched on the Internet, I did not find a solution.
Answer the question
In order to leave comments, you need to log in
tcp6 0 0 ::1:18083 :::* LISTEN 23379/vboxwebsrv
ipv6 listening?
Found a solution to the problem.
1) Changed the /etc/default/virtualbox VBOXWEB_HOST file to the server IP
2) The same IP was registered in the /var/www/phpvirtualbox/config.php
file
var $location = ' http://*.*.*.*: 18083/ ';
3) Deleted the file /lib/systemd/system/vboxweb.service , which I no longer need.
4) Because I use Supervisor , I made a config for it /etc/supervisor/conf.d/vboxweb.conf :
[program:vboxweb]
command=/usr/bin/vboxwebsrv -H Server IP
user=virtualbox (the user from which the virtualbox itself works, he must be in /etc/default/virtualbox)
process_name=%(program_name)s
numprocs=1
autostart=1
autorestart=1
redirect_stderr=true
5) Restarted Supervisor
As a result, everything works:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question