New Linux Server Guide
I just commited the first part of it in the Wiki.
It is not complete yet as I a reconsidering some parts but it should help you over the most obscure part which was compiling EQEmu and getting/installing all needed software. Since I am not an native english speaker I would be glad if someone can have a look at my spelling and grammar. http://www.eqemulator.net/wiki/wikka...nuxServerGuide |
Spelling and grammar are fine my friend!
Ive been reading the tutorial on and off all night. I would not have suspected you do not speak English as your native language. In fact I am so inspired by the tutorial I have decided to try it and hopefully finally I will have a server that doesnt crash all the time or at least as not as much as it does under WinXp! Oh boy..Ive never even seen anything running on linux but I dont care how hard or how much work its gonna take. If I get it going and it runs maybe a week or so without a world.exe or zone.exe crash Im gonna jump up and down like Rumplestilskin! EDIT>>> And Thank You Very Much!!! |
Quote:
You are welcome. I would advise you to get the free VMWare Server edition to try things out. In fact the Debian and Fedora installations I based my guide on are also VMWare machines. If I didnt made a mistake somewhere in the guide and the install/compile fails you simply can copy over your exisiting eqemu_config.xml and change the database host entry to the LAN IP of your existing Windows MySQL installation. See the older Linux guides for how to start up EQEmu. EDIT: Oh, and thanks to the one who fixed my Wiki problem. |
I don't want to start a "bashing" thread here , so I'll just stop at, "Linux is just as good as Windows" - I tried a Linux server once, but was having problems and was more interested in learning the EqEmu DB than spending time solving Linux propblems.
One thing I think everyone should know especially the younger people; If you learn Linux, you'll have everything free: No more boot-legging or pirating becuase you're broke - it's all free and open source. And don't think becuause it's free, it inferior. I want to try a Linux server again in a few days, I use Mandrake (Mandriva), but I guess I could use Ferdora so I can try out your new WikI - The old Wiki was a little "shady" in some areas, and I ended up searching for answers everywhere on occasions. |
With Madriva 10.2 you should be fine. It uses MySQL 4.1 and gcc 3.4 You just have to find the equivalents to the Fedora RPMs needed and install them. If thee are compile errors snap&paste me the error messages. I'll have a look into it then.
Yes, Linux is free and imho as good or better as Windows for most things. But in the hands of someone who is careless or doesnt want to think things through it can be also a recipe for dissaster. There are virtually no "Do you really want to do that?" saveguards when you are root. There is an old joke among Unix Sysadmins Once upon an time in an Unix Adminstration course with ten students. Instructor: And if you want to read mail really fast type rm -rf /* Nine out of ten students are laughting, one of then had to reinstall his Notebook. |
if you want to dig deeper in the linux world, try gentoo (www.gentoo.org ) for your distro. you install only what you want-need, bo bloating of a system. just be prepared to read and re-read for installing.
|
Quote:
Glad to see your helping out with the Linux, I forgot what my problem was when I did my install, but I'll run it by you when I get there again. |
I have never registered here, much less posted. But I just had to do it to say....
Thank you! I'm a Linux novice, and your guide looks just like what I need. I've been trying to use the older guides with mixed results. Can't wait to see the finished new guide. Thank you again. Crey |
eq4me, thanks for your works here. Last time I tried Linux was Redhate 5 or so, and it was so cumbersome to setup (ipchains and all) I never went back. I now have a purchased disc set of FreeBSD that I have been wanting to setup for the Emu for weeks... but I am intimidated (100% Windows junkie here). I can't wait to try this, because if I wind up with a stable emulator, T.E.S.S. may just become public. :)
|
I dont know if I can update the guide for a few days cause I am out of town from tomorrow to Tuesday.
But the most important thing left is making some bash scripts and setting up the mysql server. You can use http://www.eqemulator.net/wiki/wikka...kka=MySQLSetup for this. The start/stop scripts from the old Linux guide are fine too. I would recommend using Debian if you want an lean installation. The Fedora Core 4 one is much more bloated. Also Debian is imho the superior distribution for a pure server cause its much easier to manage and upgrade once installed. Btw. Fedora doesnt start the mysql server by default. Execute this as root: Code:
chkconfig mysqld on |
I've done some small but important updates to the Wiki. I dont think I will be able to update the Guide until Wednesday next week. I'll try to have a look in the forum once a day in case there are questions.
Important: Make sure that you use at least the below out of the start/stop stripts in the old Linux Guide Code:
cd ~eqemu/server ; P=`pwd` ; export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$P" Hint: The easiest way to get the server up and running is using Angelox database. You dont need to update tables and stuff like you have to do with the peq-luclin-rc1 database. Unfortunately Fedora doesnt have 'unrar' in the default repository. You can get it from DAG http://dag.wieers.com/packages/unrar...c3.rf.i386.rpm |
Here another tidbit.
I just confirmed that it is possible to run MiniLogin.exe via wine from an text console. I first tried it with cedega and it spewed at me that it needs X11. Here a quick howto. Install and configure wine For Fedora Code:
Execute as root: Code:
Execute as root: And do Code:
I wish I had the time to properly include that in my guide but it has to wait a few days. |
Bah...disreguard the last post. I understand now. Nothing to see here. Move along. Move along...
Thanks, Crey |
good work. I'd like to see the minilogin setup in there too.
I added the PEQ start/stop scripts to the page, do with them what you want. A good script to run from init for auto-start/stop would be nice, and shouldent be too hard. Could add minilogin startup in there too if minilogin.exe is in the dir or something. make sure you put instructions to build cleanipc in utils/, not using it is a VERY common linux issue |
Thanks, I didnt know about cleanipc yet. I'll get it in as soon as I get a bit of spare time. Unfortunately I doubt that I can continue on the Guide before the weekend.
Minilogin with wine under Fedora isnt quite stable it seems. But it might be the particular wine version as I never had a problem running Minilogin under cedega. I wish there would be an statically compiled Linux binary of Minilogin... installing wine costs several hundreds of MB because auf the X11 dependencies. |
I think cleanipc is built with everything else, because when I went in to utils to make it separately, it says it is up to date. So I copied it to ./server. Still having some difficulty with the scripts, but mine is a permissions issue that I haven't worked out yet.
|
I am following your guide to try to get the emu installed on gentoo 2006.1. The problem I was having when I tried to compile was that gentoo 2006.1 uses gcc 4.1.1. After much searching I found out that you can run an earlier version of gcc parallel to gcc 4.1.1 and switch between them when you need to. Here is how I did it for those that are having the same issue:
-First get gcc-3.4.6-r1... emerge -av =sys-devel/gcc-3.4.6-r1 -After that is done you need to tell gentoo to use gcc 3.4.6-r1 as the default compiler, do this by using gcc-config. -Type gcc --v to see what version of gcc you are running, more than likely this will spew out gcc 4.1.1 -Type gcc-config -l to list all the versions of gcc on your system. -Type gcc-config # where # = the number that corresponds to the version of gcc that you want to use. In my case 3.4.6-r1 was number 1 on the list. So I typed: gcc-config 1 -Type source /etc/profile -Type gcc --v and it should show gcc 3.4.6-r1 rather than gcc 4.1.1 run make when you are done compiling eqemu you probably want to switch back to gcc 4.1.1 as your default copiler so type: type gcc-config -l to find out what number gcc 4.1.1 is on the list, in my case it was number 6. type gcc-config 6 type source /etc/profile type gcc --v to verify that it says gcc 4.1.1 Thats it, now you can switch between the two whenever you need to compile new eqemu source code. Now that I got it compiled I just gotta figure out how to finish the server and get it up and running! |
Help..Need a DataBase.
The links to Angelox DB seem to be down.
Anyone have a DB that they use for something like Debian/Sarge that is they think would be highly stable and maybe have more than luclinRC1? Im looking(hoping) for something thats already done. Proven to work with maximum stability. All the luclinRC1 zones working correctly(As intended) as priority.Aything else is just Icing. Im using the same version of eqemu as the tutorial. If I can avoid any changelog crap Ill be satisfied no matter what. |
Quote:
|
The Tutorial is also good for the latest EQEmu version. Exept some of the Makefile changes can be omitted now. Sorry for sort of abandoning the guide the last weeks but my workload was just to heavy. I had hoped that some other people took up the slack and corrected and extended the guide meanwhile...
The good news is that I will soon be able to spend some more time refining the guide while I set up an EQEmu server on my new dedicated server connected with 100 MBit/s. :) |
Crap..I tried to source the sql from Angelox with sqlyog and I get this error.
PRIMARY KEY (`aaid`,`rank`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 Line no.:42 Error Code: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 14 EDIT>>I should say Im tring to do this on windows if it dont seem obvious LOL..Im trying to get the db ready to just transfer to the server. |
Quote:
|
I just downloaded to my windows setup and restored it to a MySQL 4, saw the error - give me a while and i'll make a windows MySql4 back up for you.
|
Quote:
|
Quote:
http://www.rarlab.com/download.htm it's a command line rar, but works ok (took me a while to figure it out) - just dump all the files into your /bin directory they say you have to pay, but i think since its beta, it's not active yet. |
Crap..Same error..I DLed it right from the link that say its corrected for windows.Not from the top.(on your website)
|
Quote:
EDIT; I swapped routers - hopefully it works better now. |
I dont think the file was changed..I get the same error. Anyway I have the DB from Aposhis Project but I dont know if that works for Dev binaries?
It was a Dark Rogue Productions Server and I know back at 6.2 version they were different. I know virtually nothing beyond 6.2 after that things got changed in a hurry! I couldnt keep up. Anyway. Why not upload a sourced Database that you know works for the new Linux tutorial?(please) If it were in .tar.gz format it would make it really easy for me to use it. Or it can be .rar and I can use windows to decompress Or if some one else has something they know will work Im interested in anything that will get me away from having to do it myself from the Luclin RC1 DB! |
Quote:
Dr Zauis; can you tell me what version MySQL you are using? I'm trying to find the "why" of this error - That second post I made on my web (for windows), was tested and even played on a Windows XP, MySQL 4 database - I can't see why it still would do this. There's someone else with this very same problem. |
Quote:
Code:
Line no.:42 |
I downloaded your windows version on an extra HD to help verify any errors.
Only things on this server that, I believe, would/ might have any influence Windows XP, MS Visual Studios, Xampp Server Panal Controls, Useing MySql 5.0. I also get the 1064 error code. MySQL Error Nr. 1064 - You have an error in your sql syntax... use near 'DEFAULT CHARSET=utf8' at line 14. no clue what is doing this tho, as I havent really had much time to examine it with the changes I am makeing to my dbase on the server. |
Quote:
EDIT; What version MySql do you have? |
I used the ax_peq15.rar,
not sure if you changed that version or not w/o a numeric change. If so, I will reload and retry (at least after i wake up.. been up all night now haha) |
Here's some points of interest from the MySql site;
Taken from here http://dev.mysql.com/tech-resources/...1/unicode.html Quote:
|
Quote:
So I guess Ill have to upgrade. Or try to. |
Since I decided not to invest any more time into eqemu right now I am abandoning the guide.
It was a tough decision but there is more to life than sitting in front of a computer solving other peoples problems. I have more than enough of this at work. There are enough people who set up a working Linux Server who can fill in the gaps. |
:(
But you were so good at it. ;) I'll see what I can do to update. I've messed with FC4 enough to be able to set stuff up in about 30 mins now. But you are the master at finding low-level stuff I would never think of. I hope all is well, and we still see you haunting the forums, eq4me. Take care, J |
Quote:
And to be completely honest I am a bit miffed that important information is only floating around in the forum and not updated in the Wiki. It isnt much harder to update the appropriate wiki entry and point to it then writing the answer in an thread. |
You are right. I personally will make more of an effort to transfer some of the data I see when I come across it. Maybe I'll start a trend.
|
Quote:
|
All times are GMT -4. The time now is 12:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.