yuu_nkjm blog
2012-11-07(Wed) [長年日記] 編集
[tDiary] tDiary 3.0.1から3.2.0へのアップデート
公式サイトtDiary.orgより,最新安定版のフルセットをダウンロード(http://www.tdiary.org/download/tdiary-full-3.2.0.tar.gz)し,適当なディレクトリに展開した.展開したディレクトリに出来た全てのファイルを,Webサーバ上のtdiaryディレクトリ以下に全コピーしたらうまくアップデートできた.
[ツッコミを入れる]
2012-11-06(Tue) [長年日記] 編集
[Apache] apache2ctl (ロードされているモジュールの確認など)
ロードされているモジュールの確認
# apache2ctl -t -D DUMP_MODULES httpd2: apr_sockaddr_info_get() failed for suse-vbox httpd2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) actions_module (shared) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_default_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) env_module (shared) expires_module (shared) include_module (shared) log_config_module (shared) mime_module (shared) negotiation_module (shared) setenvif_module (shared) ssl_module (shared) userdir_module (shared) reqtimeout_module (shared) proxy_module (shared) proxy_ajp_module (shared) Syntax OK
ヘルプ
Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S]
Options:
-D name : define a name for use in directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
-T : start without DocumentRoot(s) check
[ツッコミを入れる]
2012-11-05(Mon) [長年日記] 編集
[WordPress] wordpressの手動アップグレード(アップデート)
PHP5.1系では最新版のWordpressが動作しなかったので,手動でPHP5.1系で動作する最新版らしきもの(Wordpress 3.1.4)に更新した.
- データベースをバックアップ.
- プラグインを無効化.ログアウト.
- WordPress | 日本語 リリースからアップデートしたい版をダウンロードする.
- 古いファイルの待避と新しいファイルのコピー.
mv old/wp-admin old/wp-admin-2012-11-06 mv old/wp-includes old/wp-includes-2012-11-06 copy old/wp-content old/wp-content-2012-11-06 copy old/* old/bkup-2012-11-06 copy old/.* old/bkup-2012-11-06 copy new/wp-admin old/ copy new/wp-includes old/ copy new/wp-content old/ copy new/* old/
- adminツール(http://www.hoge.nkjm.info/wordpress/wp-admin/upgrade.php)からアップグレード.
- プラグインを有効化
関連ページ
以下のオフィシャルサイトにならえばOK.WordPress のアップグレード/詳細 - WordPress Codex 日本語版
[ツッコミを入れる]