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 03-09-2010, 12:29 AM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

Here's how I handle it. I have a directory called eqemu. In this I have the following 4 scripts:

Code:
john@paranoia:~/eqemu$ cat getEmuSource.sh 
#!/bin/bash
svn checkout  http://projecteqemu.googlecode.com/svn/trunk/  projecteqemu-read-only
john@paranoia:~/eqemu$ cat getEQmaps.sh 
#!/bin/bash
svn checkout http://eqemumaps.googlecode.com/svn/trunk/ eqemumaps-read-only
john@paranoia:~/eqemu$ cat getPEQdb.sh 
#!/bin/bash
svn checkout http://projecteqdb.googlecode.com/svn/trunk/ projecteqdb-current-only
john@paranoia:~/eqemu$ cat getQuest.sh 
#!/bin/bash
svn checkout http://projecteqquests.googlecode.com/svn/trunk/ projecteqquests-read-only
john@paranoia:~/eqemu$
I also create a folder called server, and I have a folder LS for privateLogin server.

In eqemu/server I have a symlink to the source files:

Code:
lrwxrwxrwx 1 john john      38 2009-06-20 07:31 source -> ../projecteqemu-read-only/EQEmuServer/
and all my other symlinks:

Code:
lrwxrwxrwx 1 john john      28 2009-06-20 13:21 chatserver -> source/chatserver/chatserver
lrwxrwxrwx 1 john john      21 2009-06-20 13:22 cleanipc -> source/utils/cleanipc
lrwxrwxrwx 1 john john      33 2009-06-20 13:22 commands.pl -> source/utils/defaults/commands.pl
lrwxrwxrwx 1 john john      43 2009-06-20 13:22 eqemu_config.xml.full -> source/utils/defaults/eqemu_config.xml.full
lrwxrwxrwx 1 john john      24 2009-06-20 13:23 eqlaunch -> source/eqlaunch/eqlaunch
lrwxrwxrwx 1 john john      36 2009-06-20 13:20 libEMuShareMem.so -> source/EMuShareMem/libEMuShareMem.so
lrwxrwxrwx 1 john john      29 2009-06-20 13:23 log.ini -> source/utils/defaults/log.ini
lrwxrwxrwx 1 john john      27 2009-06-20 13:36 Maps -> ../eqemumaps-read-only/Maps
lrwxrwxrwx 1 john john      30 2009-06-20 13:24 mail_opcodes.conf -> source/utils/mail_opcodes.conf
lrwxrwxrwx 1 john john      28 2009-06-20 13:24 mailserver -> source/mailserver/mailserver
lrwxrwxrwx 1 john john      32 2009-06-20 13:24 mime.types -> source/utils/defaults/mime.types
lrwxrwxrwx 1 john john      25 2009-06-20 13:25 opcodes.conf -> source/utils/opcodes.conf
lrwxrwxrwx 1 john john      27 2009-06-20 13:27 patch_6.2.conf -> source/utils/patch_6.2.conf
lrwxrwxrwx 1 john john      35 2009-06-20 13:27 patch_Anniversary.conf -> source/utils/patch_Anniversary.conf
lrwxrwxrwx 1 john john      28 2009-06-20 13:27 patch_Live.conf -> source/utils/patch_Live.conf
lrwxrwxrwx 1 john john      27 2009-06-20 13:27 patch_SoF.conf -> source/utils/patch_SoF.conf
lrwxrwxrwx 1 john john      32 2009-06-20 13:27 patch_Titanium.conf -> source/utils/patch_Titanium.conf
lrwxrwxrwx 1 john john      31 2009-06-20 13:30 plugin.pl -> source/utils/defaults/plugin.pl
lrwxrwxrwx 1 john john      43 2009-06-20 13:35 plugins -> ../projecteqquests-read-only/quests/plugins
lrwxrwxrwx 1 john john      35 2009-06-20 13:35 quests -> ../projecteqquests-read-only/quests
lrwxrwxrwx 1 john john      31 2009-06-20 13:30 templates -> source/utils/defaults/templates
lrwxrwxrwx 1 john john      18 2009-06-20 13:31 world -> source/world/world
lrwxrwxrwx 1 john john      29 2009-06-20 13:30 worldui -> source/utils/defaults/worldui
lrwxrwxrwx 1 john john      32 2009-06-20 13:30 worldui.pl -> source/utils/defaults/worldui.pl
lrwxrwxrwx 1 john john      16 2009-06-20 13:31 zone -> source/zone/zone
To make the server, I just

Code:
cd eqemu/server/source
Add my patches to the server (random loot code), source any db updates and then type

Code:
make depends ; make -j 2
and wait. Change the number after the 'j' to however many cores you want working on compilation.

I follow the instructions as posted elsewhere to manage updating the database.

This is on a debian system, but should work on anything. I hope it helps.
Reply With Quote
  #2  
Old 03-09-2010, 07:31 AM
FatalIll
Fire Beetle
 
Join Date: Feb 2010
Posts: 6
Default

Looks like a good idea but cleanipc and libEMuShareMem.so + some other things in your symlinks dont exist for me or?
Reply With Quote
  #3  
Old 03-09-2010, 09:23 AM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Quote:
Originally Posted by FatalIll View Post
Looks like a good idea but cleanipc and libEMuShareMem.so + some other things in your symlinks dont exist for me or?
Did you not checkout the code from the svn? cleanipc should be in source/utils/cleanipc and libEMuShareMem.so should be in source/EMuShareMem/libEMuShareMem.so
Reply With Quote
  #4  
Old 03-09-2010, 03:03 PM
FatalIll
Fire Beetle
 
Join Date: Feb 2010
Posts: 6
Default

Quote:
Originally Posted by pfyon View Post
Did you not checkout the code from the svn? cleanipc should be in source/utils/cleanipc and libEMuShareMem.so should be in source/EMuShareMem/libEMuShareMem.so
http://projecteqemu.googlecode.com/svn/trunk/

cleanipc.cpp is the only thing related to cleanipc in name... and libEMuShareMem.so doesnt exist :<
Reply With Quote
  #5  
Old 03-09-2010, 03:05 PM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

Are you using the -s flag when you create the link?

Code:
ln -s TARGET LINK
will create a symlink, or soft link. The file TARGET need not exist, and will then create a "dangling symlink". Attempts to access LINK will fail until you actually create the file TARGET. In your case the file cleanipc will be created after you compile the software.

Play with the ln command in your /tmp directory. I recall that it took me a while to be comfortable with how it works when I first met UNIX. Also check out

Code:
ln --help
and

Code:
man ln
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 01:24 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3