One way is to use screws
another is to use some double sided tape or just have them resting on a shelf.
If you want to mount motherboards on the wall, then you can simply pick up standoffs and use them as you would in a chassis only that they will go to the wall and then the board can mount to the standoffs in metal or
plastic.
What happened to your matx build?