From c07d1b1a6e051f3f9a1739eea71129616207663b Mon Sep 17 00:00:00 2001 From: Anatoliy Guskov Date: Sat, 1 Aug 2015 09:42:47 +0300 Subject: [PATCH] Added fix sellinux in CentOS --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f20532..4f205bc 100644 --- a/README.md +++ b/README.md @@ -156,17 +156,17 @@ Change permissions so nginx can read the webvirtcloud folder: sudo chown -R nginx:nginx /srv/webvirtcloud ``` +Change permission for selinux: + +```bash +sudo semanage fcontext -a -t httpd_sys_content_t "/srv/webvirtcloud(/.*)" +``` + Add required user to the kvm group: ```bash sudo usermod -G kvm -a webvirtmgr ``` - -#### Install final required packages for libvirtd and others -```bash -wget -O - https://clck.ru/9V9fH | sudo sh -``` - Let's restart nginx and the supervisord services: ```bash sudo systemctl restart nginx && systemctl restart supervisord @@ -182,6 +182,11 @@ webvirtcloud RUNNING pid 24185, uptime 2:59:14 ``` +#### Install final required packages for libvirtd and others on Host Server +```bash +wget -O - https://clck.ru/9V9fH | sudo sh +``` + Done!! Go to http://serverip and you should see the login screen.