Panel |
---|
borderColor | #3399cc |
---|
bgColor | #DCF1FC |
---|
titleColor | #FFFFFF |
---|
titleBGColor | #3399cc |
---|
borderStyle | solid Info |
---|
| is part of the Installation Guide. |
You can read it alone or click on the previous link to easily move between the steps. Sección |
---|
Columna |
---|
|
Info |
---|
Processor with SSE2 support Boost ≥ 1.55 MySQL ≥ 5.1.0 OpenSSL ≥ 1.0.0 CMake ≥ 3.0 GCC ≥ 4.9.0 or Clang ≥ 3.5 (recommended) zlib ≥ 1.2.7 |
Info |
---|
Note: While compiling you may get one error like: "c++: internal compiler error: Killed (program cc1plus)" the reasons of this can be: Low ram/swap amount: increase ram/swap to a minimum of 2GB of ram and 2GB of swap or decrease the amount of make -j to 1 (more concurrent compile threads = more memory usage). (you can get this using VPS servers) SELinux/grsecurity/Hardened kernel: Kernels that use ASLR as a security measure tend to mess up GCC's precompiled header implementation. Try using an unhardened kernel (without ASLR), or compiling using cmake, or gcc without pch. (you can get this issue when using OVH hosting). |
Debian based distributions (recommended)
Recommendation: Use apt-get with stable source list instead of install packages. We recommend the latest stable version of your distribution. Avoid LTS versions since we usually update requirements to the lastest stable Debian version. Mixing stable with experimental packages may break your linux OS.
Tested for Debian 8.4.0 and Ubuntu 16.04.
Bloque de código |
---|
|
apt-get install git cmake make gcc g++ libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip |
Info |
---|
Not supported: Debian 7, Ubuntu 14.04. |
Fedora based distributions
Tested on Fedora 25 Server (Fedora 25 Workstation should also work).
Bloque de código |
---|
|
dnf install git cmake make gcc gcc-c++ mariadb-devel openssl-devel bzip2-devel readline-devel ncurses-devel boost-devel mariadb-server p7zip |
Expandir |
---|
title | Red Hat based distributions (NOT RECOMMENDED) |
---|
|
Red Hat based distributions Bloque de código |
---|
| yum install epel-release
yum install git cmake3 make gcc gcc-c++ mariadb-devel openssl-devel bzip2-devel readline-devel ncurses-devel
yum install libquadmath-devel python-devel
curl -L https://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.gz/download -o boost_1_61_0.tar.gz
tar -zxvf boost_1_61_0.tar.gz
cd boost_1_61_0
./bootstrap.sh
./b2
./b2 install
yum install mariadb-server p7zip |
Note: Some distribution versions might not match our requirements for CMake. If you can't install the EPEL repository on your build server, use the following instructions to install CMake manually. Bloque de código |
---|
| curl https://cmake.org/files/v3.6/cmake-3.6.1.tar.gz -o cmake-3.6.1.tar.gz
tar -zxvf cmake-3.6.1.tar.gz
cd cmake-3.6.1
./bootstrap
make
make install |
|
...
Panel |
---|
borderColor | #3399cc |
---|
bgColor | #DCF1FC |
---|
titleColor | #FFFFFF |
---|
titleBGColor | #3399cc |
---|
borderStyle | solid |
---|
title | Guide |
---|
|
This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. Sección |
---|
Columna |
---|
Columna | Step 2: Core Installation >>find it in our new wiki at: https://trinitycore.info/en/install/requirements/linux |