To integrate your Anaconda Repository into Anaconda Enterprise Notebooks, edit your .condarc file to configure conda to use your on-site repo instead of repo.continuum.io or anaconda.org:
#/opt/wakari/anaconda/.condarc
channels:
- defaults
create_default_packages:
- anaconda-client
- ipykernel
NOTE: If there are some channels that you have not mirrored, you should remove them from the configuration.
Default channels are needed when you override the system .condarc with your ~/.condarc. This ensures that "defaults" map to your Anaconda Repository and not repo.continuum.io :
default_channels:
- http://your anaconda repository URL:8080/conda/anaconda
- http://your anaconda repository URL:8080/conda/wakari
- http://your anaconda repository URL:8080/conda/r-channel
Note: You must add the conda subdirectory at the end
channel_alias:
http://your_Anaconda_Repository_name:8080/conda
Make these changes on all of your Compute nodes. You can also add channels by using the conda config command:
conda config --show-sources
On a clean install, the default config file is /opt/wakari/.condarc.
When you run the conda config command with the --set or --add flags for the first time, a .condarc in your home area will be created: /home/username/.condarc.
In order to add channels to your user's /home/username/.condarc file run this command:
conda config --add channels CHANNEL_NAME
This will add the channel to your user's /home/username/.condarc directory.