Archive for the ‘Serverの構築と運用覚書き’ Category
AlmaLinx8.3上に メールサーバを構築するため、Postfix + Dcovecot をインストール。
加えて、Clamav、Amavisdをインストール。Postfix と Clamavを連携するなどし、送受信メールのリアルタイムスキャンを可能にした。
また、電子署名・検証技術 OpenDKIMをインストール設定した。
インストール時のログとメールサーバ設定に必要な設定作業について記述した。
(続きを読む)
Posted in Serverの構築と運用覚書き | No Comments »
Wednesday, June 2nd, 2021
AlmaLinux8.3上でhttpd, mysql, phpをインストールした。
インストール時のログをアップしておいた。
(続きを読む)
Posted in Serverの構築と運用覚書き | No Comments »
前回のエントリーに書いたように Linux distribution を CentOSから AlmaLinuxへ移行する作業を進めている。
移行作業は、ほぼ完了し、この記事自体はAlmaLinux8.3を搭載したサーバー上で書いている。この移行作業に合わせてパケットフィルタリングを firewalldに代えnftablesの使用に変更したので、この設定内容などについてメモしておくことにした。
(続きを読む)
Posted in Serverの構築と運用覚書き | No Comments »
これまで利用してきたCentOS Linux 8 が2021年12月末にサポート終了となり、今年以降、このOSについてバグフィックスやセキュリティパッチの提供がなくなるという。
この流れを受けて、我が自宅サーバについて、これに代え、RHELのクローンとしてリリースされたAlmaLinux 8 の利用を検討することにした。
これまでに、AlmaLinux を予備用の物理サーバ上にインストールし、動作確認をしたとろ。
基本的には、RHELのクローンなので、インストール手続きには大きな違いは認められないように思う。
Posted in Serverの構築と運用覚書き | No Comments »
Tuesday, April 20th, 2021
定期的に行っている 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 まで
Posted in Serverの構築と運用覚書き | No Comments »