Compiling:CentOS

From ArcEmu-Wiki
(Difference between revisions)
Jump to: navigation, search
 
(Initial Setup)
Line 25: Line 25:
 
After it's done we can install the other tools and libraries we will need.
 
After it's done we can install the other tools and libraries we will need.
 
<source lang="bash">
 
<source lang="bash">
sudo yum install automake
+
sudo yum install cmake
sudo yum install libtool
+
 
sudo yum install zlib-devel
 
sudo yum install zlib-devel
 
sudo yum install openssl-devel
 
sudo yum install openssl-devel
 
sudo yum install mysql-devel
 
sudo yum install mysql-devel
 
sudo yum install pcre-devel
 
sudo yum install pcre-devel
 
 
sudo yum install subversion
 
sudo yum install subversion
 
</source>
 
</source>

Revision as of 19:24, 29 May 2011

ArcEmu currently ONLY supports: 3.3.5a 12340 June 29, 2010


Contents

Building Arcemu on CentOS

CentOS is a popular Linux distribution for servers, which is significantly different than Ubuntu which our Linux documentation assumes you have. Please note that this "guide" is for CentOS 5.5 (and presumably will work with newer too).

Initial Setup

We need to install the tools and libraries that we will be using to build Arcemu. First we need to update/install gcc and g++ compilers.

sudo yum remove gcc-c++
sudo yum remove gcc
sudo yum install gcc44
sudo yum install gcc44-c++

The gcc44-c++ package is not the default package and CentOS install it's binaries with the "44" suffix, which confuses our build scripts so we need to manually create symlinks for them.

sudo ln -s /usr/bin/gcc44 /usr/bin/gcc
sudo ln -s /usr/bin/g++44 /usr/bin/g++44

After it's done we can install the other tools and libraries we will need.

sudo yum install cmake
sudo yum install zlib-devel
sudo yum install openssl-devel
sudo yum install mysql-devel
sudo yum install pcre-devel
sudo yum install subversion

MySQL Setup

Now we will have to install MySQL server.

sudo yum install mysql-server

When we are done with that we need to configure it so we can actually use it In order to do that we need to first start it.

sudo /etc/init.d/mysqld start

It will show some messages, which is a nice read, but it will all come down to doing this:

sudo /bin/mysql_secure_installation


Further Installation Steps

From now on, the steps should be the same as in the main guide, so you might as well return to that page.

Compiling:_Linux#Security_and_Accounts

Personal tools