Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2006, 03:43 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

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
Now MySQL will get started automatically on boot and stopped before shutdown.
Reply With Quote
  #2  
Old 09-28-2006, 11:32 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

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"
Without that line the EQEmu binaries wont be able to find the shared memory library. Execute the above in the same shell you are using to start ./world and ./zone.

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

Last edited by eq4me; 09-28-2006 at 07:45 PM..
Reply With Quote
  #3  
Old 09-28-2006, 11:18 PM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

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:
yum install wine

Execute as user eqemu:
winecfg #Will create .wine/ with the fake windows install

Hint: This will get alot faster if you do this via ssh and disabled X11 forwarding(ssh -x). winecfg cannot build the font metrics which can take quite a while. You can ignore the error messages.
For Debian
Code:
Execute as root:
apt-get install wine

Execute as user eqemu:
wine-auto
Now get Minilogin from http://prdownloads.sourceforge.net/e...2.zip?download


And do
Code:

cd ~eqemu/.wine/drive_c/Program\ Files/
mkdir MiniLogin
cd MiniLogin
unzip ~eqemu/incoming/MiniLogin6.2.zip

wine MiniLogin.exe
With some proper start/stop scripts you never have to worry about setting up a MiniLogin server on an seperate Windows box. In time I will look if I get some of the windows only database tools to work under wine too.

I wish I had the time to properly include that in my guide but it has to wait a few days.

Last edited by eq4me; 09-29-2006 at 07:35 AM..
Reply With Quote
  #4  
Old 09-30-2006, 06:20 AM
Creylin
Fire Beetle
 
Join Date: Sep 2006
Posts: 5
Default

Bah...disreguard the last post. I understand now. Nothing to see here. Move along. Move along...

Thanks,
Crey

Last edited by Creylin; 09-30-2006 at 03:15 PM..
Reply With Quote
  #5  
Old 10-02-2006, 02:35 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

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
Reply With Quote
  #6  
Old 10-04-2006, 08:41 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

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.

Last edited by eq4me; 10-04-2006 at 04:47 PM..
Reply With Quote
  #7  
Old 10-04-2006, 08:47 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

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.
Reply With Quote
  #8  
Old 10-04-2006, 08:49 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

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!
Reply With Quote
  #9  
Old 10-22-2006, 09:51 PM
Dr Zauis's Avatar
Dr Zauis
I know how to fix that!
 
Join Date: May 2005
Posts: 447
Default 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.
__________________
Server_Op: ForbiddenZone
Reply With Quote
  #10  
Old 10-22-2006, 10:49 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by Dr Zauis
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.
I just had to re-boot my connection, Links seem to be OK now.
Reply With Quote
  #11  
Old 10-22-2006, 11:06 PM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:38 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3