For bitcoin you can use cex.io, trade mining shares and earn mining profit.
For altcoins that required CPU miners like ProtoShares(PTS), Primecoin(XPM) you can rent a cloud/server hosting and setup your miner
Google "primecoin cloud mining" and "protoshares cloud mining" how to setup miner
thank you