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

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2004, 02:40 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default Linux Vs windows

Well as the server op of brightblade I am thinking of switching to linux from windows 2000 server

What are peoples views on both?

Redhat linux btw.

Still looking for some good setup docs on it though.

Thanks

Conan
__________________
Conan
Reply With Quote
  #2  
Old 02-09-2004, 02:53 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

definitely linux. This is very personal, as i never did set up one under W** :lol:

Among others :
- use soft links to share among several configurations / data files
- powerful scripting
- efficient network and process monitoring
- precise network security

Well, this is not a fair point of view, but, as you ask ...
Reply With Quote
  #3  
Old 02-09-2004, 03:03 AM
farce
Hill Giant
 
Join Date: Feb 2003
Posts: 126
Default

setup on linux is fairly easy if you can do it on windows, and can install linux.

Your redhat install can include mysql and perl from the start.. then you just run the IO::Scalar installation.

source in your favorite databse...

after that, get the latest source, compile, and run.

here's an example installation of EQemu after installing linux and downloading your database and eqemu source ( from memory )

Code:
[root@localhost root]$  chkconfig --level 345 mysqld on
[root@localhost root]$  service mysqld restart
[root@localhost root]$  mysql -uroot
mysql> grant all privileges on eq.* to eq@localhost identified by 'eq';
mysql> flush privileges;
mysql> quit
[root@localhost root]$  cd eqemu
[root@localhost eqemu]$  mysql -uroot eq < database.sql
[root@localhost eqemu]$  cd EMuShareMem
[root@localhost EMuShareMem]$  make
[root@localhost EMuShareMem]$  cp libEMuShareMem.so /usr/local/lib
[root@localhost EMuShareMem]$  echo "/usr/local/lib" >> /etc/ld.so.conf
[root@localhost EMuShareMem]$  ldconfig
[root@localhost EMuShareMem]$  cd ../world
[root@localhost world]$  make
[root@localhost world]$  cd ../zone
[root@localhost zone]$  make
[root@localhost zone]$  cd ..
[root@localhost eqemu]$  HERE YOU EDIT YOUR INI FILES FOR EQEMU
[root@localhost eqemu]$  THEN START THE SERVER
I use screen to detach my server from the terminal/console i'm running it in, so i can reattach remotely or later. pretty easy to use, just type screen and you'll get a blank terminal. If you're using minilogin, run 'wine MiniLogin' in the first screen. when it's running hit <ctrl-a>c to create a new window. ./world/world in that one to start world, <ctrl-a>c again ./zone/zone . ip_of_server port localhost to start up your zone, then <ctrl-a>c and start however many more zones.

<ctrl-a># switches between screens. 0 is the first.

<ctrl-a>d detaches, screen -r will resume it.
Reply With Quote
  #4  
Old 02-09-2004, 03:35 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

I actually have a linux machine setup and running a proxie server at home so installing is no problem. Would anyone be able to explain to me if there is anything different in getting the source for linux? Windows uses cvs, Same for linux or different?

Sorry for being a newb but I am good with windows and not as good with linux =)
__________________
Conan
Reply With Quote
  #5  
Old 02-09-2004, 03:41 AM
farce
Hill Giant
 
Join Date: Feb 2003
Posts: 126
Default

you could use CVS.

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/eqemu login

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/eqemu co modulename


I dunno how different the latest CVS is from shawn319's release of DR3 tho, that's what i've been using.
Reply With Quote
  #6  
Old 02-09-2004, 06:38 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default

K, thanks again for you guys help, will see what I can do later =)
__________________
Conan
Reply With Quote
  #7  
Old 02-09-2004, 06:48 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

@Conan Actually (not trying to start a flame war, is just my opinion) I like to use a flavor of BSD (mostly freebsd) as opposed to Linux.... It is unix essentially, but you can run everything including anything to do with Linux... VERY good security, setup is fairly straight forward...... LOL or you could just combine the two OS's in the title of this thread and use Lindows <smile> It is like AOL of Linux hehe.... VERY easy but also VERY limited.
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #8  
Old 02-09-2004, 08:27 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Without going as far as samandhi, i advise you to not to use Redhat if you plan to make a public server and don't have the linux skills to plannify correctly the security of your box.
Some other distributions like Debian or Slackware are better as OS server than Redhat/Mandrake, they have less security holes, softwares are more often updated, to avoid to look like a flamer and to start a rant, i d say that they arent dedicated to the same things
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #9  
Old 02-19-2004, 06:26 AM
executor3000
Fire Beetle
 
Join Date: Feb 2004
Posts: 10
Default

In my opinion, Redhat is as easy as windows to setup, but it has also very narrowed customization options. As samandhi mentioned, I would also use BSD. In this case I would choose OpenBSD though as OpenBSD ships with no stupid useless stuff by default, such as small games and stuff, and I also chose OpenBSD because it uses OpenSSH as it's telnet replacement, and it has a more friendly file structure =)
Reply With Quote
  #10  
Old 02-19-2004, 06:48 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Quote:
In this case I would choose OpenBSD
Yeah your right, OpenBSD leans more to the security side than FreeBSD.
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #11  
Old 02-19-2004, 08:33 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

I originally tried to get the emu running on OpenBSD. I heard that people had it working on FreeBSD, so I figured it couldn't be too bad -- Right? . It ended up being too much of a hassle, so I installed RH9, and had it running in no time. True, putting it on a system like Redhat may mean you spend more time customizing or securing things, but it could very likely be less time spent than trying to get things functioning on a system that isn't widely used for that purpose.

As far as Windows vs *nix, I strongly agree with smogo on file linking and scripting. It can make life so much easier. You'll also end up with capabilities that you didn't know were available, like easily running processes in the background.
Reply With Quote
  #12  
Old 02-22-2004, 05:08 AM
var1ety
Sarnak
 
Join Date: Jan 2003
Posts: 59
Default

The EMU might compile fine on OpenBSD if it had the required ports available - namely linuxthreads and gcc 3.2+. However, it's probably easier to get it running on FreeBSD 5.x, as it comes with the necessary GCC in the initial install.

There are some threads in the development forum about the process of getting things running, although I'm not sure if the devs committed my fixes and readme which talks about getting things running on FreeBSD, so you might need to patch by hand.
Reply With Quote
  #13  
Old 03-07-2004, 08:40 AM
cbarnes
Fire Beetle
 
Join Date: Dec 2003
Posts: 11
Default

ok... I'm also pretty much a linux noob.

When I ran a server using Windows 2000 Server, I noticed that after 10-15 people connected the zones started to get laggy and people would drop connection sporadicly. Is this something that is remedied when using *nix? I'm running on a cable modem and most of the people logged in said they didn't really have any lag issues per se -- except with several people. Most of the time it was when there were a bunch of us in the same zone area. I guess my main question is... how much bandwidth does each "zone" connection to the "World" server need?

Sorry if this reply is a little off topic..
Reply With Quote
  #14  
Old 03-07-2004, 12:16 PM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

Quote:
how much bandwidth does each "zone" connection to the "World" server need?
To take you to the letter, very little. Such communication is mainly during client transfer from zone to zone (or from login to zone or back), or for world wide commmunications, like /ooc, ...

Real bandwidth load comes from the mobs (move, spellcasting, ...), in client <->zone comms, and is estimated about 6KBytes per user connected. You get lag when 6 x NbClients comes near to server's upload or download bandwitdh. Even on diff. zones, it still makes about 6K per client.

*nix wont do much better in this case.

There are several other elements in your post, but still i hope this starts to give an answer.
Reply With Quote
  #15  
Old 03-11-2004, 07:18 AM
cbarnes
Fire Beetle
 
Join Date: Dec 2003
Posts: 11
Default

Thanks for the response.. I still will probably give *nix a try, eventhough it may not help with the "lag" issues.
Reply With Quote
Reply


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 07:34 PM.


 

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