Newbie Help: Modern Setup Guide?
I'm sure you get quite a few threads about this, so I apologize, but I haven't been able to figure this out. As stated, I'm a newbie to Linux and to EQEmu. I tried setting it up on my Windows 7 file server but as expected it would not successfully run. I'd get hung up on launching the new loginserver, but that's for an entirely other thread.
All said and done, I'm running Linux Mint on my server box for the explicit purpose of running an EQEmu server over my LAN. I've been bouncing between the setup guides for both Windows and Linux and I'm just not able to get it to work. By no means am I a computer newbie and I'm very easily trainable, but I just can't find a guide that utilizes the latest sources. Anyways, I'm breaking down and I'm going to try to use the AX Classic just to get it to work, bit I'd really like to be able to build it on the Linux end from scratch. Thanks in advance for any help you all can provide. |
I use Ubuntu for my Linux box, so I predominently used this Wiki when I setup my EQEmu server:
http://www.eqemulator.net/wiki/wikka...ianLinuxServer I did a ~brief~ read up on Mint and it is based on Debian. So, Mint uses a similar package manager (GUI wise) (it uses the exact same package manager tool via command line ... "apt-get") to Debian and Ubuntu. So, the above Debian guide should give you a decent base to work with. You'll need to figure out which parts of the guide do and don't apply to your setup, but the Debian guide covers everything you need to get an EQEmu server up and running... Once the prerequisits are taken care of the following is used to make updates: 1) Grab the SVN Source (consult your distro's documentation on installing SVN if it isn't already installed) Code:
svn checkout http://projecteqemu.googlecode.com/svn/trunk/ projecteqemu-read-only Code:
grep -Ril i686 * | xargs perl -pi -e 's/i686/native/g' Code:
make clean Code:
make Code:
cp -r <old revision> <new revison> Code:
cp <build dir>/world/world <new server dir>/world |
Thanks for the reply. This looks like it will help. I will let you know!
|
I'm getting the same error that I had been getting with the sources I'd downloaded without SVN.
Code:
..//common/SocketLib/Mime.cpp -o ../common/SocketLib/Mime.o I tried using Ubuntu, but it gave me quite a few graphics driver problems so I tried Mint instead. Anyways, this is about as far as I've been able to get compiling myself. I get rather lost if I just try to use the pre-compiled "EQEmu-Rev1052-Bots.zip". I never got too into cpp so I wouldn't be able to see an error in the Mime.cpp file anyways. Again, thanks for any help you can provide. EDIT: I just found the thread the same or similar error. I'll post back after trying that. |
Alright, Everything is good, though I'm not sure how to proceed after what you've given me. The other guides from here on aren't really helping me much. I know what I need to do, but not really how to do it in Linux with updated links and such. So if anyone else can help me out with the building the database, and all the rest of that jazz.
I'll keep working on it. Thanks for any help. |
for database stuff it's fairly straight forward. If you do not have the phpMyAdmin package installed on Mint then you can always use command line.
With command line you'll do something like: Code:
mysql -u<User Name> -p Next you will want to run the following commands: Code:
create <database name>; Optionally, if you have phpMyAdmin installed you can do the following: .point your web browser to your servers phpMyAdmin (on my box it's http://localhost/phpmyadmin/) .log in as the MySQL admin/root user .in the "MySQL localhost" section of the first page after logging in, type in a database name you want to use for this .click create .Click the databases tab .Click the database you just created .click the Import tab .Click browse .locate your sql files .Select ONE of them .Click open .Click Go .Repeat for however many files you need to import hope this helps |
It did. I sort of figured that out on my own though, but you clarified that I did it correctly. Now I'm hung up the startup script and getting a login server.
I'll be in a unique situation with no internet access and serving to a LAN, so I believe minilogin server is the only way for me, but I'm confused as to how to make it work in Linux. Works perfectly fine under windows, which is lovely that something actually does. I got all the tables entered into the database, but now I'm confused if minilogin server will be running client-side or server-side. Because of that, I'm confused about ip addresses and such in the configs. The only thing now though is I'm constantly wondering if I left something out due to the differences in all the guides and my own knowledge. Oh well, only one way to find out once I get the server started and a login set up. |
My server ~only~ serves my LAN. So, I use the "privatelogin" server found on the following .... errrr... forgot external links not allowed... Google for "eqemu privatelogin" it comes up as the first one (devnoob site).
The login server runs server side. Also, Make sure you UNcomment out the following lines in your eqemu_config.xml file: Code:
<address>YOUR-LAN-IP</address> |
I swear you're standing right behind me. I'm messing with the eqemu_config.xml right now.
Thanks for the info on the private loginserver. I'll be checking that out. Things are slowly but surely coming together. Couple things though: My eqemu_config.xml doesn't exist in my server directory. Not sure if I was supposed to create it from scratch or what not. I'll be nabbing one from the 1052 build, copying it over and editing it as needed. I think that's right. The start/stop scripts. I've been following the "Advanced EqEmu Linux Setup" in the wiki as much as I can, and that's just not working at all for me. I was messing around with "./world" and I get the error Code:
Unable to load 'eqemu_config.xml" : Failed to open file Anyways, thanks. Hopefully we can create a decent newbie guide out of this thread when we're done. |
This line from the tutorial I linked (the Debian tutorial) sets up the default files:
ln -s ../source/EQEmu-0.7.0-1118/utils/defaults/* . I personally perfer to copy the files so I use: Code:
cp -R <build dir>/utils/defaults/* <new serer dir>/ Code:
rm -f eqemu_config.xml The start up scripts that work are also found in the tutorial that I linked earlier: "start" script: Code:
#!/bin/sh Code:
#!/bin/sh Code:
#!/bin/sh Code:
chmod +x <file name> |
Awesome, Thanks for the scripts. I'll let you know how they go when I get to them. Right now I'm troubleshooting ./world.
Code:
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotManaRegen' EDIT: Yep, figured out everything but the bots issues. When I (re)source the load_bots.sql it says duplicate entries, but I can't find the entries at all in MySQL admin. Not sure how familiar you are with bots. |
you need to source in the bots.sql file. This file can be found in the <build dir>/utils/sql/svn/ directory.
You also need to do the following: Code:
cp -R <build dir>/utils/patch_* <new server dir>/ |
Alright. Looks like I'll be set. I'll let you know how it goes.
I knew I'd have to mess with the login stuff. I'm just now working on the login server you suggested. Thanks again! |
Here's where I'm at now. Loginserver:
Code:
ken@ken-server ~/loginserver $ ./privatelogin Code:
db.ini Code:
loginserver.ini Code:
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotQuest' Getting close enough to taste sucess. Thanks so much for your help so far. |
to get private login working properly you'll need to nab a couple of extra libraries.
There's a script called "getlibs" on the Ubuntu forums that will help. Google "ubuntu getlibs" the first search result will be a link to a forum post with a direct link to download it. To make grab the libraries for privatelogin you'll do the following: .save the getlibs script to your privatelogin server directory (mine is in <eq server dir>/private ) .make the script executable with: Code:
chmod +x getlibs Code:
sudo getlibs privatelogin When you run the start script, it sets the world and zone servers to run in background, and then sends their output to log files in the <server dir>/logs/ directory. To see your server output when you use the start script you can do: Code:
tail -f logs/eqemu_debug_world.log The rules errors that I'm seeing in your world output indicates to me that you've compiled with -DBOTS. Is this correct? If so, you still need to source in the bots.sql file to make those particular errors go away. The last error in the output is telling you that it cannot connect to the login server. Once you've gotten the login server that last error will go away. |
All times are GMT -4. The time now is 04:07 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.