Jump to content

[GUIDE] Ubuntu/Debian/CentOS/RHEL Install Guide


Recommended Posts

  • Replies 289
  • Created
  • Last Reply

Top Posters In This Topic

ok but i can't start up my mangos-worldd because if i start up i have err msg, how to ignored that?

Not at all. Get a 3.3.5.12340 client, extract the maps and vmaps, move them to the "DataDir" noticed by Skirnir, then it should work.

thanx for all support it now my server is up and publish.....

Link to comment
Share on other sites

Maybe this helps some people to build mangos on Ubuntu 9.10 karmic :)

PS: This is only the "standard" way with no modifications or something else, so ofc this can vary ;)

Install CMake 2.8.0:
$ wget [url]https://launchpad.net/ubuntu/+archive/primary/+files/cmake_2.8.0.orig.tar.gz[/url]
$ gzip -d cmake_2.8.0.orig.tar.gz
$ tar -xvf cmake_2.8.0.orig.tar
$ cd cmake-2.8.0
$ ./configure
$ make
$ sudo make install
$ sudo ln -s /usr/local/bin/cmake /usr/bin
$ sudo ln -s /usr/local/bin/ctest /usr/bin
$ sudo ln -s /usr/local/bin/cpack /usr/bin

Compile Mangos:
$ git clone git://github.com/mangos/mangos.git
$ cd mangos
$ mkdir objdir
$ cd objdir
$ cmake ..
$ make
$ make install

Link to comment
Share on other sites

My option to install cmake 2.8.2 on ubuntu 9.10 and earlier version

cd /etc/apt

sudo nano source.list

comment all

and enter below

i use russian lang, you can choose the repository of other languages

###### Ubuntu 10.10
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick main restricted
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick main restricted
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates main restricted
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates main restricted
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick universe
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick universe
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates universe
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates universe
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick multiverse
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick multiverse
deb [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates multiverse
deb-src [url]http://ru.archive.ubuntu.com/ubuntu/[/url] maverick-updates multiverse
deb [url]http://extras.ubuntu.com/ubuntu[/url] maverick main
deb-src [url]http://extras.ubuntu.com/ubuntu[/url] maverick main
deb [url]http://security.ubuntu.com/ubuntu[/url] maverick-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu[/url] maverick-security main restricted
deb [url]http://security.ubuntu.com/ubuntu[/url] maverick-security universe
deb-src [url]http://security.ubuntu.com/ubuntu[/url] maverick-security universe
deb [url]http://security.ubuntu.com/ubuntu[/url] maverick-security multiverse
deb-src [url]http://security.ubuntu.com/ubuntu[/url] maverick-security multiverse

sudo apt-get update

sudo apt-get install cmake

cmake installed

source.list return to the original version!!!

sudo apt-get update

that it all

My installation log http://pastebin.com/EdPvuzEB

Link to comment
Share on other sites

Scanning dependencies of target genrev
[  1%] Building CXX object CMakeFiles/genrev.dir/src/tools/genrevision/genrevision.cpp.o
Linking CXX executable genrev
[  1%] Built target genrev
Scanning dependencies of target revision.h
[  1%] Built target revision.h
Scanning dependencies of target TBB_Project
[  1%] Creating directories for 'TBB_Project'
[  1%] No download step for 'TBB_Project'
[  1%] No patch step for 'TBB_Project'
[  1%] No update step for 'TBB_Project'
[  1%] No configure step for 'TBB_Project'
[  1%] Performing build step for 'TBB_Project'
[  1%] Performing install step for 'TBB_Project'
[  1%] Completed 'TBB_Project'
[  4%] Built target TBB_Project
Scanning dependencies of target ACE_Project
[  4%] Creating directories for 'ACE_Project'
[  4%] No download step for 'ACE_Project'
[  4%] No patch step for 'ACE_Project'
[  4%] No update step for 'ACE_Project'
[  4%] Performing configure step for 'ACE_Project'
/bin/sh: /home/lina/source/mangos/dep/ACE_wrappers/configure: Permission denied
make[2]: *** [dep/ACE_wrappers/ACE_Project-prefix/src/ACE_Project-stamp/ACE_Project-configure] Error 126
make[1]: *** [dep/ACE_wrappers/CMakeFiles/ACE_Project.dir/all] Error 2
make: *** [all] Error 2

what could the problem?

add::

problem resolved sudo chmod -r 777

but why is it need ?

Link to comment
Share on other sites

Hello everybody,

I have some trouble, i don't have any configure.ac or file configure.in in /home/mangos/

So, I can't do this

autoreconf  --install --force

and get

autoreconf: `configure.ac' or `configure.in' is required

What I have to do?

P.S. It' my first server.

Ignore this message. I found answer.

Link to comment
Share on other sites

I must admit the cmake was a welcome change as now I don`t have errors that stopped me from setting my server up before. I have a few questions as my server setup has changed a little(1 game server 1 web server and 1 MYSQL server that replace a single server that use to run all).

Is it possible to compile that it can be just dumped to another system. Reason I ask is so I don`t have to install a bunch of packages on my server to compile and the main reason I ask is my MYSQL server is another server all together that just does MYSQL.

or is there a way to alter a compile to another server on my network that worked fine and has a MYSQL setup on my MYSQL server already?

Thanks for any heads up on this and thanks to all for the guides and project to help me set a server up.

Link to comment
Share on other sites

Basically you can copy the compiled files to any other computer for running the server application there. But, I can say at a windows system, you need to install the Visual C++ runtimes and Net Framework on the target system, maybe there are also some required components on a linux system, but I do not have the ability to say which one.

Link to comment
Share on other sites

Hello, i am having some trouble with mangos-335a server on a debian-amd64 system (64bit).

It compiles w/o any problems (gcc 4.4.5), and generally works. But sometimes, mangosd seem to crash on one particular point, that is, character creation screen, right after player submits a character's name. When it crashes, it says 'Segmentation Fault' and bails out immediately. Any ideas how to fix that? Even with my small online (25-30+) it is became

very annoying, as server goes down like 10-15 times/day. Is there are something wrong with my hardware, or it is a software issue??

I am on debian 6.0 squeeze (with a stable kernel), running on AMD64 3000+ CPU

any help is highly appreciated

Link to comment
Share on other sites

Hello everybody,

I have some trouble, i don't have any configure.ac or file configure.in in /home/mangos/

So, I can't do this

autoreconf  --install --force

and get

autoreconf: `configure.ac' or `configure.in' is required

What I have to do?

P.S. It' my first server.

i have the same problem, how i can resolve?

thanks!

Link to comment
Share on other sites

  • 8 months later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use