Manual panel install

In most cases, it is not recommended to use this method! Use this method only if you cannot install using the recommended methods:

Install GameAP 3.x from GitHub. These are detailed instructions for installing GameAP from GitHub, installing required dependencies and building a styles.


  1. This tutorial actual for Debian/Ubuntu. Howewer, for Ubuntu/CentOS and other distributions it can works with some changes.
  2. This tutorial not actual for a Shared hostings.


  • OS: Debian 9
  • PHP version: >= 7.3
  • Web server: Nginx
  • Database: MySQL
  • CLI Utilities: git, composer

Install required packages

These packages will be needed in the future:

sudo apt-get install -y wget software-properties-common ca-certificates apt-transport-https gnupg curl lsb-release

Install required PHP extensions:

sudo apt-get -y install \
    php7.3-common \
    php7.3-cli \
    php7.3-fpm \
    php7.3-pdo \
    php7.3-mysql \
    php7.3-redis \
    php7.3-curl \
    php7.3-bz2 \
    php7.3-zip \
    php7.3-xml \
    php7.3-mbstring \
    php7.3-bcmath \
    php7.3-gmp \

Install composer:

curl -sS | sudo php -- --install-dir=/usr/local/bin --filename=composer

If after the execution of commands you get the following errors:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package php7.3-common
E: Couldn't find any package by glob 'php7.3-common'
E: Couldn't find any package by regex 'php7.3-common'
E: Unable to locate package php7.3-cli
E: Couldn't find any package by glob 'php7.3-cli'
E: Couldn't find any package by regex 'php7.3-cli'

For Debian, run the following command:

wget -O - | sudo apt-key add -
echo "deb $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt-get update

Install database and web server. You can use MySQL Nginx:

sudo apt-get install mysql-server nginx

Please note that for testing the panel is not required to use MySQL and Nginx, you can use SQLite and the PHP: Built-in web server. Read more about this in Simple Environment

Setup GameAP

Create project directory, example /var/www/gameap. Clone GameAP from Git:

git clone /var/www/gameap

Go to GameAP home directory:

cd /var/www/gameap

The panel configuration is in the .env file. Create your configuration file from the example:

cp .env.example .env

Install required PHP dependencies:

composer install --no-dev --optimize-autoloader

Create database, edit .env, set host, login, password and database name

Generate an encryption key:

php artisan key:generate --force

After that execute command:

php artisan migrate --seed

This command will create the necessary tables in the database, add the administrator and add some data for example. Go to the URL page with the control panel.

Administrator default data: Login: admin Password: fpwPOuZD

Do not forget to change your password!

Build a styles

Install NPM:

curl -sL | bash -
apt-get install -y nodejs

Install required npm packages:

npm install

Build a styles:

npm run prod

Setup complete. All required dependencies are installed, all styles builded. You can use GameAP.

Do not forget that on the dedicated server on which you plan to host game servers you need to install and configure GameAP Daemon, you can read about it here - [Install GameAP Daemon] (/en/gameap_daemon.html).


Add cron schedule

* * * * * cd /patch/to/gameap && php artisan schedule:run >> /dev/null 2>&1

Set your path instead /patch/to/gameap.

Simple Environment

If you need a panel to test something, you can use SQLite and the PHP Build-in web server. It is not necessary to install the MySQL database (or any other) and the Nginx web server (or Apache).

Create empty database file:

touch /var/www/gameap/database.sqlite

Open .env and edit the options:


Migrate database:

php artisan migrate --seed

Run PHP Build-in Web server:

cd public
php -S localhost:8080

Go to URL http://localhost:8080 Enter the administrator username and password.