[!NOTE] If you are using the SA:MP server and didn't convert to open.mp yet, please stop here and read this guide!
[!NOTE] If you are using the FCNPC plugin, please stop for now because this plugin does not work for open.mp currently.
You can help with a donation here on the Open Collective!
Welcome! This repository contains a comprehensive guide on installing an open.mp server on Ubuntu or another Debian based Linux.
Whether you're a beginner or just looking to refresh your knowledge, this guide should have something for you.
Before starting, you should have:
[!NOTE] If you install WinSCP, the installer will prompt you to install PuTTY!
It's up to you if you want to install it or not, but you can always download it later!
[!NOTE] Seek online guides or your hosting provider's documentation if you're unsure how to connect to your Linux Instance.
Updating your Linux Instance:
sudo apt update
sudo apt upgrade
Creating a secure service account:
sudo useradd -M svc-omp-server
Locking the service sccount:
sudo usermod -L svc-omp-server
Creating a directory for the server files:
sudo mkdir /opt/omp-server
Setting permissions for the directory:
sudo chgrp svc-omp-server /opt/omp-server
sudo chmod g+s /opt/omp-server
sudo chmod o-rwx /opt/omp-server
Let's navigate to the server directory:
cd /opt/omp-server
Downloading the open.mp server files:
sudo -u svc-omp-server wget https://github.com/openmultiplayer/open.mp/releases/download/v1.2.0.2670/open.mp-linux-x86.tar.gz
[!NOTE] You should check for the latest release at the open.mp GitHub Releases page: https://github.com/openmultiplayer/open.mp/releases.
Extracting the server files:
sudo -u svc-omp-server tar -xzf open.mp-linux-x86.tar.gz
Installing the required x86 libraries:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386
Making the server executable:
cd /opt/omp-server/Server/
sudo chmod +x omp-server
Starting the server:
nohup ./omp-server &
Stopping the server:
sudo kill <PID>
Finding the Process ID (if forgotten):
top
For any issues related to the server or this guide, please join the official open.mp Discord server and post your questions in the #openmp-support channel.
If you notice any inaccuracies or have suggestions regarding this guide, feel free to reach out to me @itsneufox on the official open.mp Discord server. I appreciate your feedback!