Installing TORQUE

RPM install

New Installation

  1. If you are installing torque for the first time then type the following command to install it (as root)
  2. # rpm -ivh torque-version-release.i386.rpm
  3. Next, run the script that is in the tools/ directory. This script will automatically configure any necessary information for torque to work with your system. A password for the TORQUEadmin database user will need to be set, this can be accomplished two ways. If is started with no arguments, then it will prompt you for the password. However you may over-ride this behavior by providing the -notsafe switch and following it with the password you wish to use. i.e. -notsafe password It is not recommended that you do this however, as it may be possible for someone on your system to capture your password that way. You can use the -h or --help option to see any other options available.
  4. # perl /usr/local/torque/tools/


  1. If you already have torque installed and are upgrading to a newer version use this command
  2. # rpm -Uvh torque-version-release.i386.rpm

Tar-ball install

  1. Once you have obtained the tarball unpack it using the following command
  2. # tar -xzf torque-version-release.tar.gz
  3. Move into the newly created directory and run the installation script by typing (as root)
  4. # ./ install
  5. The install script will print that you need to merge the torque.conf file with your apache config. Also you'll also have to run as stated above under the RPM installation.
  6. # perl /usr/local/torque/tools/


RPM install

  1. To install the the web-based gui via rpm type the following command: (as root)
  2. # rpm -ivh torque-webgui-version-release.i386.rpm
  3. After you install the packages, some information will be printed to your console that will instruct you of what additional steps you'll have to take. All users will have to create an htpasswd file to authenticate users. As the console designates the expected path is /etc/httpd/htpasswd, however you could sym-link it to an already existant htpasswd file if so desired. If you need to create one from scratch you could use the following command:
  4. # htpasswd -c /etc/httpd/htpasswd username
  5. If you have a previous mod_ssl configuration in place in the ssl.conf file, the torque-webgui rpm will install torque's ssl configuration as torquessl.conf.rpmnew so as not to conflict with your existing configuration. You must however, merge these files in order for the webgui to function properly and securely.
Written by Greg Kuchyt
How To Torque
Torque's Bugs
How to install Torque
How to useTorque
Developer stuff