First of all, you need an archive with the linux version of the dedicated server "DedicatedServer3339-BonusPack.zip" (for example from here) and last patch "ut2004-lnxpatch3369-2.tar.bz2" (for example).
Then, at first, you unzip dedicated server:
unzip DedicatedServer3339-BonusPack.zipAnd then extract archive with patch:
tar -jxvf ut2004-lnxpatch3369-2.tar.bz2Next step - add permission to execute for ucc-bin file:
cd System
chmod +x ucc-binIf you planned to use license server (which connects to Master Server) you need an CD-Key. Fortunately CD-Key can be generated fo free here. When you receive the CD-Key via e-mail - just save it in "cdkey" text file in System folder (for *nix only!); or add information about CD-Key in registry (for Windows).
Now we can try to start our new server with the command like that:
ucc-bin server DM-Rankin -port=7777 -nohomedirAs a result you can see that server begins to work, but unfortunately, very often I had to see that error message:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directoryIt happens because your system doesn't contains old C++ libraries, but ut2004 and a few another game servers require it. So now we should add this lib in system. Usually I write something like this (for freeBSD):
pkg_add -r libstdcAnd sometimes it work, but sometimes not (usually this command installs newest version of libstdc++.so library). Because this problem appears each time when you install your server to new system, I strongly recommend to you find necessary lib and copy it in game directory, for example in "Admin" folder.
Again try to start server:
ucc-bin server DM-Rankin -port=7777 -nohomedirIf server successfully start, it's time to take a break. If not - ask Google what you done wrong. =)
Комментариев нет:
Отправить комментарий