AlmaLinux8.3の利用: httpd, mysql, phpのインストール
Wednesday, June 2nd, 2021AlmaLinux8.3上でhttpd, mysql, phpをインストールした。
インストール時のログをアップしておいた。
(続きを読む)
AlmaLinux8.3上でhttpd, mysql, phpをインストールした。
インストール時のログをアップしておいた。
(続きを読む)
前回のエントリーに書いたように Linux distribution を CentOSから AlmaLinuxへ移行する作業を進めている。
移行作業は、ほぼ完了し、この記事自体はAlmaLinux8.3を搭載したサーバー上で書いている。この移行作業に合わせてパケットフィルタリングを firewalldに代えnftablesの使用に変更したので、この設定内容などについてメモしておくことにした。
(続きを読む)
これまで利用してきたCentOS Linux 8 が2021年12月末にサポート終了となり、今年以降、このOSについてバグフィックスやセキュリティパッチの提供がなくなるという。
この流れを受けて、我が自宅サーバについて、これに代え、RHELのクローンとしてリリースされたAlmaLinux 8 の利用を検討することにした。
これまでに、AlmaLinux を予備用の物理サーバ上にインストールし、動作確認をしたとろ。
基本的には、RHELのクローンなので、インストール手続きには大きな違いは認められないように思う。
定期的に行っている Letsencrypt SSL証明書を更新した。
更新作業は特段の問題もなく完了した。以下、作業記録としてログを残しておいた:
[root@server02 letsencrypt]# certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d *.yamasnet.com -d yamasnet.com Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator certbot-plugin-gandi:dns, Installer None Cert is due for renewal, auto-renewing... Renewing an existing certificate Performing the following challenges: dns-01 challenge for yamasnet.com dns-01 challenge for yamasnet.com Waiting 10 seconds for DNS changes to propagate Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/yamasnet.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/yamasnet.com/privkey.pem Your cert will expire on 2021-07-18. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
更新作業終了後、httpd を restart し、更新を反映:
[root@server02 letsencrypt]# systemctl restart httpd
更新後のSSL証明書の有効期限は、2021/04/19 から 2021/07/18 まで
Letsencrypt SSL証明書の有効期限がひと月を切ったので更新作業を実施した。
以下、更新時のログをアップ:
[root@server02 letsencrypt]# certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d *.yamasnet.com -d yamasnet.com Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator certbot-plugin-gandi:dns, Installer None Cert is due for renewal, auto-renewing... Renewing an existing certificate Performing the following challenges: dns-01 challenge for yamasnet.com dns-01 challenge for yamasnet.com Waiting 10 seconds for DNS changes to propagate Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/yamasnet.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/yamasnet.com/privkey.pem Your cert will expire on 2021-05-16. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
上記変更を反映するため、httpdをrestart:
[root@server02 letsencrypt]# systemctl restart httpd
証明書情報の有効期間を確認:
更新後の有効期間は、2021/02/15 から 2021/05/16