|
Installing TORQUE
RPM install
New Installation
- If you are installing torque for the first time then type the following command to install it (as root)
# rpm -ivh torque-version-release.i386.rpm
- Next, run the makeconf.pl 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 makeconf.pl 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.
# perl /usr/local/torque/tools/makeconf.pl
Upgrading
- If you already have torque installed and are upgrading to a newer version use this command
# rpm -Uvh torque-version-release.i386.rpm
Tar-ball install
- Once you have obtained the tarball unpack it using the following command
# tar -xzf torque-version-release.tar.gz
- Move into the newly created directory and run the installation script by typing (as root)
# ./tarinstalltorque.sh install
- 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 makeconf.pl as stated above under the RPM installation.
# perl /usr/local/torque/tools/makeconf.pl
torque-webgui
RPM install
- To install the the web-based gui via rpm type the following command: (as root)
# rpm -ivh torque-webgui-version-release.i386.rpm
- 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:
# htpasswd -c /etc/httpd/htpasswd username
- 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
|