User Tools

Site Tools


vps:vps4th_08

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vps:vps4th_08 [2017/09/10 15:18]
hoge@hoge [サーバ証明書の更新]
vps:vps4th_08 [2018/06/23 12:02]
hoge@hoge [アップグレード]
Line 32: Line 32:
 </​code>​ </​code>​
   * prisoner web の /​etc/​periodic/​weekly に配置する   * prisoner web の /​etc/​periodic/​weekly に配置する
 +  * /​etc/​periodic.conf を作成する。<​code>​
 +#!/bin/sh
  
 +# 900.certrenew
 +weekly_certrenew_enable="​YES"​
 +</​code>​
 ==== サーバ証明書の失効 ==== ==== サーバ証明書の失効 ====
 サーバ証明書を失効させる場合は以下の手順で行う サーバ証明書を失効させる場合は以下の手順で行う
Line 56: Line 61:
             * dokuwiki ディレクトリの chown             * dokuwiki ディレクトリの chown
             * 表示幅など (管理 -> テンプレートのスタイル設定)             * 表示幅など (管理 -> テンプレートのスタイル設定)
 +    * 使用しているリリースと「サポートされている FreeBSD のリリース」が異なると、pkg に登録されている package が順次対応しなくなる。
   * パッケージのアンインストール<​code>​   * パッケージのアンインストール<​code>​
 # pkg -j <​jailer名>​ delete <​パッケージ名>​ # pkg -j <​jailer名>​ delete <​パッケージ名>​
 </​code>​ </​code>​
  
 +===== アップデート =====
 +[[https://​www.freebsd.org/​doc/​ja_JP.eucJP/​books/​handbook/​updating-upgrading.html|参照]]
 +  * セキュリティパッチの適用<​code>​
 +# freebsd-update fetch
 +# freebsd-update install</​code>​
  
 +  * jail へセキュリティパッチの適用<​code>​
 +# freebsd-update -b /​usr/​jail/<​Prisoner>​ fetch
 +# freebsd-update -b /​usr/​jail/<​Prisoner>​ install</​code>​
  
- +===== アップグレード ===== 
 +[[https://​www.freebsd.org/​doc/​ja_JP.eucJP/​books/​handbook/​updating-upgrading.html|参照]]\\ 
 +以下実績。 
 +  * jailerをマイナーバージョンアップしたところ、カスタムカーネル作成でエラー。 
 +    * buildworld 後にカスタムカーネル作成で回避。 
 +  * 各 prisoner を[http://​ror.hj.to/​ja/​issei/​entries/​kzx8vj-pa1ivb8zlw4b/​node|更新]]
vps/vps4th_08.txt · Last modified: 2019/06/16 15:16 (external edit)