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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-18-2021, 06:00 PM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

Try something like this while logged in as eqemu user:

Code:
#! /bin/sh
cd /home/eqemu/server
./server_stop.sh
./world database:dump --login-tables --player-tables
cd /home/eqemu
tar -zcf old_binaries.tar.gz server_source
cd /home/eqemu/server_source
git pull --recurse-submodules
cd /home/eqemu/server_build
rm -rf *
cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -G "Unix Makefiles" /home/eqemu/server_source
make
cd /home/eqemu/server
./server_start_with_login.sh
This assumes you are using Ubuntu or Debian and aren't using bots. If you're using bots then add "-DEQEMU_ENABLE_BOTS=ON" to the cmake line just after the cmake. If you're using Fedora then the cmake line should look more like this:

cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -DLUA_INCLUDE_DIR=/usr/include/lua-5.1/ -G "Unix Makefiles" cd /home/eqemu/server_source

Note that the script backs up the player and login tables before running, and also tarballs up the old binaries in case the compilation fails.

Disclaimer: I take no responsibility if this borks anything. If in doubt, manually back up your stuff and run it one line at a time.
Reply With Quote
 


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 04:48 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