*データの移行 [#ua01212c] **アカウント [#vd5a6e60] 次のファイルを、適宜編集。 -/etc/passwd -/etc/shadow -/etc/group **データのコピー [#nb9fe079] コピー先の /etc/ssh/sshd_config を編集。 PermitRootLogin yes コピー元でrsyncを使ってコピー。 # rsync -avz -e ssh <コピーするディレクトリ> <コピー先のマシン>:<コピー先のディレクトリ> **PukiWiki [#jc9a95c6] 1.4.4の場合、次の対策が必要。 -lib/func.phpを変更 // ページ名のエンコード function encode($key) { return ($key == '') ? '' : strtoupper(bin2hex($key)); // Equal to strtoupper(join('', unpack('H*0', $key))); // But PHP 4.3.10 says 'Warning: unpack(): Type H: outside of string in ...' } // ページ名のデコード function decode($key) { // Warning: pack(): Type H: illegal hex digit ... return preg_match('/^[0-9a-f]+$/i', $key) ? pack('H*', $key) : $key; } 参照:http://pukiwiki.sourceforge.jp/?%E8%B3%AA%E5%95%8F%E7%AE%B13%2F298 |