Some basic first time only steps :
Code:
sudo apt-get install subversion dpkg-dev make autoconf libstdc++-dev libstdc++ g++ libc6-dev gcc
this will get and install subversion along with the other packages. remember you might need more packages.
Code:
cd ~
mkdir code
mkdir raw
mkdir compiled
I make separate dirs for code and compiled mangos. once I'm satisfied I move the compiled binaries then they get moved to production environment.
Steps you need to perform every time :
Code:
svn checkout https://svn.sourceforge.net/svnroot/mangos/trunk ~/raw
Retrieve the latest updates from mangos svn.
Code:
./configure --prefix=~/code/compiled --with-python --enable-cli --sysconfdir=~/code/compiled/etc --datadir=~/code/compiled/data
the above does NOT include remote admin but does include command line interface since we are using Linux which provides us with SSH and screen so we can admin the server just like we were on the console no matter where we are as long as we configure SSH

also fix the paths for your user if you so desire.
just type that and wait for it to finish. feel free to go get some coffee.
type that once make is done and wait for this to finish. finished your coffee i see o.O
go into the compiled folder and take a look at your handy work. you can move it from here to whereever you want now or package it up and share with others on the mangos site
I will be posting a tutorials soon that includes scriptdev.