Basically you need to configure your local
altcoin.conf file.
In Ubuntu it is under .altcoin/altcoin.conf
In the console shell write this:
echo '
rpcuser=YOUR_USER
rpcpassword=YOUR_PASS
rpcallow=127.0.0.1
server=1
gen=1
' > .altcoin/altcoin.conf
change altcoin for dogecoin for example if you pretend to mine DOGEcoin
Then point your miner to your localhost instead of the pool address.