In this article, we will be creating a\u00a0Dota 2<\/strong>\u00a0server.\u00a0Dota<\/strong>\u00a0is a free-to-play multiplayer game released by Valve, the company behind Steam. As a reminder, this article is written for CentOS 6.<\/p>\n Warning: These instructions will not work on the base level\u00a0AKLWEB Host VPS<\/strong>\u00a0plan, as Dota 2 requires more than 15GB of disk space. The minimum plan size is a 20GB SSD plan.<\/p>\n As many Steam game servers require\u00a0 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\u00a0 For 32 bit users, execute the following as the root user:<\/p>\n For 64 bit users, you’ll need the 32 bit compatibility libraries for\u00a0 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\u00a0 Enter the user account:<\/p>\n Then, download SteamCMD:<\/p>\n Now, we need to extract the tar archive:<\/p>\n Because Dota 2 does not allow the\u00a0 Then, log into Steam:<\/p>\n Let’s set our installation directory for Dota 2:<\/p>\n … and begin the installation:<\/p>\n This will take a while, so please be patient.<\/p>\n Now, we need to install MetaMod so that the server runs properly.<\/p>\n Go to the Dota 2 game directory:<\/p>\n Download the source and extract it:<\/p>\n As Dota 2 requires a program called\u00a0 Good job, all that’s left is to start the server.<\/p>\n This step is simple; create a\u00a0 You can put that in\u00a0 In this article, you created your own Dota 2 server; now you can get in and play!<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,231,242],"manual_kb_tag":[147],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2172"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2172"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2172\/revisions"}],"predecessor-version":[{"id":2173,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2172\/revisions\/2173"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2172"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2172"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Step 1: Prerequisites And Requirements<\/strong><\/h2>\n
SteamCMD<\/code>, we will be installing the dependencies of it. For reference, SteamCMD requires the following packages:<\/p>\n
\n
sudo<\/code>\u00a0before any commands specified to run as root.<\/p>\n
yum groupinstall 'Development Tools' -y\r\nyum install libX11-devel freetype freetype-devel zlib-devel libxcb-devel -y\r\n<\/code><\/pre>\n
yum install glibc libstdc++ -y\r\n<\/code><\/pre>\n
glibc<\/code>\u00a0since SteamCMD runs on only 32 bit environments:<\/p>\n
yum install glibc.i686 libstdc++.i686 -y\r\n<\/code><\/pre>\n
Step 2: Installing SteamCMD<\/strong><\/h2>\n
dotags<\/code>\u00a0as the unprivileged user.<\/p>\n
useradd dotags\r\n<\/code><\/pre>\n
su dotags\r\n<\/code><\/pre>\n
wget https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\n<\/code><\/pre>\n
tar -xvf steamcmd_linux.tar.gz\r\n<\/code><\/pre>\n
Step 3: Configuring SteamCMD For Dota 2<\/strong><\/h2>\n
anonymous<\/code>\u00a0user to install Dota 2, we need to log in with our own accounts. First, start SteamCMD:<\/p>\n
.\/steamcmd.sh\r\n<\/code><\/pre>\n
login mysteamusername\r\n<\/code><\/pre>\n
force_install_dir .\/dota2_gameserver\r\n<\/code><\/pre>\n
app_update 570\r\n<\/code><\/pre>\n
cd ~\/Steam\/steamapps\/common\/dota 2 beta\/game\/dota\r\n<\/code><\/pre>\n
wget http:\/\/www.metamodsource.net\/mmsdrop\/1.10\/mmsource-1.10.7-git952-linux.tar.gz\r\ntar -xvf mmsource-1.10.7-git952-linux.tar.gz\r\n<\/code><\/pre>\n
srcds<\/code>\u00a0to run properly, we’ll grab that now:<\/p>\n
wget -O srcds.tar.gz https:\/\/forums.alliedmods.net\/attachment.php?attachmentid=140208&d=1416970992\r\ncd ~\/Steam\/steamapps\/common\/dota 2 beta\/game\/dota\r\ntar -xvf srcds.tar.gz\r\n<\/code><\/pre>\n
Step 4: Starting Your Dota 2 Server<\/strong><\/h2>\n
screen<\/code>\u00a0session and start the server inside of it.<\/p>\n
screen -dmS dota2server \"\/home\/Steam\/steamapps\/common\/dota 2 beta\/game\/dota\/srcds_run -game dota -console\"\r\n<\/code><\/pre>\n
\/etc\/rc.local<\/code>\u00a0to have your Dota 2 server start when your instance boots up. Do that by opening it (\u00a0
nano \/etc\/rc.local<\/code>\u00a0), paste the command above and save the file.<\/p>\n
Conclusion<\/strong><\/h2>\n