You can run the bitcoind with -daemon flag.
From there you can run bitcoind help to get list of commands, but one of them is:
bitcoind setgenerate true
You can also point poclbml.py or whatever mining application you have at the bitcoind instance to mine solo.