You are here

Good guide for installing a Ubuntu NWN dedicated server?

15 posts / 0 new
Last post
Qlippoth
Good guide for installing a Ubuntu NWN dedicated server?

I have a server running Ubuntu 12.04, the guides are all old. Can anyone recommend a good installation guide? I want to use NWNX as well, but they have a guide for that.

I"m currently looking at: http://nwn.wikia.com/wiki/User:Arek75/Installing_the_Linux_Dedicated_Ser...

 

 - Qlippoth

  • up
    50%
  • down
    50%
Squatting Monk

That's the guide I followed. Not much has changed with regard to installing on 12.04, though I think there were quite a few unnecessary steps. I'll try to post an updated step-by-step guide, but try following it and see if you run into any problems.

As far as installing NWNX, you can refer to my step-by-step tutorial.

EDIT: One of those unnecessary steps is the creation of an install disc from an existing installation. Everything you need is now packaged in the dedicated server archive.

Squatting Monk

Shadows & Silver | NWN Lexicon

  • up
    50%
  • down
    50%
Squatting Monk

Reworking my NWNX guide to be compatible with this setup is going to take a bit, but here's an updated version of Arek's guide without the unimportant bits. Should get you on your way.

Lemme know if you have any problems or need clarification on anything.

EDIT: I also reworked my NWNX Tutorial to highlight places where you need to do things differently to account for running NWN as an unprivileged user.

  • up
    50%
  • down
    50%
Qlippoth

Awesome, I'll give them a whirl.

 

Thanks!

 - Qlippoth

  • up
    50%
  • down
    50%
Qlippoth

Hmmm, ok got to the "autoconf configure.ac > configure" and receive the follwing: 

"configure cannot find necessary include files."

Also, I'm running on Ubuntu 12.04 64-bit, how do I change the script to build in 32-bit mode (?-m32?)? I can set up a 64-bit Ubuntu server if you want to try stuff out to add 64-bit support to this procedure (or the script).

http://askubuntu.com/questions/85978/building-a-32-bit-app-in-64-bit-ubuntu

EDIT: Or maybe: http://www.nwnx.org/phpBB2/viewtopic.php?p=14379&sid=105f56ee664e2dda01d...

 

I"m hoping to get back to this later today.

 - Qlippoth

  • up
    50%
  • down
    50%
Squatting Monk

Yeah, my instructions are specific to 32-bit installations, since that's what NWNX is designed for. The guide on the NWNX forums you linked to is what you need.

I've never worked with 64-bit Linux, but I'll run some test installs tonight and see what I can do to update my guide for 64-bit users.

  • up
    50%
  • down
    50%
Qlippoth

I can give you access to my small VPS server for testing. I was just installing NWserver on it. PM me if you want access. I can re-image it easily any time, I haven't done much with it yet. Or if you're using a VM with snapshgots that is easier, since you can go back a snapshot if you make a mistake. Lemme know.

 

 - Qlippoth

  • up
    50%
  • down
    50%
Squatting Monk

I'll run some tests in a VM when I get home from work. As I said, I've never messed with 64-bit Linux and would hate to bork anything on your server.

  • up
    50%
  • down
    50%
Qlippoth

Gah! The Linux dedicated server file (7zip) does NOT have the Fixinstall script needed to install nwserver in linux!!! Neither nwn_linux_dedicated_server126.7z *NOR* nwn_pc_dedicated_server126.7z have all of the files needed. Someone needs to update these files with a correct linux server file.

No MAC server either: macdedserver169.zip

I have an older ZIP file (500MB!) with everything I used the first time from http://www.neverwinternights.info/dedicatedserver.htm#download

 - Qlippoth surprise

  • up
    50%
  • down
    50%
Squatting Monk

Those are for for the original 1.26 patch.

The link provided in my guide has all the required stuff. It's the one from that neverwinternights.info link. The reason it's so much bigger is that it has all the content from later patches and the expansions.

  • up
    50%
  • down
    50%
Qlippoth

Also, Isn't there a build with the DB type I want to use somewhere I can just download? I also have a 32-bit instance of Ubuntu, can I build NWNX on that and copy the build to my 64-bit machine?

 

 - Qlippoth

  • up
    50%
  • down
    50%
Qlippoth

I was more concerned with other users who might get frustrated and quit if they use the files hosted here. Maybe I can figure out the minimal package, or maybe someone here can just add the linux and Mac packages to the list of downloads available?

 - Qlippoth

  • up
    50%
  • down
    50%
Squatting Monk

elven suggested in that guide that people use pre-built binaries, so I suppose it might work (can't say for sure, though, never having done it).

  • up
    50%
  • down
    50%
Squatting Monk

The files in the full package that are specific to Windows are only a few MB of the total, so making a Linux- or Mac- specific package wouldn't save very much in the way of space.

  • up
    50%
  • down
    50%
Qlippoth

I'm doing a quick trial of installing NWNX with a 32-bit installation of Ubuntu, going through your procedure.

This part of your NWNX stall guide has a typo, should read, "./install.sh".

Now run the install script:

./install/sh

 

What is the difference between the two options below? I'm not sure which one to use:

Now we need to limit ourselves to one of the MySQL plugins. Navigate to the NWN install directory, rename your desired ODBC plugin to nwnx_odbc.so and remove the other one.

cd /opt/nwn
mv nwnx_odbc_mysql_dynamic.so nwnx_odbc.so
rm nwnx_odbc_mysql_static.so
  • up
    50%
  • down
    50%