title | layout | lang | category | order |
---|---|---|---|---|
Install on Linux |
default |
en |
Install GameAP |
100 |
- This will become a table of contents (this text will be scraped). {:toc}
Installation on Linux is performed with a single command:
bash <(curl -s https://gameap.com/install.sh)
During the installation process, you will be prompted to enter some information.
This is the path where the main panel files will be stored.
The default is /var/www/gameap
.
Specify the domain or IP address at which the panel will be accessible.
In the case of an IP address, it must be an address assigned to the network interface on the VDS. If your network uses NAT, do not specify the external IP, but rather the internal one, and then configure port forwarding.
Any domain can be specified, but do not forget to configure DNS.
Examples of correct values:
- 10.182.104.8
- 10.182.104.8:2080
- example.com
- http://example.com
The HTTP server that will accept and process incoming requests. Nginx is recommended for use.
The database where data will be stored: users, information about servers, etc. You can use MySQL and SQLite.
MySQL is recommended in most cases. If the load on your server is expected to be low, and you do not plan to use more than 10 game servers, you can use SQLite.
Some distributions may have MariaDB installed.
At the end of the installation, the access details for the panel will be displayed. Do not forget to save this information to access the panel.
You can install a version that is under development by specifying
additional flags --github --branch=develop
during installation.
The installation time will significantly increase in this case,
as it will be performed from the sources.
bash <(curl -s https://gameap.com/install.sh) \
--github \
--branch=develop
This type of installation allows you to install the panel without
entering any data during the process.
You can add the --path
, --web-server
, --database
flags,
and in this case, the installer will not require any additional data from you.
bash <(curl -s https://gameap.com/install.sh) \
--path=/var/www/gameap \
--web-server=nginx \
--database=mysql \
--host=http://127.0.0.1 \
--port=80
To install the GameAP Daemon in addition to the panel itself,
add the --with-daemon
flag.
This method is recommended if you plan to host both the panel and game servers on the same VDS.
bash <(curl -s https://gameap.com/install.sh) --with-daemon