1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-10-31 19:44:16 +00:00

Added fix sellinux in CentOS

This commit is contained in:
Anatoliy Guskov 2015-08-01 09:42:47 +03:00
parent 511ab8debc
commit c07d1b1a6e

View file

@ -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.