Matix8981

[Tutorial] Install server RageMP (Centos 7)

Recommended Posts

Hello,

I would like to show you how to properly install the RageMP server on the Centos 7 linux distribution.

Table of Contents:

  1. System update
  2. Package installation
  3. Building GCC 7.3.0
  4. Adding a user
  5. Server installation
  6. Starting the server

Informations:

  • Yum - Package manager in the RHel system
  • Update - Argument to yum
  • Install - Argument to yum
  • -y - skipping accepting installation
  • Screen - Allows you to run processes in the background

Warning!

Change USERNAME to your username!

1. System update

yum update -y;

 

2. Package installation

yum install epel-release -y; yum install nano zip unzip libunwind libunwind-devel libicu libicu-devel nodejs npm screen psmisc curl wget gmp-devel mpfr-devel libmpc-devel; yum groupinstall 'Development Tools';

 

3. Building GCC (7.3.0) - The process takes about 1H or 2H depends on what server you have.

cd /root; wget https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.gz; tar -xf gcc-7.3.0.tar.gz; mkdir gcc-build; cd gcc-build; ../gcc-7.3.0/configure --enable-languages=c,c++ --disable-multilib --prefix=/usr/ ; make -j$(nproc); make install;

 

4. Adding a user

adduser USERNAME

Setting the password

passwd USERNAME

 

5. Server installation

su - USERNAME
wget https://cdn.rage.mp/lin/ragemp-srv.tar.gz; tar -xf ragemp-srv.tar.gz; cd ragemp-srv; mv * ../; cd ../; rm -rf ragemp-srv; wget https://cdn.gtanet.work/bridge-package-linux.tar.gz; tar -xf bridge-package-linux.tar.gz; rm -rf *.tar.gz

 

6. Starting the server

screen -dmS serwer ./server

Going to the console

screen -r serwer

 

Original Polish Tutorial: 

 

2018 © Matix8981 All rights reserved

 

Share this post


Link to post
Share on other sites

Hi,

I've got this error at step 5.

Quote

Cannot write to ‘bridge-package-linux.tar.gz’ (Success).
tar: bridge-package-linux.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Any thoughts?

Share this post


Link to post
Share on other sites
Quote


./server: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./server)
 

help me :(

Share this post


Link to post
Share on other sites
20 hours ago, hoylram said:

help me :(

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6

You can read on the wiki ;) 

  • Like 1

Share this post


Link to post
Share on other sites

my system is centos 7 :(

18 minutes ago, em0zz said:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6

You can read on the wiki ;) 

 

Share this post


Link to post
Share on other sites
Quote
cd /root; wget https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.gz; tar -xf gcc-7.3.0.tar.gz; mkdir gcc-build; cd gcc-build; ../gcc-7.3.0/configure --enable-languages=c,c++ --disable-multilib --prefix=/usr/ ; make -j$(nproc); make install;

This process continues for 1 day. :(

Share this post


Link to post
Share on other sites
# ./server
./server: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./server)
./server: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./server)

centos 7 😔

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.