Installazione di OcsInventory-NG su MacOSX
Installazione di OcsInventory-NG su MacOSX
Installazione di OcsInventory-NG su MacOSX
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
cd /usr/local/mysql/lib<br />
<strong>su</strong>do mk<strong>di</strong>r mysql<br />
Se viene richiesta la password,<strong>di</strong>gitarla e premere invio<br />
<strong>su</strong>do cp ../* .<br />
Dobbiamo effettuare questa operazione per un bug che sbaglia i percorsi delle librerie...come <strong>di</strong>re, lo freghiamo <strong>di</strong> brutto.<br />
Cosa abbiamo fatto?<br />
Abbiamo installato una versione aggiornata <strong>di</strong> Mysql, e abbiamo copiato le librerie <strong>di</strong> mysql, in un'altra <strong>di</strong>rectory perchè un modulo <strong>di</strong><br />
perl ha un bug nella gestione dei percorsi.<br />
Evviva, potete andare a cenare. Oppure continuare.<br />
Fase 4: Download <strong>di</strong> Ocsinventory-ng<br />
A sto punto ci scarichiamo il prodotto OCS, ovviamente la versione per linux<br />
http://prdownloads.sourceforge.net/ocsinventory/OCS<strong>NG</strong>_LINUX_SERVER_1.01.tar.gz?download<br />
Il pacchetto è in formato tar.gz<br />
Decomprimiamo il pacchetto <strong>di</strong> OCS, anche <strong>su</strong>lla scrivania e a questo punto dobbiamo mo<strong>di</strong>ficare lo script setup.sh<br />
Per chi ha un po' <strong>di</strong> conoscenza <strong>di</strong> bash, questo è uno script abbastanza semplice, an<strong>di</strong>amo a vedere.<br />
Fase 5: Correzione <strong>di</strong> setup.sh<br />
Lo script setup.sh si preoccupa <strong>di</strong> andare a verificare se il sistema è in grado <strong>di</strong> <strong>su</strong>pportare il prodotto, ed effettua alcune mo<strong>di</strong>fiche ai<br />
file <strong>di</strong> apache, inoltre installa l'administration console e il communication server.<br />
Lo mo<strong>di</strong>fichiamo con un e<strong>di</strong>tor <strong>di</strong> testo un po' avanzato, almeno con la sintassi colorata: io propendo per smultron, che è pure<br />
opensource ,oppure textwrangler, oppure pico, oppure vi,o quello che volete.<br />
An<strong>di</strong>amo a mo<strong>di</strong>ficare le linee 91 e 92 dove viene specificato mysql.