This is an old revision of the document!
バックアップで作成したファイルを Googleドライブへアップロードする。
griveを使用するので正確には同期となる。
#cd <Google ドライブと同期したいディレクトリの一つ上> #grive -a -s <Google ドライブと同期したいディレクトリ> | tee <出力先ファイル>
Please input the authentication code here: <認証コードを入力> Reading local directories Reading remote server file list Synchronizing files sync "./<Google 同ライブと同期したいディレクトリ>" created in remote. creating local Finished!
サーバ証明書の有効期間が 90日となっている。更新忘れが発生しないよう自動更新の設定を行う。
#!/bin/sh certbot renew --pre-hook "service apache24 stop" --post-hook "service apache24 start"
サーバ証明書を失効させる場合は以下の手順で行う
# certbot revoke --cert-path <執行させたい cert.pem のパス>
# pkg search <パッケージ名(一部)>
# pkg -j <jailer名> install <パッケージ名>
# pkg -j <jailer名> info
# pkg -j <jailer名> upgrade
</code>
# pkg -j <jailer名> delete <パッケージ名>