2022-01-01ãã1ã¶æéã®è¨äºä¸è¦§
é¢ãã¦ããã ãã±å° AmazonLinux2 Kernel5.10 ãããªãã»ã Let's Encrypt (certbot) httpd ãèµ·åããªã åä½ã® EC2 ã¤ã³ã¹ã¿ã³ã¹ã§ãè¤æ°ã® VirtualHost ãè¨å®ãã httpd ãéç¨ãã¦ããã®ã ãã©ãããã«ãã¹ã追å ããã®ã§ certbot certonly --apache â¦
mkcert 便å©ã ãã©ãã¿ã㪠macOS ã§éçºãã¦ããããããã brew install mkcert ããã°ãªãã±ã¼ã§ãï¼ãã¨æ¸ãã¦ã¦ãOS ã®å£æ ¹ã§ãã¨åªè©ãæ¼ãã¡ããããã«ãªãã¾ããã ã¨ãããã¨ã§ã Homebrew ãã¤ã³ã¹ãã¼ã«ãã Linux ã§ã¤ã³ã¹ãã¼ã«ããæ¹æ³ã§ãã â¦
éå»ã« https ã§ã¢ã¯ã»ã¹ãã¦ãã¦ããã®å¾ã HSTS 㧠http -> https ã«ãªãã¤ã¬ã¯ãããã¦ãã¾ãã®ãåå ã laboradian.com éçºç°å¢ã¯ firefox ãå©ç¨ãã¦ããã®ã§ã â (Command) + Shift + H ã§å±¥æ´ãåºãã¦ãããã¹ãããã¯ã¹ã«å¯¾è±¡ã® IP ãå ¥åããã¨å±¥â¦
è¦ãã php-fpm ãæ¨æºã§æå¹ã«ãªã£ã¨ã£ããããããã¨ããæãã ã£ãã ã¨ããããåããããã®ã§ã以ä¸ã®ããã«ããã [ec2-user@localhost ~]$ sudo vi /etc/httpd/conf.modules.d/00-mpm.conf [ec2-user@localhost ~]$ sudo systemctl restart httpd /etâ¦
å ¬å¼ã®ã·ã°ãã«ãªã¹ã ãã®æ§ã«è²ã æ¸ãã¦ããã github.com ãã®ã·ã°ãã«ãªã¹ãã«è¨è¼ãããã·ã°ãã«ãéä¿¡ãã¦ã Sidekiq ãå¿çããªãç¶æ (ãã³ã°ã¢ãããã¦ãã¼ãã¢ãã¬ã¼ã¸ãæ´èµ°ãã¦ãã) ã«ã©ããããã -9 ã§å¼·å¶åæ¢ãã çµè«ã kill -9 ${PID} ãâ¦
RockyLinux 8.5 ã minimal ã§ã¤ã³ã¹ãã¼ã«ããéã NTP æå»åæãè¨å®ãã¦ããªãã£ã (ã°ãã¼ãã«çéããã¤ã¼ãµãããè¨å®ãããªãã£ããã)ã ã§ã timedatectl ãå®è¡ããã¨ãããã®ãããªè¡¨ç¤ºã«ãªã£ãã [user@localhost ~]$ timedatectl Local time: â¦