-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
medusa offline install needs an update #665
Labels
done
Issues in the state 'done'
Comments
Jira for reference in case it's needed: |
Relates to #555 . |
adejanovski
added
ready-for-review
Issues in the state 'ready-for-review'
and removed
product-backlog
Issues in the state 'product-backlog'
labels
Mar 5, 2024
adejanovski
added
review
Issues in the state 'review'
and removed
ready-for-review
Issues in the state 'ready-for-review'
labels
Mar 6, 2024
I've updated the offline / RHEL installation docs in #555. |
adejanovski
added
done
Issues in the state 'done'
and removed
review
Issues in the state 'review'
labels
Mar 6, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Project board link
The offline install for Medusa is here:
https://github.com/thelastpickle/cassandra-medusa/blob/master/docs/Installation.md#offline-installation
The current RHEL/centos instructions do not work, but I’ve verified the following approach works:
install python3 and create a new virtual environment:
sudo python3 -m venv test
move into the created directory:
cd test
activate the new environment:
source bin/activate
next, upgrade pip/setuptools:
sudo bin/pip3 install --upgrade pip
sudo bin/pip3 install --upgrade pip setuptools
now, install medusa:
sudo bin/pip3 install cassandra-medusa
move out of the created directory:
cd ..
once the install is successful, create the requirements.txt file containing dependencies:
sudo test/bin/pip3 freeze > requirements.txt
create a new dir called medusa_requirements:
mkdir medusa_requirements
using the requirements.txt file, download all the included files into the new directory:
sudo test/bin/pip3 download -r requirements.txt -d medusa_requirements
now move the requirements.txt file into the medusa_requirements directory:
mv requirements.txt medusa_requirements/
now tar up the contents of the medusa_requirements directory:
sudo tar -zcf medusa_reqs.tar.gz medusa_requirements/
Now you should be able to transfer the medusa_reqs.tar.gz tarball to your env with no internet access.
Once transferred, unzip the files and install the libraries, for example:
tar -zxf medusa_reqs.tar.gz
pip3 install -r medusa_requirements/requirements.txt --no-index --find-links medusa_requirements
The text was updated successfully, but these errors were encountered: