Depending on how random your sample has to be, I'd suggest getting some random numbers and then adding some of your own to get the desired median and mean. There's a positive skew, so you may want to ...
On Unix systems, random numbers are generated in a number of ways and random data can serve many purposes. From simple commands to fairly complex processes, the question “How random is random?” is ...