• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Tuesday, June 24, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System CentOS

Creating a Dota 2 Server on CentOS 6

How VPS by How VPS
October 1, 2019
in CentOS
0
0
SHARES
123
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Step 1: Prerequisites and requirements
  2. Step 2: Installing SteamCMD
  3. Step 3: Configuring SteamCMD for Dota 2
  4. Step 4: Starting your Dota 2 server
  5. Conclusion
  6. Want to contribute?


In this article, we will be creating a Dota 2 server. Dota is a free-to-play multiplayer game released by Valve, the company behind Steam. As a reminder, this article is written for CentOS 6.

Warning: These instructions will not work on the base level Vultr VPS plan, as Dota 2 requires more than 15GB of disk space. The minimum plan size is a 20GB SSD plan.

Step 1: Prerequisites and requirements

As many Steam game servers require SteamCMD, we will be installing the dependencies of it. For reference, SteamCMD requires the following packages:

  • glibc
  • glibc-c++
  • freetype fonts
  • screen

In order to install these packages, please execute the following commands as the root user. If you wish to perform this with a unprivileged account, make sure you add sudo before any commands specified to run as root.

yum groupinstall 'Development Tools' -y
yum install libX11-devel freetype freetype-devel zlib-devel libxcb-devel -y

For 32 bit users, execute the following as the root user:

yum install glibc libstdc++ -y

For 64 bit users, you’ll need the 32 bit compatibility libraries for glibc since SteamCMD runs on only 32 bit environments:

yum install glibc.i686 libstdc++.i686 -y

Step 2: Installing SteamCMD

First, we’ll create a special user to host the game server. We do this because if someone finds an exploit in the game server software, they will only have limited privileges to your VPS. Feel free to change the username, however this article will be using dotags as the unprivileged user.

useradd dotags

Enter the user account:

su dotags

Then, download SteamCMD:

wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

Now, we need to extract the tar archive:

tar -xvf steamcmd_linux.tar.gz

Step 3: Configuring SteamCMD for Dota 2

Because Dota 2 does not allow the anonymous user to install Dota 2, we need to log in with our own accounts. First, start SteamCMD:

./steamcmd.sh

Then, log into Steam:

login mysteamusername

Let’s set our installation directory for Dota 2:

force_install_dir ./dota2_gameserver

… and begin the installation:

app_update 570

This will take a while, so please be patient.

Now, we need to install MetaMod so that the server runs properly.

Go to the Dota 2 game directory:

cd ~/Steam/steamapps/common/dota 2 beta/game/dota

Download the source and extract it:

wget http://www.metamodsource.net/mmsdrop/1.10/mmsource-1.10.7-git952-linux.tar.gz
tar -xvf mmsource-1.10.7-git952-linux.tar.gz

As Dota 2 requires a program called srcds to run properly, we’ll grab that now:

wget -O srcds.tar.gz https://forums.alliedmods.net/attachment.php?attachmentid=140208&d=1416970992
cd ~/Steam/steamapps/common/dota 2 beta/game/dota
tar -xvf srcds.tar.gz

Good job, all that’s left is to start the server.

Step 4: Starting your Dota 2 server

This step is simple; create a screen session and start the server inside of it.

screen -dmS dota2server "/home/Steam/steamapps/common/dota 2 beta/game/dota/srcds_run -game dota -console"

You can put that in /etc/rc.local to have your Dota 2 server start when your instance boots up. Do that by opening it ( nano /etc/rc.local ), paste the command above and save the file.

Conclusion

In this article, you created your own Dota 2 server; now you can get in and play!

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Install Hexo on CentOS 7

Next Post

Creating a Ghost Blog on a CentOS 7 Server

Next Post

Creating a Ghost Blog on a CentOS 7 Server

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In