LINEã§ã¯ãã¾ãã¾ãªFintechãµã¼ãã¹ãå±éãã¦ãã¾ããä»åã®ã¤ãã³ãã§ã¯ãLINEã®æ³¨åäºæ¥ã®ã²ã¨ã¤ã§ããFintechãµã¼ãã¹ã®ãã¡ããéè¡äºæ¥ããLINE証å¸ããLINE Payãã®ãµã¼ãã¼ãµã¤ãå´ã®éçºã«æºããã¨ã³ã¸ãã¢ãç»å£ããLINEãéèé åã§ç®æãå°æ¥ãããããã®æ¥åå 容ãåãä½å¶ã»ç°å¢ãªã©ã説æãã¾ããã LINEè¨¼å¸ / éè¡äºæ¥ã®ãµã¼ãã¼ãµã¤ãã¨ã³ã¸ã㢠å§å£æ¥ æ°ï¼ä»¥ä¸ãå§ï¼ï¼LINEãã£ãã³ã·ã£ã«ã®å§ã¨ç³ãã¾ãã2018å¹´ã®12æã«LINEã«å ¥ç¤¾ãã¾ãããåè·ã¯ã¡ã¼ã«ç³»ã®SIãå¤è³ç³»ã³ã³ãµã«ãã£ã³ã°ã®ä¼ç¤¾ã«ãã¦ãã¡ã¬ãã³ã¯åãã®å½éééã»æ±ºæ¸ãªã©ã®ã·ã¹ãã éçºãæ å½ãã¦ãã¾ãããLINEã«å ¥ç¤¾ãã¦ä»¥æ¥ãLINE証å¸ã®ãµã¼ãã¼ãµã¤ãã®éçºãæ å½ãã¦ãã¾ãã ç§ããã¯ãä»æ å½ãã¦ããä»äºã®å 容ã«ã¤ãã¦ç°¡åã«ç´¹ä»ãããã¨æãã¾ãã ã¾ããLINE証å¸ã§ä½¿ããã¦ããæ
ã¿ã¤ãã«ã¯é£ãããã¤ãèªåã®ããã®åå¿é²ã§ãã ãã¤ã¯ããµã¼ãã¹ã¢ã¼ããã¯ãã£ã§ãµã¼ãã¹ãæ§ç¯ããã¨ãAPIãµã¼ãããµã¼ãã¹ãã¨ã«ç«ã¦ãããã§ããã ãã©ã¦ã¶ä¸ã®JSã¨ã³ã¸ã³ããAPIãµã¼ããå©ãæã«é¿ãã¦éããªãã®ããSame-Origin Policyï¼åä¸çæå ããªã·ã¼ï¼ã«ããCORS (Cross-Origin Resource Sharing)å¶éã§ãã ãããåé¿ããã«ã¯ãAPIãµã¼ãå´ã§Access-Control-*ããããé©åã«è¿ãå¿ è¦ãããã¾ãããã©ãè¨å®ããã¹ããã®æ å ±ãæå¤ã¨å°ãªãã®ã§ï¼èªåçï¼ããã決å®çï¼ãã¨ããè¨å®ãèãã¦ã¿ã¾ããã çµè« nginxã®å ´åã®è¨å®ä¾ã§ãã server { listen 80; server_name site.localhost; charset utf-8; root /var/www/app/public; locatio
ãã®è©±ã¯ããªãã³ã³ããã¹ãä¾åãªã®ã§ãèªåã¡ã¢ã§ãã ãã®è¾ºãä½ç³»çã«æãã¦ããã£ããã¨ç¡ãã®ã§ãããã³ãã©ããã¯æºè¼ã§ãã ãã®ãµã¼ãã®å½¹å²ã¯ä½ã æ®éã ã£ãããµã¼ã管ç表ããµã¼ã管çã¢ããªã«å½è©²ãµã¼ãã®å½¹å²ã¨ããã¸ã§ã¯ããè¨è¼ããã¦ããã¯ãã§ãã ããããpingãéãã pingãéããªããã°ãã©ããããããªãã§ãã ãµã¼ããæ»ãã ããgatewayãæ»ãã ããã¢ã¯ã»ã¹ãããã¯ã¼ã¯ãæ»ãã ããèãããã¾ããtracerouteãã¦ã¿ã¦ã©ããæ»ãã§ããã®ãããã¹ã¦ã¿ãã¨ããã§ãããã sshã§ç¹ããã pingãéããã©å½è©²ãµã¼ãã«sshæ¥ç¶ã§ããªãå ´åã¯ãåç´ã«éããOOM Killerãèµ°ã£ã¦ããå ´åãããã¾ãã ã©ããããããªããã°ãIPMIãããã¯ç®¡çã³ã³ã½ã¼ã«çµç±ã§ãµã¼ããåèµ·åããå¿ è¦ãããã§ãããã ãã¼ãã¢ãã¬ã¼ã¸(LA)ã¯é«ããªãã ä½ã¯ç¡ãã¨ãLAã®ç¶æ ãè¦ã¾ãã
dstat - versatile tool for generating system resource statistics èæ¯ mpstatããvmstatããã§ãªã½ã¼ã¹ç£è¦ããã£ã¦ãããã¿ã¼ããã«ã®æ°ãç¡éã«å¢ãã¦ããã®ã«å«æ°ããããã ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã¨dstatã¨ããã³ãã³ããããããè¦ãã¦ä¾¿å©ã£ã¦èããã®ã§ç´¹ä»ãã¦ã¿ã¾ãã dstatã¨ã¯ dstatã¨ã¯ç°¡åã«èª¬æããã¨CPUè² è·ãã³ã¢ãã¨ãIOè² è·ããã£ã¹ã¯ãã¨ããããã¯ã¼ã¯è»¢ééãã¤ã³ã¿ã¼ãã§ã¤ã¹ãã¨ã«è¡¨ç¤ºã§ããã³ãã³ãã topãiostat,netstatã使ã£ã¦ç£è¦ãã¦ãããªã½ã¼ã¹ãã³ãã³ãä¸ã¤ã§ç£è¦ã§ãã¾ãã GitHubã«ã¦ã½ã¼ã¹ã¯å ¬éããã¦ãã¾ããè¨èªã¯Python dagwieers/dstat å ¬å¼ãµã¤ã http://dag.wiee.rs/home-made/dstat/ ã¤ã³ã¹ãã¼ã« $ sudo
Amazon Web Services ããã° FlexMatchãããã³ã°ç¶æ ã確èªããããã®ãµã¼ãã¬ã¹ã¢ããªã±ã¼ã·ã§ã³ã®å®è£ ä¾ ãããã¡ã¤ãã³ã°ã·ã¹ãã ã§ã¯ãã»ãã·ã§ã³ãã¼ã¹ã®ãã«ããã¬ã¤ã²ã¼ã ã«ããã¦éè¦ãª1ã¤ã®è¦ç´ ã§ãããè¯ããããã¡ã¤ãã³ã°ã®çµæã¯è¯ãã²ã¼ã ä½é¨ã«ç¹ããã¾ãããããããããã³ã°ã®é度ãæ¥ç¶å ã«å¯¾ããã¬ã¤ãã³ã·ã¼ããããã³ã°ã®æ¡ä»¶è¨å®ãªã©èæ ®ããã¹ãè¦ç´ ãå¤ããå®è£ å·¥æ°ããã°ãã°åé¡ã«ãªãã¾ããAmazon GameLift ã® FlexMatchã使ç¨ããã°èª°ã§ãå ç¢ãªãã¬ã¤ã¤ã¼ãããã¡ã¤ãã³ã°ããã°ããç°¡åã«ä½æã§ãã¾ãã大人æ°ã®ãããã¡ã¤ãã³ã°ã§ãã¬ã¤ãã³ã·ã¼ãæãå°ãªããµã¼ãã¼ã¤ã³ã¹ã¿ã³ã¹ã§ãæ大 200 人ã®ãã¬ã¤ã¤ã¼ãæ¥ç¶ããããã¨ãã§ãã¾ãã FlexMatchãå©ç¨ããéã«ãã¬ã¤ã¤ã¼ã¯ãããã³ã°ç¶æ (æåã失æ)ã確èªããå¿ è¦ãããã¾ããä»åã§ã¯ãã
1 NTT NTT IIJ IIJ- -MC MC ©2004 Tadahisa Okimoto and Bunji Yamamoto. All rights reserved. 2 ⢠⢠⢠IP ⢠2 ©2004 Tadahisa Okimoto and Bunji Yamamoto. All rights reserved. 3 Table of contents Table of contents 1. 2. 3. 4. 5. Part.1 Part.1 3 ©2004 Tadahisa Okimoto and Bunji Yamamoto. All rights reserved. 5 Part.1 Part.1 ⢠â ⢠â ⢠©2004 Tadahisa Okimoto and Bunji Yamamoto. All rights reserved. 6 ⢠â â¢
ããããã㨠apt install redisã§Redisãµã¼ãã¼ãã¤ã³ã¹ãã¼ã«ãããããç¹å®ã®ãã¼ã¸ã§ã³ãã¤ã³ã¹ãã¼ã«ãããã£ã æé ã¾ãã¯ãã¦ã³ãã¼ã wget http://download.redis.io/redis-stable.tar.gz tar xzvf redis-stable.tar.gz cd redis-stable ã§ããã«ã make æµããããã«make install æ éã«ããã°ããã¯make testããã¨ãããã # make test make install è¨å®ã¯èªåã§ä½æããå¿ è¦ãããããã³ãã¬ã¼ãã解åãããã£ã¬ã¯ããªé ä¸ã«ããã®ã§ãããã/etc/redis/redis.confã«ã³ãã¼ mkdir /etc/redis cp redis.conf /etc/redis /etc/redis/redis.conf ãè²ã 以ä¸ã®éãã«å¤
ã³ãã³ãã©ã¤ã³ã§ã cd ~/.ssh ssh-keygen ã¨ããã ãã§ãããã§ãããä»å¾å¥ã®ãµã¼ãã«æ¥ç¶ãããã¨ãèã㦠ssh-keygen -C hogehoge -f filename ã¨ããæ¹ãããã¨æãã¾ãã hogehogeã«ã¯ä½ãã³ã¡ã³ããå ¥ããããããã§ããä½ã®ãããã¯ãããããã¾ããã filenameã¯éµã®ãã¡ã¤ã«åã§ãã æ³¨ï¼ æåã« cd ~/.ssh ã¨ããã®ã¯ãé常SSHã®éµãã¡ã¤ã«ã¯~/.sshãã£ã¬ã¯ããªã«ä½ãããã§ãã 移åããªãå ´åã¯ãssh-keygenãè¡ãéã« -fãªãã·ã§ã³ã§ ~/.ssh/filename ã¨ãã¦ä¸ããã 注çµï¼ å ã»ã©ä½ã£ãå ¬ééµ(1.filename.pub)ã管çè ï¼Client0)ã«æ¸¡ãã¾ãã 渡ãæ¹ã¯ã¡ã¼ã«ã§ããªãã§ãããã¨æãã¾ããããã¡ã¤ã«ã®å 容ã®æååãã³ãã¼ãã¦ã¡ã¼ã«ã«è²¼ãä»ããã®ã¯ãã¹ã®å ãªã®ã§ãå ¬ééµã
ï½ãã¹ããã¼ã«ã使ãéã®è² è·éã®ææ¨ï½ 6. ã·ã¹ãã ãããã©ã¼ãã³ã¹ãç¶æããããã®ã¡ã¢ãªç®¡çã«ã¤ã㦠 ã«æ»ã ã¯ããã« æ§è½ãã¹ããè² è·ãã¹ããè¡ãä¸ã§ã¯ãéæãã¹ãç®æ¨å¤ã®å®ç¾©ãå¿ è¦ã¨ãªãã¾ããããããæ§è½ãã¹ãã§ã¯æ§ã ãªææ¨ãåå¨ãã¦ãããã©ã®ææ¨ããã£ã¦ç®æ¨ã¨ããçµæãå¤å®ãã¹ããå¤æãé£ããå ´åãããã§ãããã å®éã«ãWebã·ã¹ãã ã®æ§è½è©ä¾¡ãè¡ãããã®ææ¨ã«ã¯ä»¥ä¸ãããã¾ãï¼ * åææ¥ç¶ã¦ã¼ã¶ã¼æ°(Number of Virtual Users) * æéãããã®ã¦ã¼ã¶ã¼ã·ããªãªå®è¡æ¬æ°(Transactions per hour) * æéãããã®ãã¼ã¸å¦çæ°(Received pages per hour) * æéãããã®ãããæ°ï¼Hits per hourï¼ * ãµã¼ãã¼å¹³åå¿çæé(Average Server times, etc.) * ãµã¼ãã¼å´ã®CPU
ãã®ãã©ã¦ã¶ã¼ã¯ãµãã¼ããããªããªãã¾ããã Microsoft Edge ã«ã¢ããã°ã¬ã¼ãããã¨ãææ°ã®æ©è½ãã»ãã¥ãªãã£æ´æ°ããã°ã©ã ãããã³ãã¯ãã«ã« ãµãã¼ããå©ç¨ã§ãã¾ãã
çããä»æ¥ãããããã®ãµã¼ããç¸æã«ããã¦ãããã¨ãã¨æãã¾ãããããã¤ãã®ãµã¼ãã«ã¢ã¯ã»ã¹ã㦠1 ç§éã®çµ±è¨æ å ±(ä¾ãã°vmstat 1 2)ãéãã¦ããã¨è¡¨ç¤ºãããæã£ã¦ã©ããã£ã¦ã¾ãããï¼shell script ãå¦ã³ã¯ãããã°ã£ããã®åã¯ãããªæãã§æ¸ãã¦ã¾ããã $ for i in host1 host2 host3; do ssh $i "vmstat 1 2 | tail -1"; done 0 0 0 329004 210836 14275360 0 0 0 2424 1410 1828 0 0 100 0 0 0 0 0 3716112 587704 25921684 0 0 0 488 1643 2026 0 0 100 0 0 1 0 0 555440 265560 14015548 0 0 0 4204 1534 2392 1 0 99 0 0 vmstatã¨
freee ã§ã¯ãä¼è¨ freeeãã«å§ã¾ããã給ä¸è¨ç® freeeãããä¼ç¤¾è¨ç« freeeããªã©å ¨é¨ã§ 5 ã¤ã®ãµã¼ãã¹ãæä¾ãã¦ãã¾ããã¾ãããµã¼ãã¹éã§å ±éãã¦ããæ©è½ã¯ãã¤ã¯ããµã¼ãã¹åããã¦ããã®ã§ãã¤ã³ã¿ã¼ãã«ãªãµã¼ãã¹ãå«ããã¨æ°å¤ãã®ãµã¼ããåãã¦ãã¾ãã ãµã¼ãã¹ã®ç¹æ§ã«åããã¦ããã«ã¦ã§ã¢ãããã°ã©ãã³ã°è¨èªãé¸ãã§ããã®ã§ AMI ãå ±éåãããã¨ãé£ããããµã¼ãã¹ã®æé·ã«ä¼´ã£ã¦ AMI ã®æ°ãå¢ãã¦ãã¾ããï¼èµ·åæã« Cloud-init ã§ã¼ãããã»ããã¢ããããããæ¹ã ã¨æéãããããããããæ¡ç¨ã§ãã¾ããï¼ã AMI ã®æ°ãå¢ããã¨ç®¡çã³ã¹ãããã«ã«ãªãã¾ãããç¹ã«ãLinux ã«ã¼ãã«ãªã©ã«èå¼±æ§ãè¦ã¤ããã¨ãã¹ã¦ã® AMI ãä½ãç´ãå¿ è¦ãããã¾ãã freee ã§ã¯ Packer 㨠Ansible ã使ã£ã¦ããã®ã§æ§ç¯èªä½ã¯èªååããã¦ãã¾ããããã
ã¿ã°ï¼ Windows10 cifs openSUSEã«ã¯Yastã¨ããã·ã¹ãã è¨å®ãã¼ã«ãç¨æããã¦ãããGUIã使ãé常ååãªã³ã³ããã¼ã«ãã§ãã¾ãã Windows10ä¸ã®ãã£ã¬ã¯ããªãLinuxã¨å ±æããããå½åã¯æ使ã£ã¦ããSambaã§ã¨èãã¦ãã¾ãããYastã§ã®è¨å®ãç¨æããã¦ãã¾ããã®ã§ã ããããä¸æãè¡ããªãã£ãã®ã§ãããç°¡åãªæ¹æ³ã¨ãã¦cifsã使ç¨ãããã¨ã«å¤æ´ãã¾ããã ãã¡ããä¸çç¸ã§ã¯è¡ãã¾ããã§ãããç¹ã«ãWindows10ã§èª¬æãã¦ãããµã¤ããè¦ã¤ãããã試è¡é¯èª¤ãéãããã£ã¨å®å®ãã¦ãã¦ã³ãããããã¨ãã§ãã¾ããã 大ã¾ããªæé Windowsä¸ã§ãã©ã«ãã¼ãä½ããå ±æè¨å®ãè¡ãã Windowsä¸ã®ãã¡ã¤ã¢ã¦ãªã¼ã«ãè¨å®ããã Linuxä¸ã§ãã¦ã³ããã¤ã³ãã¨ãªããã£ã¬ã¯ããªãä½æããã cifsã¨ãã¦ãã¦ã³ãããã æé ã¯ä»¥ä¸ã§ãããWindowsã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}