UV question

How do you make a texture for UV in such a way that it repeats itself seamlessly?

I need it for walls, floors, etc.

I’ve reverted to using one solid color…

Here is a tutorial. The author uses Photoshop, but it work just as well using the Gimp.