Skip to main content

Campus Software Mirror Repository

  • Due to security management, the HPC Phase III platform restricts network access, and users need to use the campus-built software mirror repository to obtain common images, dependency packages, etc.

  • Software Mirror Repository Portal (WEB Access): https://nexus.hpc.hkust-gz.edu.cn/

  • Provided Types: Maven, npm, Docker, Conda, PyPI, yum, etc.

Usage Instructions

info

Before use, please confirm whether the domain name harbor.internal.com can be resolved.

If resolution fails, manually add a DNS resolution (hosts file). The IP information can be viewed on the login node.

alt text

PyPI (Python)​

Global Configuration (Virtual Environment)​

Set via pip config set in the virtual environment:

pip config set global.index-url http://harbor.internal.com:8081/repository/pypi-hkust/simple

pip config set install.trusted-host harbor.internal.com

Temporary Configuration​

When installing packages with pip, specify the repository address via the --index-url parameter: http://harbor.internal.com:8081/repository/pypi-hkust/simple

pip install \<pkg> --index-url http://harbor.internal.com:8081/repository/pypi-hkust/simple --trusted-host harbor.internal.com

View Installable Versions​

Check the versions of dependency packages available in the repository:

pip index versions \<pkg> --index-url http://harbor.internal.com:8081/repository/pypi-hkust/simple --trusted-host harbor.internal.com

Conda​

Global Configuration​

conda config --remove channels defaults
conda config --add channels http://harbor.internal.com:8081/repository/conda-hkust/main
conda config --add channels http://harbor.internal.com:8081/repository/conda-hkust/free
conda config --add channels http://harbor.internal.com:8081/repository/conda-hkust/msys2
conda config --add channels http://harbor.internal.com:8081/repository/conda-hkust/pro
conda config --add channels http://harbor.internal.com:8081/repository/conda-hkust/r

View Installable Versions​

Check the versions of dependency packages available in the repository:

conda search \<pkg>