Skip to content

Deployment Overview of Anaconda on Server

Prerequisites and Basic Requirements

To ensure a successful installation, the server must meet the following requirements:

  • Operating System: Compatible with Debian-based (e.g., Ubuntu) or RHEL-based (e.g., Rocky Linux) distributions.

  • Privileges: Root or sudo access is required to install system dependencies and execute the installer.

  • Network Access: The server must have outbound internet access to download packages from APT/YUM repositories and the Anaconda distribution archives.

FQDN of the final panel on the hostkey.in domain

The following table describes the domain template used for this deployment:

Parameter Value
Prefix anaconda
Domain hostkey.in
Full template anaconda{Server_ID_from_Invapi}.hostkey.in

Application installation process

The application is installed using a dedicated shell script provided by the Anaconda distribution. The installation process follows these steps:

  1. Dependency Installation: The system installs necessary libraries for graphical and multimedia support, including libgl1-mesa-glx, libegl1-mesa, libXrandr2, libXss1, libXcursor1, libXcomposite1, libasound2, libXi6, libXtst6, libXdammage1, and curl (on Debian/Ubuntu) or equivalent packages such as alsa-lib and mesa-libGL (on RHEL).

  2. Installer Download: The Anaconda3 installer script is downloaded from the official repository to the /root/ directory.

  3. Integrity Verification: A SHA256 checksum is performed on the downloaded file to ensure data integrity.

  4. Execution: The installation is executed in batch mode (-b) with a force reinstall flag (-f) to ensure a clean environment.

  5. Environment Initialization: The Anaconda base environment is activated, and conda init is run to configure the shell environment. All packages within the distribution are updated to their latest versions via conda update --update-all.

The installed version of Anaconda is 2024.06-1.

Access Rights and Security

  • Installation Directory: The application is primarily managed under the /root/anaconda3/ directory.

  • Installer Cleanup: To maintain system hygiene, the installation script (Anaconda3-*.sh) is automatically removed from the /root/ directory after a successful deployment.

Custom Scripts and Additional Setup

The following actions are performed during or after the main installation:

  • Environment Configuration: The shell environment is modified to allow direct access to conda commands through the initialization of the base environment.

  • Post-Installation Cleanup: A finalization script is executed to complete any necessary system configurations required for the specific server environment.

Application Update Instructions

To update the Anaconda distribution, the installation process must be re-run using the latest version's installer:

  1. Download the desired version of the Anaconda3 Linux x86_64 shell script.

  2. Execute the script using the following command to ensure a clean update:

    bash Anaconda3-<version>-Linux-x86_64.sh -b -f
    

  3. Re-initialize the environment by running:

    source /root/anaconda3/bin/activate
    conda init
    conda update --update-all -y
    

Location of configuration files and data

  • Application Files: /root/anaconda3/

  • Installation Scripts (Temporary): /root/Anaconda3-*.sh

question_mark
Is there anything I can help you with?
question_mark
AI Assistant ×