Linux (as root)¶
For ease of installation on Linux, we provide a script that will automatically download, install and start HTCondor.
Quickstart Installation Instructions¶
RedHat systems must be attached to a subscription.
Debian and Ubuntu containers don’t come with
curlinstalled, so run the following first.
apt-get update && apt-get install -y curl
The command below shows how to download the script and run it immediately; if you would like to inspect it first, see Inspecting the Script. The default behavior will create a complete HTCondor pool with its multiple roles on one computer, referred to in this manual as a “minicondor.” Experienced users who are making an HTCondor pool out of multiple machines should add a flag to select the desired role; see the Administrative Quick Start Guide for more details.
sudo curl -fsSL https://get.htcondor.com | /bin/bash -s -- --no-dry-run
If you see an error like
bash: sudo: command not found, try re-running
the command above without the leading
Inspecting the Script
If you would like to inspect the script before you running it on your system as root, you can:
compare the script to the versions in our GitHub repository;
or run the script as user
nobody, dropping the
--no-dry-runflag. This will cause the script to print out what it would do if run for real. You can then inspect the output and copy-and-paste it to perform the installation.
Verifying a Single-Machine Installation
You can easily check to see if the installation procedure succeeded. The following commands should complete without errors, producing output that looks like the corresponding example.
Name OpSys Arch State Activity LoadAv Mem Actv firstname.lastname@example.org LINUX X86_64 Unclaimed Benchmarking 0.000 2011 0+00 email@example.com LINUX X86_64 Unclaimed Idle 0.000 2011 0+00 firstname.lastname@example.org LINUX X86_64 Unclaimed Idle 0.000 2011 0+00 email@example.com LINUX X86_64 Unclaimed Idle 0.000 2011 0+00 Total Owner Claimed Unclaimed Matched Preempting Backfill Drain X86_64/LINUX 4 0 0 4 0 0 0 0 Total 4 0 0 4 0 0 0 0
-- Schedd: azaphrael.org : <18.104.22.168:34585?... @ 11/11/20 14:44:06 OWNER BATCH_NAME SUBMITTED DONE RUN IDLE HOLD TOTAL JOB_IDS Total for query: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended Total for all users: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
If both commands worked, the installation likely succeeded.
Where to Go from Here