mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
Added fix sellinux in CentOS
This commit is contained in:
parent
511ab8debc
commit
c07d1b1a6e
1 changed files with 11 additions and 6 deletions
17
README.md
17
README.md
|
@ -156,17 +156,17 @@ Change permissions so nginx can read the webvirtcloud folder:
|
||||||
sudo chown -R nginx:nginx /srv/webvirtcloud
|
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:
|
Add required user to the kvm group:
|
||||||
```bash
|
```bash
|
||||||
sudo usermod -G kvm -a webvirtmgr
|
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:
|
Let's restart nginx and the supervisord services:
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl restart nginx && systemctl restart supervisord
|
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!!
|
Done!!
|
||||||
|
|
||||||
Go to http://serverip and you should see the login screen.
|
Go to http://serverip and you should see the login screen.
|
||||||
|
|
Loading…
Reference in a new issue