ãããªããã!WEBã¡ã¼ã©ã¼ãã®ãã°ã¤ã³ãã¼ã¸ã§ããã¤ã³ã¿ã¼ããããã©ã¦ã¶ãããããªããã!ã§ä½æããã¡ã¼ã«ã¢ãã¬ã¹ã§ã®åä¿¡ã»éä¿¡ã»è»¢éãªã©ãã§ãã¾ãã
ãããªããã!WEBã¡ã¼ã©ã¼ãã®ãã°ã¤ã³ãã¼ã¸ã§ããã¤ã³ã¿ã¼ããããã©ã¦ã¶ãããããªããã!ã§ä½æããã¡ã¼ã«ã¢ãã¬ã¹ã§ã®åä¿¡ã»éä¿¡ã»è»¢éãªã©ãã§ãã¾ãã
hetemlã¯ãã¼ã2222ã§SSHæ¥ç¶ãã¾ãã rsyncã§ãã¦ã³ãã¼ãããã«ã¯ã--rshãªãã·ã§ã³ã§ã"ssh -p 2222"ãæå®ãã¾ãã $ rsync -avz --rsh="ssh -p 2222" [email protected]:/from/ ./to/Code language: Bash (bash) å ¬ééµèªè¨¼ ç§å¯éµ my_id_rsaã§æ¥ç¶ããã«ã¯ã--rshãªãã·ã§ã³ã§ã"ssh -i"ãæå®ãã¾ãã $ rsync -avz --rsh="ssh -i /home/taro/.ssh/my_id_rsa" [email protected]:/from/ ./to/Code language: Bash (bash) sshæ¥ç¶ã®configãã¡ã¤ã« ããã»ã©ã®sshæ¥ç¶æ å ±ï¼ç§å¯éµãã¡ã¤ã«ãã¦ã¼ã¶åããã¹ãï¼ã/home/taro/.ss
SSHã¨ã¯ä½ãï¼ SSHã¨ã¯ããµã¼ãã¼ãé éæä½ããæ¹æ³ã®ï¼ã¤ã§ãéä¿¡å 容ãæå·åãã¦ãããã®ã§ãã éä¿¡ãæå·åãã¦ããªããã®ã«telnetã¨ããéä¿¡æ¹æ³ãããããã®ãã¯ã¼ã¢ãããã¼ã¸ã§ã³ã§ãã ç°¡åã«ããã¨ãAWSãGithubãªã©ã®ãµã¼ãã¼ï¼ã¬ã³ã¿ã«ãµã¼ãã¼ï¼ãªã©ã«èªåã®ãã½ã³ã³ã®ã³ãã³ãã©ã¤ã³ï¼é»ç»é¢ï¼ããã¢ã¯ã»ã¹ã§ããä»çµã¿ã§ãã ã追è¨ã ç§ã¯å ã Lolipopï¼ããªãããï¼ã§éç¨ãã¦ããã®ã§ãããæ°å¹´ééç¨ãããã¨ã§Lolipopã®é大ãªåé¡ãçºè¦ããããã«ãããããã¨èª¿ã¹ã¦ãXserverï¼ã¨ãã¯ã¹ãµã¼ãã¼ï¼ã«ç§»ç®¡ãããã¨ã«ãã¾ããã 移管ã«è³ã£ãçµç·¯ããXserverã¨Conoha Wingï¼ã³ããã¦ã¤ã³ã°ï¼ã®æ¯è¼ãªã©ã«ã¤ãã¦ã¯ä¸è¨ããåèãã ãããXserverã®æéã1ä¸åå¼ãã«ãªããªã³ã¯ãç´¹ä»ãã¦ãã¾ãï¼ç§ã®å ´åãããæçµçãªæ±ºãæã§ããï¼ ãã¬ã³ã¿ã«ãµã¼ãã¼ãLo
ååã®æ¯ãè¿ã ååã¯ä¸è¨è¨äºã§ãhugoã使ãããã°ãä½æãgithub actionsã使ç¨ããèªåãããã¤ãè¨å®ãã¾ããã ä»åã¯ãã®ç¶ç·¨ã§ãæ稿ããªããã«ããshort codeã®ç´¹ä»ãæ稿ã«ç»åãå ¥ããæ¹æ³ããã¼ã¸ãã³ãã¬ã¼ãã®ã«ã¹ã¿ãã¤ãºããã£ã¦ããã¾ãã ç°å¢ é ç®
hugoã¨ã¯ï¼ hugo(ãã¥ã¼ã´ï¼ã¨ã¯ãgoã§ä½ãããwebãµã¤ããä½æãããã¬ã¼ã ã¯ã¼ã¯ã§ãã å ¬å¼ãµã¤ãã®ããããã¼ã¸ã§ãã¦ã§ããµã¤ããæ§ç¯ããããã®ä¸çæéã®ãã¬ã¼ã ã¯ã¼ã¯ãæ¸ãã¦ããããã«éãã売ãã«ããéçãµã¤ãã¸ã§ãã¬ã¼ã¿ã¼ã®ããã§ãã å ¬å¼ãã¼ã¸ 使ç¨ã§ãããã¼ããæ°å¤ãæãããã¦ãããæè»æ§ãããã¨ã®ãã¨ã ã£ãã®ã§ä»åã¯hugoã使ã£ã¦å®éã«ããã°ãä½æãã¦ã¿ã¾ããã å ã«è§¦ã£ã¦ã¿ãææ³ãªã®ã§ãããä¸è¨ç»åã®ããã«æ¬å½ã«å¤ãã®ãã¼ããç¨æããã¦ããé¸ã¶ã ãã§æ¥½ããã£ãã§ããã¾ãããã¼ãã®ã«ã¹ã¿ãã¤ãºãç°¡åã«è¡ãªãèªå好ã¿ã«ã§ããã®ã§çµæ§ä½é¨è¯ãã£ãã§ãã ãã¼ãä¸è¦§ ãã¨ã¨ãªããã¼ããè±å¯ã«ãããçµæ§ç°¡åã«ã«ã¹ã¿ãã¤ãºãã§ããã®ã§ãä¼æ¥ãµã¤ããã·ã§ãããµã¤ããLPããªã¦ã³ãã¡ãã£ã¢ã¨ãä½ãã®ããããããããªãã§ããã blogã®ä½æ ä»åã¯hugoã§éçãµã¤ããä½ããããª
ãownCloudããã¬ã³ã¿ã«ãµã¼ãã«ã¤ã³ã¹ãã¼ã«ããæ¹æ³ã§ãã ãownCloudãã¯PHPãã¼ã¹ã®ãªã¼ãã³ã½ã¼ã¹ã§ããµã¼ãã«ã¤ã³ã¹ãã¼ã«ãããã¨ã§Dropboxã®ãããªç°å¢ãæ§ç¯ãããã¨ãã§ãã¾ãã ownCloud.org ãã¡ã¤ã«ãµã¼ãã¨ãã¦ãDropboxãããGoogle DriveãããOneDriveããªã©ä¾¿å©ã§ã¯ããã¾ãããã¤ã¾ãããåãããªããµã¼ããã¼ãã£ã¼é åã«å人çãã¡ã¤ã«ãä¿åãã¦ããã®ãæ°æã¡æªãã¨èãã人ãå°ãªãããããã¯ãã§ãã ã¾ãããããã®ã¯ã©ã¦ããµã¼ãã¹ã«é害ãçºçããå ´åã«ãæ³£ãå¯å ¥ããã以å¤ããã¾ããã ããã«ã¯ã使ãåæã«ã¡ãã£ã¨ããä¸æºãããæã«ããownCloudãã¯PHPãã¼ã¹ãªã®ã§ãããç¨åº¦ã«ã¹ã¿ãã¤ãºãå¯è½ã§ããï¼ãã¶ãï¼ ããã§ä»åãã¬ã³ã¿ã«ãµã¼ããhetemlãã«ãownCloudããã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãã æ¤è¨¼ããç°å¢ã¯ä»¥ä¸ã®ã¨
å ¬éãDeployHugoã«ã¯ããµã¤ããçæããä»çµã¿ã¯ããã¾ããå ¬éããä»çµã¿ã¯æã£ã¦ãã¾ããããã®ãããHugoã§çæããçæç©ï¼HTML+CSSï¼ãä½ããã®æ¹æ³ã§ãWebãµã¼ãã«æã£ã¦ãã£ã¦ãããªããã°ããã¾ããã å¿ è¦ãªã®ã¯ãã©ãã«å ¬éãããã¨ãã©ããã£ã¦å ¬éãããã§ãã ã©ãã§å ¬éãããHugoã§çæãããµã¤ããã©ãã«å ¬éãããã¯ãããã¤ãé¸æè¢ãããã¾ããä¾ãã°ã以ä¸ã®ãããªãã®ã§ãã VPS(Virtual Private Server)ã¬ã³ã¿ã«ãµã¼ãï¼ããªãããï¼GitHub PagesAmazon S3ç§ã¯ããããã®VPSãå¥ç´ãã¦ãã¾ããèªåã§è²ã ã¨ããããã®ã§æ¥½ããã§ãã 2017/03/19è¿½è¨ ãããVPSã解ç´ããã®ã§ã Netlify ã§å ¬éããããã«å¤æ´ãã¾ããã Hugoã§çæããéçãµã¤ãã®ãã¹ãå ããããVPSããNetlifyã«å¤æ´ãã - SIS
è½ã¡ãªãããã大è¦æ¨¡ãµã¤ããç¶ã ã¨ç§»è¡ä¸ããã¼ã¸ãã¯ã©ã¦ããã¤ã³ãã©ç®¡çã»ã³ã¹ã管çãããå¶ä½ä¼ç¤¾ãã¨ã³ã¸ãã¢ã®è² æ ãæ¸ããã¾ããç°å¢æ§ç¯ãã¯ã³ãã¿ã³ã§å®äºï¼
ãããªãããï¼ã誰ã§ãç°¡åã«ã¯ã©ã¦ããã¹ãã£ã³ã°ãæ´»ç¨ã§ãããããã¼ã¸ãã¯ã©ã¦ãããã©ã³ãæä¾ ï½æ¬æ¥ãã試é¨çã¨ãã¦ã¯ãã¼ãºãαçãæä¾éå§ï½ GMOã¤ã³ã¿ã¼ãããã°ã«ã¼ãã®GMOãããæ ªå¼ä¼ç¤¾ï¼ä»£è¡¨åç· å½¹ç¤¾é·ï¼ä½è¤ å¥å¤ªéã以ä¸ãGMOãããï¼ãéå¶ããã¬ã³ã¿ã«ãµã¼ãã¼ãããªãããï¼ãã¯ãã¯ã©ã¦ããã¹ãã£ã³ã°ç°å¢ãç°¡åã«æ§ç¯ã§ããæè»ã«ãªã½ã¼ã¹ã®å¢æ¸ãã§ãããããã¼ã¸ãã¯ã©ã¦ãããã©ã³ãæ°ãã«æä¾ãããã¾ãããããã¼ã¸ãã¯ã©ã¦ãããã©ã³ã¯ãã¯ã©ã¦ãã®ãããªæ¡å¼µæ§ã»èªç±åº¦ã®é«ããåããªããããµã¼ãã¼ã®é害ã»è² è·å¯¾çãªã©ã®ä¿å®ç®¡çã¯ãããªãããï¼ããè¡ãâããã¼ã¸ãåâãç¹å¾´ã®ãã©ã³ã§ãã ã¾ãã¯æ¬æ¥2017å¹´7æ12æ¥ï¼æ°´ï¼ããã試é¨çã¨ãã¦ã¯ãã¼ãºãαçãæä¾éå§ãããã¾ãããã¯ãã¼ãºãαçã¯ãç¹è¨ãµã¤ããããå¿åããã ããæ½é¸ã«å½é¸ãããæ¹ããå©ç¨ããã ãã¾ãã ãªãããããã¼ã¸ãã¯
ãããªãããï¼ã誰ã§ãç°¡åã«ã¯ã©ã¦ããã¹ãã£ã³ã°ãæ´»ç¨ã§ãããããã¼ã¸ãã¯ã©ã¦ãããã©ã³ã®ãªã¼ãã³Î²çãæ¬æ¥11/30ï¼æ¨ï¼ããæä¾éå§ GMOã¤ã³ã¿ã¼ãããã°ã«ã¼ãã®GMOãããæ ªå¼ä¼ç¤¾ï¼ä»£è¡¨åç· å½¹ç¤¾é·ï¼ä½è¤ å¥å¤ªéã以ä¸ãGMOãããï¼ãéå¶ããã¬ã³ã¿ã«ãµã¼ãã¼ãããªãããï¼ãã¯ãã¯ã©ã¦ããã¹ãã£ã³ã°ç°å¢ãç°¡åã«æ§ç¯ã§ããæè»ã«ãªã½ã¼ã¹ã®å¢æ¸ãã§ãããããã¼ã¸ãã¯ã©ã¦ãããã©ã³ã®ãªã¼ãã³Î²çãæ¬æ¥2017å¹´11æ30æ¥ï¼æ¨ï¼ããæä¾éå§ãããã¾ããã ãããã¼ã¸ãã¯ã©ã¦ãããã©ã³ã¯ãGMOãããã®ç 究éçºçµç¹ããããç 究æããç¬èªã«éçºããã³ã³ããåä»®æ³åæè¡ï¼â»1ï¼ã®æ¡ç¨ã«ããå®ç¾ãããã®ã§ãæ¬å¹´7æããä¸é¨ã®ã¦ã¼ã¶ã¼ã¸ã¯ãã¼ãºãαçã¨ãã¦éå®å ¬éãã¦ãã¾ããããªã¼ãã³Î²çã¯ãã¯ãã¼ãºãαçã®æä¾ãéãã¦å¾ãå¤ãã®ãæè¦ã¨ãè¦æãè¸ã¾ããæ©è½è¿½å ãæ¹ä¿®ãè¡ããããå©ä¾¿æ§ã¨å質ã®é«ããµ
ç¬èªSSLï¼ç¡æï¼ã®ãç³è¾¼ã¿ã»è¨å®æ¹æ³ãã説æãã¾ãã ç¬èªSSLï¼ç¡æï¼ã®ãç³è¾¼ã¿ã»è¨å®æ¹æ³ ç¬èªSSLï¼PROï¼ã®ãç³è¾¼ã¿ã»è¨å®æ¹æ³ ä¼æ¥èªè¨¼SSLã®ãç³è¾¼ã¿ã»å¯©æ»æ¹æ³ EV SSLã®ãç³è¾¼ã¿ã»å¯©æ»æ¹æ³ ç¬èªSSLãå©ç¨ã®åã« ç¬èªSSLã®ãå©ç¨ã«ã¯ãç¬èªãã¡ã¤ã³ã®åå¾ãè¨å®ãå¿ è¦ã§ãã ã¾ããç¬èªSSLã®è¨¼ææ¸ã®ã¤ã³ã¹ãã¼ã«ã¯ãããªãããï¼ã®DNSæ å ±ãåæ ãã¦ããå ´åã«å©ç¨ã§ãã¾ãã 詳細ã¯ãç¬èªãã¡ã¤ã³ã®è¨å®æ¹æ³ãã覧ãã ããã ç¬èªSSLï¼ç¡æï¼ã®ãç³è¾¼ã¿ã»è¨å®æ¹æ³ 証ææ¸ãç³ãè¾¼ã¿ã»è¨å®ç»é¢ã®è¡¨ç¤º ã¦ã¼ã¶ã¼å°ç¨ãã¼ã¸ã«ãã°ã¤ã³ããã証ææ¸ãç³ãè¾¼ã¿ã»è¨å®ããéãã¾ãã ãã°ã¤ã³ã§ããªãå ´åã¯ããããã質åãã覧ãã ããã ç¬èªSSLï¼ç¡æï¼ã®è¨å® ãSSLã§ä¿è·ããã¦ããªããã¡ã¤ã³ãã表示ããã¾ãã ç¬èªSSLãé©ç¨ãããã¡ã¤ã³ããã³ãµããã¡ã¤ã³ãé¸æãã¾ãã é¸æå¾ãåç¬èª
社å Techã«ã³ãã¡ã¬ã³ã¹ã§çºè¡¨ããè³æã§ãã
ç大好ãæ ¼å®ã¬ã³ã¿ã«ãµã¼ãã¼ãããªãããã§ãã®åº¦ç¬èªSSLã®ãªãã·ã§ã³ããã¦ã¿ã¾ããã ï¼ãã®ã¢ãã¬ã¹ã§ã¯ãªããï¼ ããªãããã¯ããã¾ã§10年以ä¸æç¨ãã¦ãããã§ãããç¬èªSSLã«ããã®ã¯åãã¦ã§ãã¦ä»å¾ãSSLåã¯å¿ é ã ããã¨æãåå¿é²ã®çºã¡ã¢ãã¦ããã¾ãã ã¾ãç¬èªSSLã§ãããSSLãµã¼ã証ææ¸ã¯ããã¤ã種é¡ãããã¾ãã ããªãããã®ã³ã³ããã¼ã«ããã«ããå©ç¨ã§ããSSLã¯GMOã°ãã¼ãã«ãµã¤ã³ãæä¾ããã¯ã¤ãã¯èªè¨¼SSLã¨ããã®ã§ãåæè¨å®ä¸è¦ã§ä½¿ç¨ãããã¨ãã§ãã¾ãã éé¡ã¨ãã¦ã¯ä»ã®SSLã¨æ¯ã¹ã¦å®ããé«ãããªã12ã¶æã§20,000åï¼æã 1,600åã¡ãã£ã¨ï¼ã ã¾ããã¾ãã«å®ãéé¡ã®SSLã ã¨ãããã大ä¸å¤«ï¼ãã¨ãªã£ã¦ãã¾ãã®ã§ã SSLã«ããæ¹æ³ã¯ã¨ã¦ãç°¡åï¼ WordPressãã¦ã§ããã¹ã¿ã¼ãã¼ã«ã®å¤æ´å 容ã¯ï¼ httpsã§æ¥ç¶ããã®ã«ãã©ã¦ã¶ã§éµãã¼ã¯ãä»ããªãï¼
ç§ã¯WordPressã®ãµã¤ããªã©ã¯ããªããããã¡ã¤ã³ã«ä½¿ã£ã¦ããã®ã§ãããç¬èªSSLãå°å ¥ã常æhttpsæ¥ç¶ã«ãã¦ãã¾ãã ã«ã¼ããã£ã¬ã¯ããªã«ä»¥ä¸ã®ããã«è¨è¿°ãã.htaccessãç½®ãã¦ãã¾ãã httpsã¸ãªãã¤ã¬ã¯ãããä¾ ã¡ã¤ã³ã®ç¬èªãã¡ã¤ã³ãã«ã¼ãã«ããã¨é¢åããã ãµããã£ã¬ã¯ããªãããµããã¡ã¤ã³ã¸ãªãã¤ã¬ã¯ãããä¾ ããªãããã®ãµãã¼ãããã¯è¿äºãéã httpsã¸ãªãã¤ã¬ã¯ãããä¾ RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://example.com/$1 [R=301,L] ããã§httpã§ã¢ã¯ã»ã¹ãã¦ãã¦ãhttpsæ¥ç¶ã¸ãªãã¤ã¬ã¯ãããã¾ãã ã¡ã¤ã³ã®ç¬èªãã¡ã¤ã³ãã«ã¼ãã«ããã¨é¢åããã ããã¯ãããã§ããããµããã¡ã¤ã³ãä½ãã¨ããã©ãããäºã«ãªãã¾ããã ããªãããã¯
å¹³ç´ ã¯ããã ã«ããå©ç¨é ããèª ã«ãããã¨ããããã¾ãã æ¬æ¥ãå½ãµã¼ãã¹ã§æä¾ãã¦ãããPHP5.4/5.3ãã«å ãã¦ã PHPã®ææ°ãã¼ã¸ã§ã³ã§ãããPHP7.0ãã®æä¾ãéå§ãããã¾ããã PHP7ã§ã¯ãPHP5ç³»ã«æ¯ã¹ã¦2åã®é度ããã©ã¼ãã³ã¹åä¸ã¨ã ã¡ã¢ãªä½¿ç¨éã®å¤§å¹ ãªåæ¸ãå®ç¾ããã¦ããã¾ãã â»è©³ããã¯PHPã®å ¬å¼ãªãªã¼ã¹æ å ±ï¼è±æï¼ãã確èªãã ããã ãªããããã ã«ã®PHPãã¼ã¸ã§ã³ã®åæè¨å®ã¯ã5.4ãã¨ãªã£ã¦ããã¾ãã PHP7.0ããå©ç¨å¸æã®ã客æ§ã¯ãä¸è¨ããåç §é ããè¨å®å¤æ´ããé¡ããããã¾ãã â å©ç¨æ¹æ³ ä¸è¨å 容ãè¨è¿°ããã .htaccess ããã¡ã¤ã«ãããPHP7.0ãã§åä½ãããããã©ã«ãã«é ç½®ãã¦ãã ããã WEB ãã©ã«ãã«é ç½®ããã .htaccess ãã«è¨è¿°ãããå ´åãå ¨ã¦ã®ãã©ã«ãã«æå®ãããã¼ã¸ã§ã³ãé©ç¨ããã¾ãã AddHandler
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}