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

The platform has pre-configured campus channels for Conda by default.

Temporary Configuration

When installing packages with conda install, specify the repository address via the --channel parameter: http://harbor.internal.com:8081/repository/conda-hkust/

conda install \<pkg> --channel http://harbor.internal.com:8081/repository/conda-hkust/

View Installable Versions

Check the versions of dependency packages available in the repository:

conda search \<pkg>