#author("2025-03-21T01:59:15+00:00","default:iseki","iseki")
#author("2025-03-21T02:00:30+00:00","default:iseki","iseki")
* polaris.star-dust.jp

*** firewalld
 firewall-cmd --add-service=http --permanent
 firewall-cmd --add-service=https --permanent
 firewall-cmd --add-service=smtp --permanent
 firewall-cmd --add-service=smtp-submission --permanent
 firewall-cmd --add-service=pop3s --permanent
 firewall-cmd --add-service=imaps --permanent
 firewall-cmd --reload

*** Postfix
- [[Postfix]]
- [[Dovecot]]
- [[Cyrus SASL]]

*** certbot
- dnf install certbot
- /var/spool/cron/root
 00 3 * * * /usr/bin/certbot renew --post-hook "/usr/bin/touch /tmp/certs_changed" 1>/dev/null 2>&1 && /usr/local/bin/restart-network-services 1>/dev/null 2>&1

- /usr/local/bin/restart-network-services 
<pre>
#!/bin/bash
#
if [ ! -f /tmp/certs_changed ]; then
    exit 1
fi
rm /tmp/certs_changed

#
/usr/bin/systemctl restart httpd
</pre>
*** PHP7 へダウングレード
- 本来 pukiwiki-1.5.3 は PHP-7では動かない
- pukiwiki-1.5.4 を改造したせいで php-8 では動かない模様

- [[PHP7>PHP/PHP7]]

** さくらのクラウド
- さくらクラウド -> IaaS
*** OS の更新はできなさそう
- 別にディスクを作って移行するしかない?

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS