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:
-
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, andcurl(on Debian/Ubuntu) or equivalent packages such asalsa-libandmesa-libGL(on RHEL). -
Installer Download: The Anaconda3 installer script is downloaded from the official repository to the
/root/directory. -
Integrity Verification: A SHA256 checksum is performed on the downloaded file to ensure data integrity.
-
Execution: The installation is executed in batch mode (
-b) with a force reinstall flag (-f) to ensure a clean environment. -
Environment Initialization: The Anaconda base environment is activated, and
conda initis run to configure the shell environment. All packages within the distribution are updated to their latest versions viaconda 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
condacommands 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:
-
Download the desired version of the Anaconda3 Linux x86_64 shell script.
-
Execute the script using the following command to ensure a clean update:
-
Re-initialize the environment by running:
Location of configuration files and data¶
-
Application Files:
/root/anaconda3/ -
Installation Scripts (Temporary):
/root/Anaconda3-*.sh