Struggling with XP

So me and my friends have a base that is somewhat far away from a spawner. We are at a point where we are struggling with XP.

What are some good ways to get XP in this situation?