$ sudo apt-get install torque-common torque-client torque-mom
$ sudo nano /var/spool/torque/server_name:
server_name
$ sudo nano /var/spool/torque/mom_priv/config
$pbsserver server_name # note: this is the hostname of the headnode
start pbs_mom:
$ pbs_mom
or reboot
Server:
$sudo nano /var/spool/torque/server_priv/nodes
node_name np=4