=========================================
Customized Anaconda Installers (AER 2.27)
=========================================

.. raw:: html

    <p>Anaconda Repository can distribute copies of the Anaconda distribution and the
    Miniconda installer that are pre-configured to use your installation of Anaconda
    Repository.</p>
    <p>To download the installers:</p>
    <div class="code bash highlight-python"><div class="highlight"><pre><span></span>mkdir -p /tmp/extras
    pushd /tmp/extras

    URL=&quot;https://repo.continuum.io&quot;

    version=&quot;4.2.0&quot;
    miniconda=&quot;Miniconda3-latest-Linux-x86_64.sh \
        Miniconda3-latest-MacOSX-x86_64.sh \
        Miniconda3-latest-Windows-x86.exe \
        Miniconda3-latest-Windows-x86_64.exe \
        Miniconda-latest-Linux-x86_64.sh \
        Miniconda-latest-MacOSX-x86_64.sh \
        Miniconda-latest-Windows-x86.exe \
        Miniconda-latest-Windows-x86_64.exe&quot;
    anaconda=&quot;Anaconda2-$version-Linux-x86_64.sh \
        Anaconda3-$version-Linux-x86_64.sh \
        Anaconda2-$version-MacOSX-x86_64.sh \
        Anaconda3-$version-MacOSX-x86_64.sh \
        Anaconda2-$version-MacOSX-x86_64.pkg \
        Anaconda3-$version-MacOSX-x86_64.pkg \
        Anaconda2-$version-Windows-x86_64.exe \
        Anaconda3-$version-Windows-x86_64.exe&quot;

    for installer in $miniconda; do
        curl -O $URL/miniconda/$installer
    done
    for installer in $anaconda; do
        curl -O $URL/archive/$installer
    done

    # Move installers into static directory
    popd
    cp -a /tmp/extras \
      /home/anaconda-server/miniconda2/lib/python2.7/site-packages/binstar/static
    </pre></div>
    </div>
    <p>The installers will be available for download from <code class="docutils literal"><span class="pre">http://&lt;your-anaconda-server&gt;/downloads</span></code>. The resulting
    download will be a zip file containing the Anaconda distribution and the configuration files specific to
    your server. These zip files will be cached in the server&#8217;s configured storage for quick retrieval.</p>
    <p>To pre-generate these installer bundles based on the downloaded installers, or to re-generate after downloading
    new installers, execute the command:</p>
    <div class="code bash highlight-python"><div class="highlight"><pre><span></span>anaconda-server-admin update-installers
    </pre></div>
    </div>
    <p>This command requires that the <code class="docutils literal"><span class="pre">SERVER_NAME</span></code> <a class="reference internal" href="reference.html#server-name"><span>setting</span></a> be set in order to generate the
    correct URLs.</p>
    <p>By default, the included <code class="docutils literal"><span class="pre">conda</span></code> installation will point to the <code class="docutils literal"><span class="pre">anaconda</span></code> and <code class="docutils literal"><span class="pre">r-channel</span></code> accounts on
    your Anaconda Repository server, if those accounts exist. The channels included in this default configuration
    can be adjusted by setting the <code class="docutils literal"><span class="pre">DEFAULT_CHANNELS</span></code> <a class="reference internal" href="reference.html#default-channels"><span>setting</span></a>, and running the
    <code class="docutils literal"><span class="pre">anaconda-server-admin</span> <span class="pre">update-installers</span></code> command.</p>
