Download the PHP package maniaplanet/dedicated-manager without Composer
On this page you can find all versions of the php package maniaplanet/dedicated-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maniaplanet/dedicated-manager
More information about maniaplanet/dedicated-manager
Files in maniaplanet/dedicated-manager
Package dedicated-manager
Short Description ManiaPlanet dedicated-manager
License LGPL-3.0
Homepage https://github.com/maniaplanet/dedicated-manager
Informations about the package dedicated-manager
dedicated-manager
The dedicated manager is a maniaplanet dedicated server web manager. This tools allows you to start, configure and manage easily your dedicated server.
Installation
- Download the archive here: https://github.com/maniaplanet/dedicated-manager/releases . It contains all you need to setup the dedicated manager
- Unzip it wherever you want on your server
- Connect to your server in command line
- Run
$ php setup.php
this script will helped you to configure the dedicated manager -
Create the alias manager on your web server. This alias must linked to the www folder in DedicatedManager
- Create the following file:
/etc/apache2/sites-available/manager.conf
- Copy/paste the following apache configuration in this file:
-
for Apache 2.4
-
for Apache 2.2
- Enable the alias configuration
$ sudo a2ensite manager
- Restart Apache
$ sudo service apache2 restart
- Create the following file:
- Use
$ chmod o+w www/media/images/thumbnails
to grant write access to apache in the thumbnail folder - The dedicated manager is now configured go to http://YourDomain/manager to access it
Developers
In order have a working version, you need to have Composer.
- Clone our repository:
$ git clone [email protected]:maniaplanet/dedicated-manager.git
- Go in
dedicated-manager
directory:$ cd dedicated-manager
- Run composer to update the dependencies:
$ composer install
- Use your SQL Manager (phpMyAdmin, HeidiSQL, etc.) to import Manager.sql, this will create the database and its tables
- Create a MySQL user and grant SELECT, INSERT, UPDATE, DELETE to Manager database
- Create an Apache alias, or a symbolic link to www folder
- Give write access to thumbnails folder in www/media/images/thumbnails
- Create your app.ini file
- Edit the DedicatedManager's config file (DedicatedManager/config/app.ini) and give the correct values to the following parameters:
Secure access with OAuth2
If you want to secured access to your Dedicated Manager page, you can enable OAuth2 authentication. With this system only users with ManiaPlanet account allowed in your app.ini file.
- Create a web service account on your player page (https://player.maniaplanet.com/webservices/)
- Create an application linked to your web service account
- Edite your app.ini file and set the following values:
All versions of dedicated-manager with dependencies
maniaplanet/manialib Version ~3.1
maniaplanet/dedicated-server-api Version ~4.0
maniaplanet/maniaplanet-ws-sdk Version ~5.0