== Dependencies== The GSManager needs the following things to work: [list][*]A supported gameserver, which should be managed. [*]A root/v-server or any other computer, on which the program can run. [/list]PHP is also needed. The installation and configuration of PHP is described in the following section. == PHP == PHP 5.4.0 or newer is required. Older versions cannot be used. === PHP for Windows === [list][*]Download the newest version from [url='http://windows.php.net/download/']this site[/url] (first version as a zip file). [*]Extract the zip file to any folder, e.g. [tt]C:\php\[/tt] [*]In this folder rename the file [tt]php.ini-production[/tt] to [tt]php.ini[/tt] and edit it with a text editor. On doing so, uncomment the following lines (remove the semicolon from the beginning of the line): [list][*]display_errors [*]extension_dir = "ext" [*]extension=php_curl.dll [*]extension=php_mbstring.dll [*]extension=php_pdo_mysql.dll [*]extension=php_pdo_sqlite.dll [*]extension=php_sockets.dll [/list][/list]Note: The currently available experimental 64-bit versions of PHP are not supported and do NOT work with GSManager so far! === PHP for Linux === For debian based distributions you can intall PHP with the following command (as root): [tt]apt-get install php5-cli php5-mysql php5-sqlite php5-curl php5-json[/tt] The counterpart for openSuSE: [tt]yast -i php5 php5-cli php5-mysql php5-sqlite php5-curl php5-json[/tt] == GSManager == [list][*]Download the GSManager from [url='https://www.gsmanager.de/filebase/file-list/1-produkte/']this website[/url]. [*]Extract the zip file to any location, e.g. [tt]C:\GSManager[/tt] [*]Open the file [tt]gsm.cfg[/tt] with a text editor and adjust as follows: [list][*][tt]NAME[/tt]: This setting only concerns linux installations and is used to distinguish different instances from each other - the name should ne unique then. [*][tt]GAME[/tt]: One of the following: [tt]cod2[/tt], [tt]cod4[/tt], [tt]cod5[/tt], [tt]cod6[/tt], [tt]bf4[/tt], [tt]bfhl[/tt] [*][tt]CFGDIR[/tt]: Defines the path to the config directory of the GSManager, usually this need not to be changed. [*][tt]LOGDIR[/tt]: Defines the path to the log directory of the GSManager, usually this need not to be changed. [*][tt]PHP[/tt]: Defines the path to the PHP executable including the executable file itself. For example [tt]C:\php\php.exe[/tt] or [tt]/usr/bin/php[/tt] [/list][/list]At this point the GSManager is installed - but not configured yet. For this read the General Configuration. To start the GSManager on windows just run the [tt]gsm.bat[/tt]. On linux the startscript must be set as an executable with [tt]chmod u+x gsm.sh[/tt] and then can be run with: [tt]./gsm.sh start[/tt]
Sie betrachten gerade eine ältere Version des Eintrags. Klicken Sie hier, um zur aktuellen Version zu gelangen.