View Single Post
  #3  
Old 02-25-2007, 06:28 PM
ndnet
Hill Giant
 
Join Date: Oct 2003
Posts: 105
Default

Ideally, it will be self-updating, on the user's action. It would be nice to make it sort of sustainable, for ease of maintenance and also for the event that I'm not able or interested enough to update it.

Much of the workflow of updating to a new emu version includes repetitive tasks that a script can simplify.

It typically goes something like:
grab latest source (cvs or released source package)
check changelog for sql updates, apply if necessary
rebuild server from source
move new binaries into server folder (or update symlinks to point to new build folder for them)


There might be other approaches to keeping everyone updated, such as through rsync. I do want it to be activated only on the user's preference, however. I'm mulling around other ideas like this updater for streamlining various aspects of getting a temporary server up and going.

Distribution is also a concern. Compressed, this puppy weighs in at just over 1 gig currently so it could use some fat trimming.. it'll still be far too large for me to host, but a torrent should work okay to start with.

I'm not releasing it yet, but this is the changelog I thought to write down as I was making it (okay might have forgotten on some steps, hopefully not~), if anyone wants to follow along:


2/24/07 - Base install of xubuntu, set up eqemu/eqemu account.
- Installed pkg "mysql-server-4.1"
- Really installed 5.0, wtf!
- Installed pkg "libmysqlclient-dev"
- Installed pkg "php5"
- Installed pkg "libio-stringy-perl"
- Installed pkg "samba"
- Made folder structure ~/emusrv/
- Configured smb.conf
- Installed pkg "cvs"
- Installed/configured phpMyAdmin
- Installed pkg "php5-mysql"
- Created eqemu database
- Sourced PEQ database
- Installed pkg "build-essential"
- Commented out project eqemucollector, eqextractor from ./Makefile
- Installed pkg "libperl-dev"
- Commented out utils from ./Makefile
- Get out Maps, Quests, etc linked into the server/ folder
- Edited eqemu_config.xml for this VM's defaults
- Sourced in untold amount of changelog.txt SQL updates
- Set up CVS login and downloaded current source into ~/emuserv/src/cvs
- Source built, fixed bunch of shit to get the emu actually running
- Emu is loaded with PEQ release and table updates to current (LD_LIBRARY_PATH var)
- Tested with Titanium client
- Added some launchers to the panel to start up a world/zone
Reply With Quote