How to Set Up an Icarus Dedicated Server on AnonVM Hosting

Icarus is a survival game that offers cooperative gameplay where players gather resources, build bases, and survive harsh environments. Setting up your own dedicated server allows you to host your sessions, control game settings, and invite friends for a more customized experience. In this guide, we’ll walk you through how to set up an Icarus dedicated server on your VPS hosted by AnonVM.

Prerequisites

Before starting, make sure you have the following:

  • A VPS from AnonVM with at least 4 GB of RAM, 2 CPU cores, and 30 GB of disk space.
  • SSH access to your VPS.
  • Basic knowledge of Linux commands.
  • A stable internet connection to download the necessary files.

Step 1: Access Your AnonVM VPS

  1. Log in to your AnonVM account and navigate to your VPS.
  2. Use an SSH client like PuTTY (for Windows) or your terminal (for Linux/Mac) to connect to your VPS:
     
    ssh root@your-vps-ip
    Replace your-vps-ip with the actual IP address of your VPS and provide your password when prompted.

Step 2: Install Required Dependencies

To run the Icarus server on Linux, you need to install a few necessary packages.

  1. Update your system:

     
    apt-get update && apt-get upgrade -y
  2. Install dependencies:

     
    apt-get install wget curl unzip screen lib32gcc1 -y

    These libraries and tools will ensure that the game server runs smoothly on your VPS.

Step 3: Install SteamCMD

SteamCMD is a command-line tool that will help you download and install the Icarus server files.

  1. Create a directory for SteamCMD:

     
    mkdir -p /home/steam cd /home/steam
  2. Download and extract SteamCMD:

     
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xvzf steamcmd_linux.tar.gz
  3. Verify the SteamCMD installation:

     
    ./steamcmd.sh

    Once the SteamCMD prompt appears, type quit to exit.

Step 4: Download the Icarus Server Files

Now that SteamCMD is installed, you can use it to download the Icarus server files.

  1. Log in to SteamCMD:

     
    ./steamcmd.sh login anonymous
  2. Set the installation directory for the server files:

     
    force_install_dir ./icarus_server
  3. Download the server files:

     
    app_update 1597730 validate

    This will download the server files for Icarus. It may take some time, depending on your internet connection.

Step 5: Configure the Server

Once the server files are downloaded, you need to configure your server.

  1. Navigate to the server directory:

     
    cd /home/steam/icarus_server
  2. Edit the configuration files: The main configuration file for Icarus is start_server.sh. Open it using a text editor like nano:

     
    nano start_server.sh

    Example Configuration Options:

    • Server Name: Customize the server’s name as you like.
    • Max Players: Set the maximum number of players that can join your server.
    • Game Mode: Configure the game mode (e.g., PVE or PVP).

    After editing the file, save it by pressing CTRL + X, then press Y to confirm.

Step 6: Open Required Ports

For players to connect to your server, you'll need to open certain ports on your VPS's firewall.

Icarus requires the following ports:

  • UDP 27015: Game server port
  • UDP 27016: Query port (for server browser)
  • UDP 7777-7780: Game traffic ports
  1. Open the required ports using ufw (Uncomplicated Firewall):

     
    ufw allow 27015/udp ufw allow 27016/udp ufw allow 7777:7780/udp ufw reload

    If you use a different firewall tool, ensure the relevant ports are open.

Step 7: Start the Server

Now that everything is set up, it’s time to start the server.

  1. Run the server in a screen session: Using a screen session will allow the server to run in the background, even if you disconnect from the VPS.

    • Start a new screen session:

       
      screen -S icarus_server
    • Run the server:

       
      ./start_server.sh
  2. Detach from the screen session: To detach from the session and leave the server running, press CTRL + A, then D. You can reconnect to the session later with:

     
    screen -r icarus_server
  3. Check the server logs: To monitor your server’s status and look for any issues, use:

     
    tail -f /home/steam/icarus_server/logs/log.txt

Step 8: Connect to Your Server

After starting the server, you can connect to it from the Icarus game client.

  1. Launch Icarus on your local machine.
  2. Go to the Multiplayer tab and select Join Game.
  3. Search for your server by name, or manually enter the server’s IP address and port.

If you’ve set up a password for your server, you’ll be prompted to enter it.

Step 9: Update the Server

To keep your server up to date with the latest patches, run the following SteamCMD commands:

  1. Log in to SteamCMD:

     
    ./steamcmd.sh login anonymous
  2. Check for updates:

     
    force_install_dir ./icarus_server app_update 1597730 validate

    This will download any new updates and keep your server current.

Conclusion

You’ve now successfully set up a Icarus dedicated server on your AnonVM VPS! With this setup, you can host your own multiplayer sessions and control the game’s settings for the best experience. Make sure to monitor your server and apply updates regularly. Enjoy surviving in the hostile world of Icarus!

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution