mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #658] Offline install - webvirtmgr #501
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 @zeus10000 on GitHub (Feb 8, 2018).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/658
I did not know where else to post this.
Is there a way I can install webvirtmgr without internet connection. We have a proxy/firewall that is blocking the download of dependencies of "requirements.txt".
Any help would be appreciated.
@rightkick commented on GitHub (Mar 6, 2018):
In CentOS7 I did the following for offline install:
At a Clean CentOS7 ran:
Download RPMs
yum -y install python-pip python-websockify supervisor nginx gcc python-devel --downloadonly --downloaddir=/root/webvirtrpms
download/install numpy and pip
pip install numpy
pip install --upgrade pip
git clone git://github.com/retspen/webvirtmgr.git
Get pip and numpy files
cp -r /usr/lib64/python2.7/site-packages/numpy-1.14.1.dist-info /root/
cp -r /usr/lib64/python2.7/site-packages/pip-9.0.1.dist-info /root/
Then get all downloaded RPMs and files and send them to offline server. At offline server:
cd /root/webvirtrpms
rpm -ivh *.rpm
cp -r numpy-1.14.1.dist-info /usr/lib64/python2.7/site-packages/
cp -r pip-9.0.1.dist-info/ /usr/lib64/python2.7/site-packages/
pip install numpy
pip install --upgrade pip
Inside the git cloned webvirt folder:
cd webvirtmgr
pip install -r requirements.txt
Then proceed with setup.
Hope that helps.