mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #16] Centos 7 supervisor #10
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @la0wei on GitHub (Jun 7, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/16
[root@Gen8 etc]# cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
cp: cannot stat ‘conf/supervisor/webvirtcloud.conf’: No such file or directory
@savichev commented on GitHub (Jun 7, 2015):
The previous command
did not cause the error ?
Please execute
and
Attach the output
@la0wei commented on GitHub (Jun 7, 2015):
@savichev I am sorry ,post the wrong output.
the original command in 'Install WebVirtCloud panel' is
sudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
it does not work,because /etc/supervisor doesn't exist.
[root@Gen8 webvirtcloud]# cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
cp: cannot create regular file ‘/etc/supervisor/conf.d’: No such file or directory
I changed the /etc/supervisor/conf.d to /etc/supervisord.d
at least the cp command works.
and the command
sudo chown -R www-data:www-data /var/www/webvirtcloud
Centos 7 nginx user seems not www-data like Debian or Ubuntu,it's nginx.
So it seems should be sudo chown -R nginx:nginx /var/www/webvirtcloud
@retspen commented on GitHub (Jun 7, 2015):
For ContOS 7 add this lines to /etc/supervisor.conf:
@retspen commented on GitHub (Jun 7, 2015):
And change www-data to nginx all config files
@savichev commented on GitHub (Jun 7, 2015):
@retspen
IMHO not corrected.
More correctly
?
@choclo commented on GitHub (Jul 31, 2015):
Hi @retspen and @savichev ,
Make sure you also on CentOS7 change some paths on the /etc/supervisord.conf file:
The defaults did not work, mostly because you need to point to the correct python version to load django. This is working now on the latest CentOS:
I'm still not getting a connection from novnc but will post the solution as soon as I get it.
@dubrsl commented on GitHub (Jul 31, 2015):
Try to check iptables
@choclo commented on GitHub (Jul 31, 2015):
@dubrsl nah, iptables is long disabled:
EDIT: Actually it was the proxy/firewall I'm at so all works OK :)