154 Views
June 14, 18
スライド概要
2018/06/14 INTER-Mediator勉強会2018-#4発表資料
Web Application Developer / kintone CERTIFIED App Design Specialist 2020 / kintone CERTIFIED Customization Specialist 2020
FileMaker Server 17ͷ ৽ػೳͱվળ 2018/06/14 INTER-Mediatorษڧձ2018-#4 দඌಞʢࣜגձࣾΤϛοΫʣ
Agenda • FileMaker ServerͱINTER-Mediator • FileMaker Server 17ͷ৽ػೳͱվળ • FileMaker Server 17ͷมߋ
FileMaker Serverͱ INTER-Mediator
FileMaker Server
FileMaker Server • FileMakerϕʔεͷΧελϜ AppͰσʔλ Λڞ༗͢ΔͨΊʹ༻͞ΕΔαʔόʔ ιϑτΣΞ • όοΫΞοϓػೳΛඪ४ࡌ • SSL/TLSʹରԠɺOAuthɺOpen Directory ͓ΑͼActive DirectoryΛ༻ͨ͠ೝূ Webެ։ػೳར༻Մೳ
͞·͟·ͳڞ༗ํ๏ • FileMaker ProʗFileMaker GoͰଓ • WebϒϥβʔͰଓ • ODBCʗJDBCܦ༝Ͱ
INTER-Mediator • INTER-MediatorࡏݱFileMaker Serverͷ CWPʢΧελϜWebެ։ʣΛ༻ • FileMaker Server 17ͰCWPҾ͖ଓ ͖ར༻Մೳ • CWPfmsadminίϚϯυͰ༗ޮԽ
ΧελϜWebͷ༗ޮԽ • fmsadmin enable wpe • fmsadmin start wpe • fmsadmin set cwpconfig enablephp=true • fmsadmin set cwpconfig enablexml=true • fmsadmin restart httpserver -y
mbstringͷ༗ޮԽ • Windows ServerͰphp.iniΛฤूʹޙIIS Λ࠶ىಈ • ʦมߋલʧ;extension=php_mbstring.dll • ʦมߋޙʧextension=php_mbstring.dll • http://inter-mediator.info/ja/for-developers/ db.html
FileMaker Server 17 ͷ৽ػೳͱվળ
৽͞ΕͨAdmin Console
FileMaker Data API͕ਖ਼ࣜ൛ʹ • FileMaker Server 16ͰτϥΠΞϧ൛Ͱ ͋ͬͨFileMaker Data API͕ਖ਼ࣜ൛ʹ • 1ϥΠηϯε͋ͨΓؒ24GBόϯυϧ • ྫɿ5ϢʔβϥΠηϯεͷ߹ؒ 120GB·Ͱར༻ՄೳʢՃߪೖՄʣ
FileMaker Data APIͷػೳڧԽ • ΦϒδΣΫτϑΟʔϧυͷϑΝΠϧͷ ΞοϓϩʔυΛαϙʔτ • FileMakerεΫϦϓτͷ࣮ߦΛαϙʔτ • layout.responseҾΛ༻ͯ݁͠ՌϨΠ ΞτΛࢦఆͰ͖ΔΑ͏ʹ
όοΫΞοϓΦϓγϣϯͷՃ • Admin ConsoleͰʦࠓ͙͢όοΫΞο ϓʧ͘͠ʦόοΫΞοϓΛอଘʧ ΛΫϦοΫ͢ΔͱอଘࡁΈόοΫΞο ϓʹ • อଘࡁΈόοΫΞοϓࣗಈతʹ আ͞Εͳ͍
όοΫΞοϓΦϓγϣϯͷՃ
ηΩϡΞσʔλϕʔεϑΥϧμ • ύεϫʔυͰอ߸҉͔ͭޢԽ͞ΕͨϑΝ ΠϧͷΈΛϗετ͢ΔͨΊͷઐ༻ϑΥ ϧμ͕৽ઃ • ϑΥϧμ໊ɿSecure • ҉߸Խ͞Ε͍ͯͳ͍ϑΝΠϧΛΞοϓ ϩʔυͨ͠Γϗετ͢Δ͜ͱෆՄ
ΞΧϯτͷϩοΫΞτ • ڞ༗ϑΝΠϧͷαΠϯΠϯΛࢼߦ͠ ͯҎʹෳճࣦഊ͢ΔͱҰ࣌త ʹΞΧϯτ͕ϩοΫ͞ΕΔ • ૯ͨΓ߈ܸࣙॻ߈ܸ͔ΒΧελ ϜAppΛอޢ
৽͍͠௨Φϓγϣϯ • Admin Console ௨ • ʦαΠϯΞτʧͷࠨʹ͋ΔϘλϯ Ͱ֬ೝͰ͖Δ
৽͍͠௨Φϓγϣϯ • ϩʔΧϧ௨ • Admin ConsoleΛ࣮ߦ͍ͯ͠ΔϚγϯ ্Ͱදࣔ͞ΕΔ
fmsadminίϚϯυͷ ৽͍͠ίϚϯυ • fmsadmin get • fmsadmin get cwpconfig • fmsadmin get serverconfig • fmsadmin set
fmsadminίϚϯυͷ ৽͍͠Φϓγϣϯ • Stats.logؔ࿈ • fmsadmin enable serverstats • fmsadmin disable serverstats
FileMaker Admin API (Trial) • FileMaker ServerΛཧ͢ΔͨΊͷREST ϕʔεͷAPIΛτϥΠΞϧ൛ͱͯ͠ఏڙ • τϥΠΞϧؒظ20199݄27·Ͱ
FileMaker Server 17 ͷมߋ
ϘϦϡʔϜϥΠηϯε • ϘϦϡʔϜϥΠηϯεҎԼͷ3छྨʹ • FileMaker ϢʔβϥΠηϯε • FileMaker ಉ࣌ଓϥΠηϯε • FileMaker αΠτϥΠηϯε
FileMaker ϢʔβϥΠηϯε • FileMaker ServerΛ3ΠϯετʔϧՄೳ • ؒϥΠηϯεͰ͋Ε3ͷ͏ͪ1 ΛFileMaker CloudʹBYOLͱͯ࣋ͪ͠ ࠐΈՄೳ
γεςϜ݅ͷมߋ • Windows Server 2008 R2 SP1 Standard Edition͓ΑͼEnterprise Editionαϙʔ τର֎ • OS X El Capitan v10.11αϙʔτର֎
ΫϥΠΞϯτͱͷޓੑ • FileMaker ProɺFileMaker Pro Advanced͓ ΑͼFileMaker Goͷόʔδϣϯ14͔Β FileMaker Server 17ʹଓෆՄ
ల։Ξγελϯτ͕ෆཁʹ • Πϯετʔϥʔͱల։Ξγελϯτ͕ ౷߹ • Admin ConsoleॳճϩάΠϯ࣌ʹSSLαʔ όʔূ໌ॻΛΠϯϙʔτ͢Δ͔SSLΛ ༻͠ͳ͍͔ͷ֬ೝϖʔδ͕දࣔ͞ΕΔ
ల։Ξγελϯτ͕ෆཁʹ
SSL/TLSؔ࿈ͷมߋ • SSLར༻࣌ʹHSTSʢHTTP Strict Transport Securityʣ͕ৗʹ༗ޮʹ • ʦWeb ΫϥΠΞϯτʹ HSTS Λ༻ ͢ΔʧΦϓγϣϯഇࢭ
fmsadminίϚϯυΛ༻ ʢAdmin Console͔ΒऔΓআ͔Εͨઃఆɾػೳʣ • ΧελϜWebެ։ػೳͷ༗ޮɾແޮԽ • fmsadmin set cwpconfig
fmsadminίϚϯυΛ༻ ʢAdmin Console͔ΒऔΓআ͔Εͨઃఆɾػೳʣ • ύεϫʔυͰอ͞ޢΕͨσʔλϕʔε ͷΈϗετ • ϩάϑΝΠϧͷαΠζ੍ݶ • αʔόʔͷ༻ঢ়گϩάϑΝΠϧ ʢStats.logʣͷอଘ
fmsadminίϚϯυΛ༻ ʢAdmin Console͔ΒऔΓআ͔Εͨઃఆɾػೳʣ • FileMaker ProΫϥΠΞϯτଓͷ࠷େ • εΫϦϓτಉ࣌ηογϣϯ࠷େ • CSRͷ࡞ʢSSLαʔόʔূ໌ॻͷൃߦ खଓ͖ʹඞཁʣ
fmsadminίϚϯυΛ༻ ʢAdmin Console͔ΒऔΓআ͔Εͨઃఆɾػೳʣ • ༻ঢ়گͷऩूִؒ • σʔλϕʔεΩϟογϡʹ༧͞Ε͍ͯ ΔRAM • ϓϩάϨογϒόοΫΞοϓͷอଘؒ ִ
ഇࢭ͞Εͨػೳ • ελϯόΠαʔόʔ • ཧऀάϧʔϓʢAdmin Consoleʣ • ସϙʔτ൪߸ͷࢦఆ
ഇࢭ͞Εͨػೳ • ϥϯλΠϜιϦϡʔγϣϯ༻ϑΝΠϧ ֦ுࢠͷࢦఆʢAdmin Consoleʣ • ςΫϊϩδʔςετϖʔδ
fmsadminίϚϯυͰআ͞Εͨ ίϚϯυͱΦϓγϣϯ • fmsadmin standby • -j (--hint) • fmsadmin resetpwͷΦϓγϣϯ
ͦͷଞͷมߋ • ৄࡉFileMaker φϨοδϕʔεΛࢀর FileMaker 17 ϓϥοτϑΥʔϜͷͦͷଞ ͷมߋ <https://support.filemaker.com/s/ answerview?language=ja&anum=000026010>
·ͱΊ
ؔ࿈URL • FileMaker Server 17 ϔϧϓ https://fmhelp.filemaker.com/help/17/fms/ja/
ؔ࿈URL • FileMaker ϓϩμΫτ υΩϡϝϯςʔγϣϯ https://www.filemaker.com/jp/support/product/ documentation.html • FileMaker φϨοδϕʔε https://support.filemaker.com/s/?language=ja
ؔ࿈URL • ϑΝΠϧϝʔΧʔࣾYouTubeެࣜνϟϯωϧ https://www.youtube.com/user/filemakerjapan
·ͱΊ • FileMaker Server 17ͰΧελϜWeb ެ։ػೳҾ͖ଓ͖ར༻Մೳ • INTER-MediatorFileMaker Server 17Λ αϙʔτʢCWPΛ༻ʣ • INTER-MediatorকདྷͷόʔδϣϯͰ ਖ਼ࣜ൛ͷFileMaker Data APIʹରԠ༧ఆ