Help installing a server on FreeBSD


(Kamel) #1

hello everyone. i just got a dedicated server that’s FreeBSD, and i can’t figure out how to get it installed. i am fairly proficiant with linux, but my first time dealing with FreeBSD.

this is the error i get…

$ sh setup.sh
It is recommended to install as the super user
Please enter the root password or hit enter to continue as is
setup.sh: /bin/su: not found
ELF binary type “0” not known.
Abort trap
ELF binary type “3” not known.
Abort trap
The setup program seems to have failed on x86/glibc-2.1

See http://zerowing.idsoftware.com/linux/ for troubleshooting
$

apparently this is a problem common with FreeBSD, because i found the help file for it: http://zerowing.idsoftware.com/linux/q3a/index.html#bsd

unfortunately, the same thing happens after i do brandelf -t Linux setup.1947/setup.data/bin/FreeBSD/x86/setup (i had to slightly modify it), i get the same error.

do i need to brandelf more files? i really am clueless what to do here, so if someone could please help me out, i’d really appreciate it.

also, it’s worth mentioning that i dont have root, but even a friend with root access to the box could not get it to do it.


(MuffinMan) #2

unfortunately i only have experiences with suse linux and that’s not much either but as to my understanding u have to login as superuser which is not root, in suse u can call the login for superuser with “su” the login name and password is created in the install but i don’t know how to call it afterwards - sorry that’s all i know…


(Kamel) #3

root is a super user… su stands for switch user. when installing it, you have to switch the user to a super user, using this command.

at any rate, i’ve installed it in linux before no problems, so i don’t think that’s it.


(Egon) #4

Kamel-

I’ve never gotten the setup.sh installer to work under FreeBSD, but fortunately it’s not needed.

Unpack the archive like this:

./et-linux-2.55.x86.run --keep

It will create a directory called setup.####. In that directory are the game files. Edit the server config file in setup.###/etmain/ and then run etded.x86 and you should be good to go. Once you can spew some logging to the console, the setup is exactly the same as linux. I’ve got 3 - 4 servers running on FreeBSD for http://games.or8.net/ so I know it can be done. :cool:

If you have questions about the actual server config, check out ND80’s website and look at his configs. They’re pretty well commented and seem to cover almost everything configurable option.

HTH.

-Egon