Procédure d'installation : Différence entre versions
(New page: Retour vers l'accueil == Généralités == Il y a 3 composants prinicipaux à installer afin d'accéder à l'ensemble des fonctionnalités du systèpe SEOW : '''1. Le systè...) |
|||
Ligne 21 : | Ligne 21 : | ||
C'est la base de données qui stocke toutes les informations nécessaires au déroullement des campagnes de SEOW. | C'est la base de données qui stocke toutes les informations nécessaires au déroullement des campagnes de SEOW. | ||
+ | |||
+ | |||
+ | == Procédures d'installation == | ||
+ | |||
+ | '''Etat 1. Téléchargez et installez les logiciels nécessaires.''' | ||
+ | |||
+ | Vous '''devez''' le faire AVANT de commencer l'installation des composants de SEOW. Assurez-vous que votre server WEB et que PHP fonctionnent correctement. Si vous souhaitez utiliser MySQL, assurez-vous que la configuration suivante se trouvant dans le fichier '''my.ini''' de MySQL soit paramètré et que celle-ci fonctionne correctement : | ||
+ | |||
+ | \# Local extensions for SEOW | ||
+ | |||
+ | lower_case_table_names=2 | ||
+ | |||
+ | \#Use old password encryption method (needed for 4.0 and older clients). | ||
+ | |||
+ | old-passwords | ||
+ | |||
+ | \#extend query chunk size to something sensible | ||
+ | |||
+ | max_allowed_packet=64M | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | '''Etape 2. Téléchargez les fichiers de SEOW.''' | ||
+ | |||
+ | Téléchargez les fichiers d'installation de Scorched Earth disponibles à la page - ''Latest Scorched Earth files'' - [http://seow.sourceforge.net/ SEOW Web Site]. | ||
+ | |||
+ | Téléchargez sur votre poste la dernière DB, le dernier DCS et MP - Ce sont 3 fichiers séparés. Il faut donc - '''SEDB''' (La base de données), '''SEDCS''' (l'interface de gestion des campagnes) et '''SEMP''' (le palnificateur de mission). | ||
+ | |||
+ | |||
+ | Pour faciliter la tâche, vous pouvez aussi télécharger ce fichier [http://seowwiki.swil.fr/index.php?title=B16Enk%27s_all-in-one_installer_for_SEOW B16Enk's wonderful all-in-one installer]. Ce package installera automatiquement l'ensemble des composants de SEOW (y compris MySQL, Apache et PHP) et tout cela en un seul click ! | ||
+ | |||
+ | ---- | ||
+ | '''Etape 3. Installez le DCS sur votre propre PC.''' | ||
+ | |||
+ | You will have downloaded a file similar to ''SEDCS-v3.1.1_installer.exe''. This is an executable installation program. Just run this program and follow the instructions presented on screen. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | '''Step 4. Install the database.''' | ||
+ | |||
+ | For ''MSAccess'', simply place the .mbd file somewhere convenient on your hard drive, preferably in a folder that has no special restrictions on read/write permissions. | ||
+ | |||
+ | For ''MySQL'' you will have downloaded a file similar to ''SEDB31-MySQL-Unix.zip''. This comes in two versions: (1) a Reference version which contains ALL information required to run campaigns in ALL supported maps, and (2) a Split version. The Reference database contains nearly 500,000 records and is not recommended for production use. The Split version is a compressed zip containing one or more ''xxxxxx''.sql files, which can be used to build a map-specific database. | ||
+ | |||
+ | These are SQL Dump files that contain table and field names and data type information to build the SEOW Database tables. You will need a software package that can read SQL Dump files and create a table from them onto a Web Server, for example DBTools Manager or Navicat. | ||
+ | |||
+ | The latest versions of the database installation contain a split version, where you only have to install the general database tables, plus a single database table for the campaign map you want to use. This saves storage space on the Web Server if you do not intend to use all the other maps at this time. We will assume that you are installing from the "Split" database files with a view to creating a database for the Kursk map. | ||
+ | |||
+ | - First, you need to create a new database on your MysQL server, using any name you wish, e.g. ''SEDB31_Kursk_Lite''. | ||
+ | |||
+ | - Next, you must run the StructDB.sql and GenDATA.sql files on your ''SEDB31_Kursk_Lite'' database. The StructDB file creates all the general tables that are required to run SEOW and GenDATA adds all the data to these tables. | ||
+ | |||
+ | - Last, you run the MAP_xxx.sql files with the map that you want to use, e.g. ''MAP_Kursk.sql''. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | '''Step 5. Install the Mission Planner on a Web Server.''' | ||
+ | |||
+ | You will have downloaded a file similar to ''MP4-v4.360.zip''. This is a compressed zip file containing the PHP files and directories required to load to your Web Server for the installation of the Mission Planner. | ||
+ | |||
+ | - First, unzip the file to a directory in the document root of the your web server, it will create the necessary sub directories and install the PHP files in the correct directories. | ||
+ | |||
+ | '''NOTE''' : The default path for Icons used in the MP is "'''/SEOW/MP4/uniticons/'''", if you plan on installing the Mission Planner in a directory other than this, you need to change line 15 in the MP-Configuration file that reads : $IconLocation="/SEOW/MP4/uniticons/";, to the location you are using. | ||
+ | |||
+ | If you start the MP and can't see any of the Icons, this is usually the problem. Therefore, the easiest way to install the MP is to use the path "/SEOW/MP4" on your Web Server. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | '''Step 6. Configuring the MP''' | ||
+ | |||
+ | You now need to add the Host Address, Host Name, Login Name and Password, so that the Mission Planner can automatically access the SEOW database. | ||
+ | |||
+ | |||
+ | This is done by typing in the following URL into your web browser http://''localhost''/SEOW/MP4/Scripts/MP-Admin.php, assuming that you used the default path and substituting your Web Server address for the ''localhost''. Make sure that your MP4/Scripts/MP-Connections.php file is writeable. You can edit this file directly if you wish (using a text editor), but MP-Admin.php actually manages the database connections details directly. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | '''Installation Complete.''' | ||
+ | |||
+ | |||
+ | --[[User:4Shades|IV/JG7_4Shades]] 15:37, 27 September 2007 (CEST) - Traduction C6_Katana (janvier 2008) |
Version du 18 janvier 2008 à 04:16
Généralités
Il y a 3 composants prinicipaux à installer afin d'accéder à l'ensemble des fonctionnalités du systèpe SEOW :
1. Le système de campagne dynamique (DCS) - Installé sur un PC Windows.
Le DCS est une application Windows 32 (Visual Basic .NET) utilisée comme interface de gestion de la base de donnée (DB).
2. Le planificateur de mission (MP) - Installé sur un serveur WEB.
Le palnification est une application WEB écrit en PHP et doit donc être installé sur un serveur WEB supportant ce langage. Le MP a été développé spécifiquement for le navigataeur IE6 (ou suivant), mais il fonctionne sans problème sous Mozilla Firefox et l'add-on "IETab".
Le MP est un outil de plannification de mission à disposition des commandants désignés pour la campagne en cours. Le MP regroupe toutes les fonctionnalités nécessaires pour planifier les missions, les reconnaissances, les renforts, l'approvisionnement, etc... Le MP n'est actuellement disponible qu'en PHP et ne peut fonctionner qu'avec la base de données propriétaire (la SEDB). Une librairie ADO libre de droit est utilisée pour gérer la connection entre les 2 composants.
3. La base de données (SEDB).
Deux types de bases de données sont utilisables par SEOX. Une base MySQL ou une base Microsoft Access (dans ce dernier cas, exclusivement utilisable sur un PC Windows).
C'est la base de données qui stocke toutes les informations nécessaires au déroullement des campagnes de SEOW.
Procédures d'installation
Etat 1. Téléchargez et installez les logiciels nécessaires.
Vous devez le faire AVANT de commencer l'installation des composants de SEOW. Assurez-vous que votre server WEB et que PHP fonctionnent correctement. Si vous souhaitez utiliser MySQL, assurez-vous que la configuration suivante se trouvant dans le fichier my.ini de MySQL soit paramètré et que celle-ci fonctionne correctement :
\# Local extensions for SEOW
lower_case_table_names=2
\#Use old password encryption method (needed for 4.0 and older clients).
old-passwords
\#extend query chunk size to something sensible
max_allowed_packet=64M
Etape 2. Téléchargez les fichiers de SEOW.
Téléchargez les fichiers d'installation de Scorched Earth disponibles à la page - Latest Scorched Earth files - SEOW Web Site.
Téléchargez sur votre poste la dernière DB, le dernier DCS et MP - Ce sont 3 fichiers séparés. Il faut donc - SEDB (La base de données), SEDCS (l'interface de gestion des campagnes) et SEMP (le palnificateur de mission).
Pour faciliter la tâche, vous pouvez aussi télécharger ce fichier B16Enk's wonderful all-in-one installer. Ce package installera automatiquement l'ensemble des composants de SEOW (y compris MySQL, Apache et PHP) et tout cela en un seul click !
Etape 3. Installez le DCS sur votre propre PC.
You will have downloaded a file similar to SEDCS-v3.1.1_installer.exe. This is an executable installation program. Just run this program and follow the instructions presented on screen.
Step 4. Install the database.
For MSAccess, simply place the .mbd file somewhere convenient on your hard drive, preferably in a folder that has no special restrictions on read/write permissions.
For MySQL you will have downloaded a file similar to SEDB31-MySQL-Unix.zip. This comes in two versions: (1) a Reference version which contains ALL information required to run campaigns in ALL supported maps, and (2) a Split version. The Reference database contains nearly 500,000 records and is not recommended for production use. The Split version is a compressed zip containing one or more xxxxxx.sql files, which can be used to build a map-specific database.
These are SQL Dump files that contain table and field names and data type information to build the SEOW Database tables. You will need a software package that can read SQL Dump files and create a table from them onto a Web Server, for example DBTools Manager or Navicat.
The latest versions of the database installation contain a split version, where you only have to install the general database tables, plus a single database table for the campaign map you want to use. This saves storage space on the Web Server if you do not intend to use all the other maps at this time. We will assume that you are installing from the "Split" database files with a view to creating a database for the Kursk map.
- First, you need to create a new database on your MysQL server, using any name you wish, e.g. SEDB31_Kursk_Lite.
- Next, you must run the StructDB.sql and GenDATA.sql files on your SEDB31_Kursk_Lite database. The StructDB file creates all the general tables that are required to run SEOW and GenDATA adds all the data to these tables.
- Last, you run the MAP_xxx.sql files with the map that you want to use, e.g. MAP_Kursk.sql.
Step 5. Install the Mission Planner on a Web Server.
You will have downloaded a file similar to MP4-v4.360.zip. This is a compressed zip file containing the PHP files and directories required to load to your Web Server for the installation of the Mission Planner.
- First, unzip the file to a directory in the document root of the your web server, it will create the necessary sub directories and install the PHP files in the correct directories.
NOTE : The default path for Icons used in the MP is "/SEOW/MP4/uniticons/", if you plan on installing the Mission Planner in a directory other than this, you need to change line 15 in the MP-Configuration file that reads : $IconLocation="/SEOW/MP4/uniticons/";, to the location you are using.
If you start the MP and can't see any of the Icons, this is usually the problem. Therefore, the easiest way to install the MP is to use the path "/SEOW/MP4" on your Web Server.
Step 6. Configuring the MP
You now need to add the Host Address, Host Name, Login Name and Password, so that the Mission Planner can automatically access the SEOW database.
This is done by typing in the following URL into your web browser http://localhost/SEOW/MP4/Scripts/MP-Admin.php, assuming that you used the default path and substituting your Web Server address for the localhost. Make sure that your MP4/Scripts/MP-Connections.php file is writeable. You can edit this file directly if you wish (using a text editor), but MP-Admin.php actually manages the database connections details directly.
Installation Complete.
--IV/JG7_4Shades 15:37, 27 September 2007 (CEST) - Traduction C6_Katana (janvier 2008)