Get some machine running bitcoind/namecoind and put something like this in your bitcoind.conf:
rpcuser=user
rpcpassword=pw
rpcport=8332
rpcallowip=[put your miner's IPs/ranges here]
daemon=1
server=1
rpcuser and rpcpassword ofc have to be changed.
After dl'ing the blockchain, point your workers to the server's address using the username and password specified in your bitcoind.conf.
Example using phoenix/linux:
python phoenix.py -u
http://rpcuser:rpcpw@server:port -k yourkernel DEVICE=x [additional flags]
btw. by using bitcoind's "generate coins" stuff, you're basically heating your room (aka CPU-mining).