[GH-ISSUE #658] Offline install - webvirtmgr #501

Open
opened 2026-02-27 16:39:28 +03:00 by kerem · 1 comment
Owner

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.

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.
Author
Owner

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

<!-- gh-comment-id:370713479 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#501
No description provided.