You don't necessarily have to compile vmods if the binaries for them are already available for your platform. Both CentOS 6 and 7 can leverage COPR builds by Ingvar in order to install a collection of extra modules by Varnish Software: https://copr.fedorainfracloud.org/coprs/ingvar/varnish51/
Understanding writing your own mods for Minecraft.
The first thing to know is that there are primarily two platforms which mods are build on. Forge and Bukkit.
Each platform has its advantages and disadvantages and are generally not compatible with each other. Forge mods run the gamut and are generally game-play oriented. Bukkit mods are entirely server-based and generally admin tool oriented. Bukkit mods are called plugins.