If by VPS you mean Virtual Private Server then you are talking about CPU mining, or using the central processing unit of the server to perform the calculations. A somewhat better way is to use GPU mining, or a graphics card as TroyDASH was saying, still not a good way to go. In either case...