mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #23] Updates for your install instructions #16
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#16
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 @claytondukes on GitHub (Jun 23, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/23
Couple of notes:
The section for
cd ..sudo mv webvirtcloud /srvshould be moved up since where you have it will set the wrong path in
venv/bin/gunicorn(it sets it to/root/webvirtcloud).You also need to add www-data to the proper groups.
So the guide should be:
sudo apt-get -y install git python-virtualenv python-dev \libxml2-dev libvirt-dev zlib1g-dev nginx supervisorsudo mkdir /srv && cd /srvgit clone https://github.com/retspen/webvirtcloud && cd webvirtcloudvirtualenv venvsource venv/bin/activatepip install -r conf/requirements.txtpython manage.py migratesudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.dsudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.dsudo chown -R www-data:www-data /srv/webvirtcloudRestart services
sudo service nginx restartsudo service supervisor restartInstall
wget -O - https://clck.ru/9V9fH | sudo shAdd users to proper groups
(this is missing in your instructions)
sudo adduser www-data libvirtdsudo adduser www-data kvmsudo adduserid -unlibvirtdsudo adduserid -unkvmUpdate gstfsd
(I wasn't sure if this step was needed but it didn't hurt either)
wget -O - https://clck.ru/9VMRH | sudo tee -a /usr/local/bin/gstfsdsudo service supervisor restartMake sure it's working
/srv/webvirtcloud# supervisorctl statusgstfsd RUNNING pid 17346, uptime 0:00:05novncd RUNNING pid 17345, uptime 0:00:05webvirtcloud RUNNING pid 17344, uptime 0:00:05