tecnica:gps_cartografia_gis:mapserver_fgs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tecnica:gps_cartografia_gis:mapserver_fgs [2009/06/22 11:17] – niccolo | tecnica:gps_cartografia_gis:mapserver_fgs [2009/10/20 10:51] – niccolo | ||
---|---|---|---|
Line 22: | Line 22: | ||
===== Installazione ===== | ===== Installazione ===== | ||
- | Si scarica il pacchetto **fgs-mapserver_extended**, | + | Si scarica il pacchetto **fgs-mapserver_extended**, |
+ | |||
+ | L' | ||
+ | |||
+ | Supponiamo di creare un utente ad-hoc di nome **fgs**, se vogliamo installare tutto il software nella directory **''/ | ||
+ | |||
+ | Per evitare conflitti con il software già installato è necessario utilizzare **porte non standard** per alcuni servizi (Apache, PostgreSQL). | ||
< | < | ||
Line 30: | Line 36: | ||
+ Port selected : ' | + Port selected : ' | ||
* You can start apache with : fgs start apache | * You can start apache with : fgs start apache | ||
+ | </ | ||
- | * *** PostgreSQL installation *** | + | Per utilizzare il software installato sotto **''/ |
- | + Correct files in share/ directory | + | |
- | * Selecting TCP port... Example: 5433, 5433, etc... | + | < |
- | ? What TCP port do you want to use [5432] : 5433 | + | . / |
- | + Creating PostgreSQL's database directory in '/ | + | fgs start apache |
- | initdb: cannot be run as root | + | fgs start pgsql |
- | Please log in (using, e.g., " | + | |
- | own the server process. | + | |
- | * To start PostgreSQL, use : fgs start pgsql | + | |
</ | </ | ||
- | Come si vede c' | + | Dopo aver eseguito '' |
+ | < | ||
+ | echo ". / | ||
+ | </ | ||
+ | |||
+ | Per avviare tutti i servizi al boot di sistema si modifica '' | ||
+ | |||
+ | < | ||
+ | su fgs -c "( . / | ||
+ | </ | ||
+ | |||
+ | FIXME Sarebbe opportuno esegure '' | ||
+ | |||
+ | ==== Disabilitare un servizio installato ==== | ||
+ | |||
+ | Per disabilitare un servizio senza disinstallarlo - ad esempio | ||
+ | |||
+ | ===== Installazione moduli aggiuntivi ===== | ||
+ | |||
+ | Il pacchetto FGS comprende numerosi moduli aggiuntivi non installati dal pacchetto principale. L' | ||
+ | |||
+ | Come esempio vogliamo installare il plugin **Client Oracle (OCI)** della libreria GDAL. Dobbiamo specificare il numero di versione, altrimenti rischiamo di installare il plugin per Oracle 11 invece che per la versione 10: | ||
+ | |||
+ | < | ||
+ | fgs install gdal-base-1.6.1-oci: | ||
+ | </ | ||
+ | |||
+ | ===== Modulo Apache ===== | ||
+ | |||
+ | La configurazione FGS si trova in **''/ | ||
+ | |||
+ | < | ||
+ | PORT=8080 | ||
+ | USER=' | ||
+ | GROUP=' | ||
+ | </ | ||
+ | |||
+ | I parametri **'' | ||
+ | |||
+ | Il file di configurazione usato è **''/ | ||
+ | < | ||
+ | ServerRoot "/ | ||
+ | Listen 8080 | ||
+ | User apache | ||
+ | Group apache | ||
+ | DocumentRoot "/ | ||
+ | ErrorLog " | ||
+ | CustomLog " | ||
+ | </ | ||
+ | La configurazione del PHP è in **''/ |
tecnica/gps_cartografia_gis/mapserver_fgs.txt · Last modified: 2009/10/20 11:28 by niccolo