ãããããããã¯GLPIã«é¢ããäžé£ã®èšäºã®æåã®ãã®ã§ããããããã¯ãå¿ èŠã§ããããšãå€æããå Žåã¯ããã®ãµã€ã¯ã«ãåãã§ç¶ããŸãã
GLPIã«æåã«åºäŒã£ãã®ã¯ãã·ã¹ãã 管çã®åéã§ä»äºãå§ããã°ããã§ãã ãã®ã·ã¹ãã ã¯ãç§ã®ååãšåä»»è ããç¶æ¿ãããŸããã ãã®ã·ã¹ãã ãçµç¹ã§å®è¡ããå¯äžã®æ©èœã¯ãäŒæ¥ã§äœ¿çšãããŠããã³ã³ãã¥ãŒã¿ãŒã«é¢ããæ å ±ã®éçãªä¿åã§ããã ããã ãã§ã
ãããã®ç®çã®ããã«ãGLPIã³ã³ãã¬ãã¯ã¹ãé 眮ãããããã¥ã¢ã«ã«åºã¥ããŠã2011 Ubuntu Linuxã®æåŸã®å®å®ãããµãŒããŒãã€ã³ã¹ããŒã«ãããŸãããããã«ã¯ãGLPIããŒã¿ããŒã¹ïŒããŒã¿ããŒã¹ïŒãåããMYSQLãµãŒããŒãWebãµãŒããŒãå«ãŸããŸãPHP5ããã³GLPIèªäœãåããApacheã
ãããã£ãŠãã€ã³ã¹ããŒã«ãé²ããåã«ãå°ãªããšã3ã€ã®è³ªåãããå¿ èŠããããŸãã
1. GLPIã¯çµç¹ã«ã©ã®ãããªã¡ãªããããããããŸããïŒ
2.ãã®ã·ã¹ãã ãã©ã®ãããªå®¹éã§äœ¿çšãããã§ããïŒ
3.ãã®ã·ã¹ãã ã«åè¡ããŠãµããŒãã§ããŸããïŒ
äžèšã®å Žåããããã®3ã€ã®è³ªåã«å¯Ÿããåçã¯ãããŸããã§ããã
GLPIã¯ããã€ãŠã®ãç¡æã®ã³ã³ãã¥ãŒã¿ãŒæ©åšã®ããªãŒããããŒãžã£ãŒãã§ã¯ãªããITã€ã³ãã©ã¹ãã©ã¯ãã£ã®ç®¡çããŠãŒã¶ãŒã®ãµããŒããäºç®ã®èšç»ãéšéã®ç®¡çãªã©ãæ¯æŽããããŒãã¹ã¿ãŒã§ãã GLPIæ©èœã¯ã¢ããªã³ãå€§å¹ ã«æ¡åŒµããŸããã¢ããªã³ã¯äœ¿ãããããè±å¯ãªæ©èœãåããŠããŸãã
GLPIãäŒæ¥ã«å±éãããšããç§ã¯åžžã«äžèšã®è³ªåãèªåããGLPIå±éã®å žåçãªç¶æ³ãäœãäžããããã§ãã
1ã
-GLPIã¯ãªãã£ã¹æ©åšã®åšåº«ç®¡çãæ¯æŽããå€ãã³ã³ãã¥ãŒã¿ãŒæ©åšã®æ€åºãæŽçã亀æãå¯èœã«ããŸããããã¯çç£æ§ã®åäžãæå³ããŸãã
-GLPIã䜿çšãããšãæè¡ãµããŒãã®ããã«ã¢ããªã±ãŒã·ã§ã³ã®ã¹ããŒã¿ã¹ãäœç³»åãã°ã«ãŒãåãåªå é äœä»ãã远跡ã§ãããããéèŠãã€åªå é äœã®é«ãã¢ããªã±ãŒã·ã§ã³ã®å®è£ ãé«éåãããåŽåçç£æ§ãåäžããŸãã
2ã
-GLPIã¯ããã³ã³ãã¥ãŒã¿ãŒããŒã¯ãããŒãžã£ãŒããšããŠããªãã¿ã®åœ¹å²ã§äœ¿çšãããŸãã
-GLPIã¯ããã¯ãã«ã«ãŠãŒã¶ãŒãµããŒãã®ã·ã¹ãã ã®åœ¹å²ãåŒãåããŸãã
-GLPIã¯ãITéšéïŒäºç®ãæ©åšãµãã©ã€ã€ãŒããµãŒãã¹ãããã€ããŒãªã©ïŒã®ç®¡çã«åœ¹ç«ã¡ãŸãã
3ã
-äŒæ¥ã¯ãã§ã«GNU / Linuxã«ãããã€ãããå€ãã®ã·ã¹ãã ïŒZabbixãOpenfireãå éšWebãµã€ããäžèšã·ã¹ãã çšã®MYSQLããŒã¿ããŒã¹ãµãŒããŒïŒã䜿çšããŠããã1å°ã®ãµãŒããŒãè¿œå ããŠãã€ã³ãã©ã¹ãã©ã¯ãã£ãæ ¹æ¬çã«è€éã«ããããšã¯ãããŸããã
Unixã©ã€ã¯ãªãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ã·ã¹ãã ãå±éããŠããªãå Žåã¯ãåºæ¬çãªç®¡çã¬ãã«ã§å¿ èŠãªç¥èãåŸãå¿ èŠããããŸãã
Unixã©ã€ã¯ãªãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãæ°å¹Žé䜿çšããŠããã®ã§ãGLPIã®å ŽåãDebian GNU / Linuxã®ä¿¡é Œæ§ã¯GLPIã®å®å šãªæ©èœãé·å¹Žã«ããã£ãŠå¿é ããªãã®ã«ååã§ãããšå®å¿ã§ããŸãã ãã ããéèŠãªæŽæ°ãšã»ãã¥ãªãã£æŽæ°ãå¿ããã«ãå®æçã«ããã¯ã¢ãããäœæããŠãã ããã
以äžã«ãè¬èãªæèŠã§ãå žåçãªGLPIå±éã®åºæ¬çãªã·ã¹ãã æ§æãšã¢ããªã³ã瀺ããŸãã
ãŸã ãã€ã³ã¹ããŒã«ã®æºåãããåã«ãã€ã³ãã©ã¹ãã©ã¯ãã£å šäœãGLPIãšäºææ§ãæã€ããã«ããã¹ãŠãèšç»ããå¿ èŠãªGLPIã®ããŒãžã§ã³ãšãã®è¿œå ã決å®ããå¿ èŠããããŸãã
第äºã« ãDebian GNU / LinuxãæèŒãã2ã€ã®ä»®æ³ãã·ã³ïŒVMïŒãå¿ èŠã§ãã 1ã€ã¯MYSQLçšããã1ã€ã¯GLPIçšã§ãã
MYSQLãµãŒããŒã®æ©èœã«é¢é£ããŠMYSQLããŒã¿ããŒã¹ã䜿çšããŠãµãŒããŒã®åœ¹å²ãå²ãåœãŠãããšã奜ã¿ãŸããããšãã°ãZabbixãªã©ã®ä»ã®ãããžã§ã¯ãã®ããŒã¿ããŒã¹ããã¹ãããã®ã«åœ¹ç«ã€å ŽåããããŸãã ãã®æ§æã䜿çšããå ŽåãPHPMyAdminã䜿çšããŠMYSQLããŒã¿ããŒã¹ã管çããã®ãéåžžã«äŸ¿å©ã§ãããã®Webã€ã³ã¿ãŒãã§ã€ã¹ãã€ã³ã¹ããŒã«ããããšããå§ãããŸãã
æåã®èœãšãç©ŽïŒä»ã®ãã¹ãããMYSQLããŒã¿ããŒã¹ãµãŒããŒã«æ¥ç¶ããæ©èœãéãããšãå¿ããªãã§ãã ããã ããã¯éåžžã«ç°¡åã§ãã ãã¡ã€ã«/etc/mysql/my.cnfãä¿®æ£ããå¿ èŠããããŸã
ãã¹ãŠã®ã¢ãã¬ã¹ãèãããšãã§ããããã«ããã«ã¯ã次ã®è¡ãã³ã¡ã³ãã¢ãŠãããŸã
ãã€ã³ãã¢ãã¬ã¹= 127.0.0.1
詳现ã¯ãã¡ããã芧ãã ãã ã
ããŒã¿ããŒã¹ã®ãµã€ãºãšæ°ãå¢å ããããŒã¿ããŒã¹ãµãŒããŒã§ããå ŽåãMYSQLããŒã¿ããŒã¹ãåããVMãããã³GLPIãã©ã«ããŒã®ãµã€ãºãå¢å ãããšäºæ³ãããWebãµãŒããŒã§ããå ŽåãGLPIãåããVMãæ§æããå¿ èŠããããŸãã äž¡æ¹ã®VMã«ã¯ãApache WebãµãŒããŒãšPHP5ã®ã€ã³ã¹ããŒã«ãå¿ èŠã§ãã
MYSQLããŒã¿ããŒã¹ã䜿çšããVMã§ã¯ãMYSQLããŒã¿ããŒã¹ã䟿å©ã«ç®¡çããããã«PHPMyAdminãè¿œå ã€ã³ã¹ããŒã«ããå¿ èŠãããããšãæãåºããŠãã ããã ãã®ãããªã·ã¹ãã ãã€ã³ã¹ããŒã«ããããã®ã¹ããããã€ã¹ãããã®å®å šãªããã¥ã¢ã«ãã€ã³ã¿ãŒãããäžã«ãããããããŸã;ããããèŠã€ããããšã¯åé¡ã§ã¯ãªããããã¯å¥ã®èšäºã®ãããã¯ã§ãã
ãŸãã GLPIçšã®ãµãŒããŒã«mysqlã¯ã©ã€ã¢ã³ãïŒ mysqlclient ïŒãã€ã³ã¹ããŒã«ããããšãå¿ããªãã§ãã ãããããŒã¿ããŒã¹ãµãŒããŒãšã®å¯Ÿè©±ã«åœ¹ç«ã¡ãŸãã
第äžã« ãäžèŠãªäŸåé¢ä¿ãããã°ã©ã ããã®ãã¹ããŒã ãšã³ãžã³ããªãã§ã¯ãªãŒã³ã€ã³ã¹ããŒã«ãå¯èœã«ãªãããããªããžããªããã§ã¯ãªããGLPI Webãµã€ãããGLPIãã€ã³ã¹ããŒã«ããããšããå§ãããŸãã ããã«ããã®ãµã€ãã§ã¯ãåžžã«ææ°ããŒãžã§ã³ã®GLPIãèŠã€ããããå€ããªãªãŒã¹ããäœããéžæã§ããŸãã
2çªç®ã®èœãšãç©ŽïŒãã®ã¿ã€ãã®ã€ã³ã¹ããŒã«ã§ã¯ãWebãµãŒããŒïŒwww-dataïŒã®æš©éãGLPIãå±éããããã©ã«ããŒã«äžããããšãå¿ããªãã§ãã ãããDebianGNU / Linuxã«å«ãŸããŠããchownãŠãŒãã£ãªãã£ã䜿çšããŠãããè¡ãã®ãæã䟿å©ã§ãã
ãŸãã/ etc / apache2 / sites-availableãã©ã«ããŒã«ãã¡ã€ã«ïŒglpi.confãªã©ïŒãäœæããŠãApache2æ§æãã¡ã€ã«ãä¿®æ£ããããšãå¿ããªãã§ãã ããã ãããè¡ãã«ã¯ãããã©ã«ãèšå®-000-default.confãã¡ã€ã«ãã³ããŒããæ¹ãç°¡åã§ã
æ°ãããã¡ã€ã«ã§ã¯ããã©ã¡ãŒã¿ServerNameãServerAliasãããã³DocumentRootãä¿®æ£ãã解åãããGLPIã®ãµã€ãåããšã€ãªã¢ã¹ãããã³å Žæãæå®ããŸãã ãtpãããglpiããªã©ã®çãã¢ãã¬ã¹ãæå®ãããšäŸ¿å©ã§ãã
ã³ãã³ãa2ensite glpi.confã§æ°ãããµã€ããè¿œå ããåŸãApacheãåèµ·åããå¿ èŠããããŸãã
GLPIãå®å šã«èµ·åãããŸã§ãããã©ã«ãã®æ§æãã¡ã€ã«ãåé€ããŠããã©ã«ãã®ãµã€ãããªãã«ããããšã¯ãå§ãããŸãããããã¯ãå°æ¥ã®PHPãã©ã¡ãŒã¿ãŒã®è¡šç€ºãšèª¿æŽããã䟿å©ã«ããã®ã«åœ¹ç«ã¡ãŸãã
第4ã«ããµãŒããŒäžã«GLPIã®ããŒã¿ããŒã¹ãšãŠãŒã¶ãŒãäœæããããã«æš©éãäžããããšãæ®ã£ãŠããŸãããã®ãããPHPMyAdminã䜿çšãããšäŸ¿å©ã§ãã
ãã®ãããããŒã¿ããŒã¹ãäœæããããŠãŒã¶ãŒã¯ããŒã¿ããŒã¹ã®ç®¡çè æš©éãåãåããŸããã
3çªç®ã®èœãšãç©ŽïŒGLPIãå®å šã«åäœãããã«ã¯ã* / glpi / config / config_db.phpã®ãã¡ã€ã«ãä¿®æ£ããå¿ èŠããããŸã
ãµãŒããŒã®ã¢ãã¬ã¹ãMYSQLããŒã¿ããŒã¹ãããŒã¿ããŒã¹åããŠãŒã¶ãŒåããã¹ã¯ãŒãã§æå®ããŠããã¹ãŠã®ãã£ãŒã«ãã«å ¥åããå¿ èŠããããŸãã æåŸã®ä»äžã-GLPIã䜿çšããã«ã¯ãããŒã¿ããŒã¹ãããŒã¯ã¢ããããå¿ èŠããããŸãã mysqlã¯ã©ã€ã¢ã³ãã圹ã«ç«ã€ã®ã¯ããã®æé ã®ããã§ãã ã³ãã³ããå®è¡ãããã³ããæ°ããããŒã¿ããŒã¹ã«ãã³ãããŸãã
mysql -u username -h DB_server_name_ip_name -p password DB_name <* / glpi / install / mysql / glpi- GLPI_version -empty.sql
GLPIãå¥ã®å ŽæïŒããšãã°ããŠãŒã¶ãŒãã©ã«ã/ home / user1ãŸãã¯/ usr / share /ã«é 眮ã§ãããããäžå®å šãªãã¹ã瀺ããããšã«æ³šæããŠãã ããã/var/www/ã«é 眮ããããšããå§ãããŸãïŒã ãã¹* / glpi / install / mysql /ã«ãå ¥åå¯èœãªãã¹ãŠã®ãã³ãããããŸãã
5çªç®ã«ãGLPI Webã€ã³ã¿ãŒãã§ã€ã¹ã«ç°¡åãã€ç°¡åã«ã¢ã¯ã»ã¹ã§ããããã«ãã§ããã°ServerNameãšäžèŽããçãååã§ãGLPIãªã©ã®DNSã§Aã¬ã³ãŒããäœæããããšããå§ãããŸãã ãã©ãŠã¶ã«glpiãšå ¥åããGLPIã®ã»ããã¢ããã«é²ã¿ãŸãã
第å ã« ãè¿œå ã«ã€ããŠã®ããã€ãã®èšèã ãå žåçãªãã€ã³ã¹ããŒã«ã®å Žåã以äžã䜿çšãããšäŸ¿å©ã§ãã
-ArchiresïŒãããã¯ãŒã¯ã¢ãŒããã¯ãã£ïŒïŒãããã¯ãŒã¯ã€ã³ãã©ã¹ãã©ã¯ãã£ãæ確ã«èšè¿°ããæ©èœïŒ
-ããã·ã¥ããŒãïŒäžåžåãã®çŸããã°ã©ãã£ãã¯ã¬ããŒãïŒ
-FusionInventoryïŒPCã€ã³ãã³ããªïŒ
-ã¬ããŒãïŒèªåã«ãšã£ãŠäŸ¿å©ãªã¬ããŒãïŒ
-PDFïŒPDFãžã®ãšã¯ã¹ããŒããå¯èœïŒ
-ã©ãã¯/ãã€ç®¡çïŒã©ãã¯ãšãã£ããããã説æããããã®äŸ¿å©ãªããŒã«ïŒ
-ã¢ã«ãŠã³ãã€ã³ãã³ããªïŒãŠãŒã¶ãŒã¢ã«ãŠã³ããæäœããããã®äŸ¿å©ãªããŒã«ïŒ
ããããã¢ããªã³ãããŠã³ããŒãããŸã ã ããŠã³ããŒãåŸããã¡ã€ã«ã解åãã* / glpi / pluginsãã©ã«ããŒã«é 眮ããå¿ èŠããããŸãããã®åŸãGLPI Webã€ã³ã¿ãŒãã§ãŒã¹ã§ããããã¢ã¯ãã£ãã«ããŠæå¹ã«ããå¿ èŠããããŸãã GLPIã®ã€ã³ã¹ããŒã«ãå®äºããŸããã
PS GLPIã®ã€ã³ã¹ããŒã«ããæ¬çªç°å¢ãžã®èµ·åãŸã§ã1ã€ã®èšäºã®ãã¬ãŒã ã¯ãŒã¯ã§æ€èšããããšã¯ã§ããŸãã.Habréã§ã¯ãªããLJã®å人ããã°ã§ãGLPIã®ããŒãã«é¢ããäžé£ã®èšäºãæžããããšèããŠããŸãã
PSSãæž èŽããããšãããããŸããã建èšçãªæ¹å€ããåŸ ã¡ããŠãããŸãã
第äºéšã