Skip to content
On this page

Installation

Enable listening port on firewalld

#DEBIAM/UBUNTU:
apt install firewalld

#CENTOS:
yum install firewalld

#enable and allow ports

systemctl enable firewalld
systemctl start firewalld

firewall-cmd --permanent --add-port=1-65500/tcp
firewall-cmd --permanent --add-port=1-65500/udp
firewall-cmd --reload

Config directory

bash
cd /etc/XMPlus

Standard Installation

Onclick Install XMPlus

bash
bash <(curl -Ls https://raw.githubusercontent.com/XMPlusDev/XMPlus/scripts/install.sh)

Docker Installation

Centos

bash
yum install -y yum-utils
yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo
	
yum install docker-ce docker-ce-cli containerd.io -y
systemctl start docker
systemctl enable docker

Debian / Ubuntu

bash
sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common -y
	
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
   
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
systemctl start docker
systemctl enable docker

Run docker xmplus

bash
docker pull ghcr.io/xmplusdev/xmplus:latest && docker run --restart=always --name xmplus -d -v /etc/XMPlus/config.yml:/etc/XMPlus/config.yml --network=host ghcr.io/xmplusdev/xmplus:latest

Docker-compose Installation

bash
curl -fsSL https://get.docker.com | bash -s docker
curl -L "https://github.com/docker/compose/releases/download/1.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

chkconfig docker on
service docker start
systemctl enable docker

Download files

mkdir /etc/XMPlus -p
cd /etc/XMPlus
wget --no-check-certificate  https://raw.githubusercontent.com/XMPlusDev/XMPlus/scripts/docker.zip \
unzip docker \
chmod -R 777 /etc/XMPlus \
rm -rf docker.zip

Configure your config.yml /etc/XMPlus/config.yml

Docker-compose file /etc/XMPlus/docker-compose.yml

bash
#run
docker-compose up -d

#stop
docker-compose down

#update
docker-compose pull

#logs
docker-compose logs