Install NetScaler BLX on a Debian-based Linux host

Before you begin

  • Ensure that the NetScaler BLX package is available on the Linux host. For information on how to download BLX, see Download the BLX package on the Linux host.

  • Ensure that the Linux host has internet access to install the necessary dependencies. For more information about auto-installed dependencies, see Auto-installed dependencies for BLX.

  • Ensure that you have root or sudo privileges to install BLX on the Linux host.

Install NetScaler BLX

  1. Untar the BLX installation package and then change the working directory to the extracted BLX installation directory.

    tar -xvzf blx-deb-<release number>-<build-number>.tar.gz
    
    cd <path to the extracted BLX installation directory>
    <!--NeedCopy-->
    

    Sample output:

    The following sample output shows that the BLX installation package blx-deb-14.1-4.42.tar.gz downloaded to the /var/blxinstall directory of the Linux host is untared. Then, the working directory is changed to the extracted directory blx-deb-14.1-4.42.

    # cd /var/blxinstall
    
    # tar -xvzf blx-deb-14.1-4.42.tar.gz
    
    # cd blx-deb-14.1-4.42
    
    # pwd
    /var/blxinstall/blx-deb-14.1-4.42
    <!--NeedCopy-->
    
  2. Run the following command to install BLX.

    apt install ./blx*.deb
    <!--NeedCopy-->
    

    Note:

    Installation of BLX might fail on a Debian-based Linux host, running Ubuntu version 18 or later, with the following dependency error:

    The following packages have unmet dependencies: blx-core-libs:i386 : PreDepends: libc6:i386 (>= 2.19) but it is not installable

    Workaround: Run the following commands in the Linux host CLI before installing BLX:

    • dpkg --add-architecture i386
    • apt update
    • apt install libc6:i386
  3. This is an optional step. To use the custom monitor feature, you must install perl(Authen::NTLM) manually by using Comprehensive Perl Archive Network (CPAN) on the system before proceeding to use nsall.pl and nsntlm-lwp.pl scripts.

    # cpan install Authen::NTLM
    <!--NeedCopy-->
    
  4. Check the status of BLX by running the following command:

    systemctl status blx
    <!--NeedCopy-->
    

    By default, BLX is in an inactive state.

To uninstall the BLX from the Linux host:

  • Run the apt remove blx command on the Linux host to uninstall BLX and keep the BLX configuration file.

  • Run the apt purge blx command on the Linux host to uninstall BLX and remove the BLX configuration file.

    Note:

    The Linux host might display warning messages that some BLX-related system files are not removed. But, all the BLX files are removed when you run the apt purge blx command.

Next step

Install NetScaler BLX on a Debian-based Linux host