How to design voltage gain circuit?
Using an op amp for this is fine. You need to be careful to select the op-amp correctly. The power supply needs to be adequate to provide a 0-10V output some op amps will not drive all the way to the supply rail and some will not properly treat a 0V input if you just have a 0 to +V supply.

R1=R2 and as G36 suggested 10k would be fine for a DC amplifier.