2014/01/16

L4D2 Dedicated Server setup (Linux)

  1. Download SteamCMD
    mkdir steam
    cd steam
    mkdir steamcmd
    wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    tar xzf steamcmd_linux.tar.gz -C steamcmd
  2. Install L4D2 dedicated server
    cd steamcmd
    ./steamcmd.sh +login anonymous +force_install_dir `pwd`/../L4D2 +app_update 222860 validate +quit
  3. Install SourceMod and Metamod:Source
    cd steam
    wget http://newyork.download.maverickservers.com/source/sourcemod-1.5.2-linux.tar.gz
    tar xvzf sourcemod-1.5.2-linux.tar.gz -C L4D2/left4dead2
    wget http://newyork.download.maverickservers.com/source/mmsource-1.10.0-linux.tar.gz
    tar xvzf mmsource-1.10.0-linux.tar.gz -C L4D2/left4dead2
  4. Verify the installation
    cd steam/L4D2
    ./srcds_run
    meta version
    If the version info is showed up, the installation is successful
  5. Install ToolZ mod
    wget 'http://forums.alliedmods.net/attachment.php?attachmentid=122230&d=1373147952' -O
    l4dtoolz\(L4D2\)-1.0.0.9h.zip
    unzip l4dtoolz\(L4D2\)-1.0.0.9h.zip -d L4D2/left4dead2/addons
  6. Install bebop mod
    wget 'http://forums.alliedmods.net/attachment.php?attachmentid=54217&d=1259334888' -O bebop_0.2beta.zip
    unzip bebop_0.2beta.zip bebop.smx -d L4D2/left4dead2/addons
  7. Edit server config to allow more than 8 players
    open steam/L4D2/left4dead2/cfg/server.cfg and add these lines:
            sv_maxplayers 8
            sv_visiblemaxplayers 8
            sv_removehumanlimit 1
            sv_force_unreserved 1

1 comment:

Zab said...

Your guide on setting up an L4D2 dedicated server on Linux is really helpful. It's great to see clear instructions for this process. On a related note, I've been looking into dedicated server hosting options in the Philippines. If anyone has any insights or recommendations regarding dedicated server hosting services in the Philippines, I'd love to hear your thoughts. Thanks for sharing your expertise on this!