How do I set my own validator?
The best tutorial can be found here, it also explains how to encrypt your wallet and unlock it for staking only which should be the configuration used. The tutorial is for a Pi3 but it is applicable for linux also.
How do I unlock my wallet for staking only?
>/path/to/wallet/qtum-cli -stdin walletpassphrase <your passphrase> 99999999 true <CTRL-D>
Where is my wallet.dat located?
Mac: ~/Library/Application\ Support/Qtum/