How to install palworld on ubuntu vps (easy 5 minute guide)
Learn how to install palworld on ubuntu vps in 5 minutes!

This article provides a guide for how to install PalWorld on Ubuntu VPS server.

How to Install PalWorld on Ubuntu VPS: A Step-by-Step Guide

Installing PalWorld on an Ubuntu VPS requires setting up the system to meet the game’s requirements. Installing PalWorld on a VPS can be useful for hosting dedicated servers. Follow this guide to get started.

What is Palworld?

PalWorld is a multiplayer open-world survival and crafting game developed by Pocketpair, the creators of Craftopia. The game is set in a vibrant fantasy world filled with mysterious creatures called “Pals,” which players can capture, befriend, or use in various ways.

Save 50% off vps server hosting

Prerequisites

Before you begin, ensure you have:

  1. An Ubuntu VPS: Preferably Ubuntu 20.04 or later with root or sudo access.
  2. Minimum system requirements for the VPS:
    • CPU: Dual-core processor (2.4GHz or faster).
    • RAM: At least 4GB (8GB recommended for optimal performance).
    • Storage: At least 10GB of free disk space.
    • Network: Stable internet connection.
  3. Access to SteamCMD: Required to download PalWorld’s dedicated server files.
  4. Basic knowledge of Linux command-line operations.

READ ALSO: Optimizing Your Hosting Experience: The Advantages of Ubuntu VPS Servers for Your Business

Step 1: Update and Upgrade the System

Run the following commands to ensure your system is up-to-date:

Preview (opens in a new tab)

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

Install essential dependencies for running SteamCMD and PalWorld:

sudo apt install -y lib32gcc1 lib32stdc++6 wget tar unzip screen

These libraries ensure compatibility with 32-bit applications like SteamCMD.

Step 3: Install SteamCMD

  1. Create a directory for SteamCMD:
    mkdir ~/steamcmd && cd ~/steamcmd
  2. Download SteamCMD:
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
  3. Extract SteamCMD:
    tar -xvzf steamcmd_linux.tar.gz
  4. Run SteamCMD:
    ./steamcmd.sh

    SteamCMD will update itself during the first run. Use Ctrl + C to exit once it’s complete.

Step 4: Create a Directory for PalWorld Server

Organize your VPS by creating a dedicated directory for PalWorld:

mkdir ~/palworld_server && cd ~/palworld_server

Step 5: Download PalWorld Server Files

Using SteamCMD, download the PalWorld server files:

  1. Log in anonymously:
    ~/steamcmd/steamcmd.sh +login anonymous
  2. Install PalWorld server files (2394010 is PalWorld’s dedicated server app ID):
    force_install_dir ~/palworld_server app_update 2394010 validate

    Check the official PalWorld documentation or SteamCMD App Database for the correct app ID.
    Steamcmd app database

  3. Exit SteamCMD:
    quit

Step 6: Configure the PalWorld Server

  1. Locate the configuration files:
    The configuration files are usually found in:<

    ~/palworld_server/Config
  2. Edit server settings:
    Open the server configuration file with a text editor like Nano:

    nano ~/palworld_server/Config/server_settings.json
    

    Modify the settings, such as:

    • Server name
    • Max players
    • Password (if required)
    • Port number
  3. Save and exit: Press Ctrl + O to save changes, and Ctrl + X to exit Nano.

Step 7: Open Required Ports on Firewall

Allow traffic for the PalWorld server by configuring the firewall:

  1. Install UFW (if not already installed):
    sudo apt install ufw
  2. Allow the required ports:
    Replace with the port specified in the configuration:

    sudo ufw allow /tcp sudo ufw allow /udp
  3. Enable UFW:
    sudo ufw enable
  4. Check status:
    sudo ufw status

Step 8: Start the PalWorld Server

Use screen to run the server in the background:

  1. Start a new screen session:
    screen -S palworld
  2. Launch the server:
    Navigate to the server directory and start the executable:

    cd ~/palworld_server ./PalWorldServer
  3. Detach the screen session: Press Ctrl + A, then D.
    Your server is now running in the background. To reattach the session:

    screen -r palworld

Step 9: Test the Server

  1. Launch PalWorld on your client machine.
  2. Navigate to the multiplayer menu and search for your server by name.
  3. Connect using the server IP and port.

Optional: Automate Server Startup on Reboot

  1. Edit crontab:
    crontab -e
  2. Add the following line to start the server automatically:
    @reboot screen -dmS palworld bash -c 'cd ~/palworld_server && ./PalWorldServer'
  3. Save and exit: The server will now start automatically on system reboot.

Troubleshooting

  • Server not appearing in the list:
  • Double-check the server configuration file.
  • Ensure the correct ports are open and accessible.
  • Permissions error:
  • Ensure the server files have execute permissions:
    bash chmod +x ~/palworld_server/PalWorldServer
  • SteamCMD errors:
  • Retry running SteamCMD and validate the files:
    bash ~/steamcmd/steamcmd.sh +login anonymous +app_update APP_ID validate +quit

Conclusion

You now know how to install PalWorld on Ubuntu VPS. By following this guide, you should have a fully operational PalWorld server running on your Ubuntu VPS. If you encounter issues, consult the PalWorld or SteamCMD documentation for additional support.

Share this:
Avatar of editorial staff

Editorial Staff

Rad Web Hosting is a leading provider of web hosting, Cloud VPS, and Dedicated Servers in Dallas, TX.
lg