Ultimate Linux server TUT

EDIT Made a script that does it its self! Just put it in your dir and run it !!
Gets and makes boost,
gets the server
fixes the Linux script to build then makes the server
The server is located in ./graal/bin/
Download the script here!
Note you have to run this script in sudo / root user “sudo sh ./gserver”

For more info on running a server go here: RC2: How to use, connect, edit rights, add content to your server etc. ~ Twiggy

We need some things to build and run the server! not much! [You need svn! type; apt-get install subversion & apt-get install libapache2-svn

apt-get install build-essential
  1. Boost
  2. Premake4
  3. The Server

How to get them? [sugest makeing a folder to put this in]
Boost is simple check out the repo with svn aka subversion

svn checkout http://svn.boost.org/svn/boost/trunk/

Should take a bit then aftermv trunk boostNot needed but that renames the folder to boost
cd into your new folder!
type ./bootstrap.shand wait!

now Premake4, i built it for you since it was ducked up in the gserver svn! download
Premake will be used later, also includes fixed script

Now for getting the server like i said i was using 2.3.1 you can use any.
in that same folder as premake4.zip and your installed boost.
check it out svn checkout http://gs2emu.googlecode.com/svn/gserver-v2/tags/2.3.1/
Optional, rename itmv 2.3.1 graal
cd into your folder then to the build folder.
do wget https://dl.dropboxusercontent.com/u/59949732/premake4.zip
then unzip with unzip premake4.zip
run [Make is not needed the zip you downloaded has a fixed script thanks to me] sh build_gmake

if you get an error about no permission your must dochmod 777 premake4 & chmod 777 build_gmake
THERE your server binary is now in the /bin/ folder
simply run your server using screen or not, screen is used to push the process to the back while you can do other things!
inside your bin folder the binary is ./gserver2_d
I use screen ./gserver2_d

ANY QUESTIONS PLEASE ASK! ~ Going to make a script that does this all for you! lazy bums

This is for 32 bit systems. Also remember to install build-essentials

Oh ok ill add that xD