You have to edit the modules on a PC then upload them to a Linux server. You also have to get NWNX for Linux and put it on the server. You may have to manually compile the plugins.
If you are using SQLite as the data base you will have to get SQLite(
http://www.sqlite.org/download.html) for Linux and upload and perhaps install it to the server. The only experience I have seting PRC to work with a Linux server is with MySQL so I can't help you there.
Edit: You also have to create a shell script to start the server, but that is easier then it sounds their is a premade one that you just need to edit in a few ways laying around. Do some googling and you can find out how to set up a Linux NWN server with NWNX. I would try going to
http://NWNX.org for advice on how to set up NWNX on Linux.