Because you are air-gapped, you have already downloaded the installers when you downloaded the contents of your mirror achieve from airgap.demo.continuum.io. Only the most recent versions (at the time of release) of the Anaconda and Miniconda installers are included in this download however. Please take a look at the location where you have untarred your anaconda-enterprise-year-month-day.tar file and look for the directory called "conda." This is where the installers will be located. After you find the installers you can simply copy them to the following directory:
cp Anaconda2-220.127.116.11-Linux-x86_64.sh /home/anaconda-server/repo/opt/anaconda-server/installers
This command will copy the Anaconda2-18.104.22.168-Linux-x86_64.sh installer file to the installers folder. After you copy the installers you will be able to go to: http://your-repo:port-number/downloads and see your installers hosted there.
If you want these installers to be pre-configured to point to your Repo when installing packages then you will have to set the SERVER_NAME variable in your config file and then run the "update-installers" command. You can do this by first, editing your config file that lives at /home/anaconda-server/repo/etc/anaconda-server/config.yaml to include this line:
After saving your changes you will want to restart your services by running the following commands:
supervisorctl stop all
supervisorctl start all
Once you have restarted the services you can run this command as the anaconda-server user:
Your installers will now be configured to point to your Repo. If you want to host a different version of the Anaconda or Miniconda installers then you can copy a different version of the installers to /home/anaconda-server/repo/opt/anaconda-server/installers and then run the 'update-installers' command again.