[CentOS 5.6] すべてのログをリモートコンソール(VNCコンソール)に出力する方法を教えてください。
-
CloudCore VPS 2048 にてご提供している CentOS 5.6 では、リモートコンソール(VNC コンソール)に初期設定時、プロセス起動ログを表示しておりません。
すべてのログを出力したい場合は以下、設定ファイルの修正が必要となります。設定ファイルの修正手順
設定ファイル名 : /boot/grub/menu.lst
"title CentOS ..." から始まっている4行の "kernel" 行を下記のように修正。
- 修正前
title CentOS (2.6.18-274.7.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-274.7.1.el5 ro root=LABEL=/ console=tty0 console=ttyS0,115200n8
initrd /boot/initrd-2.6.18-274.7.1.el5.img - 修正後
title CentOS (2.6.18-274.7.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-274.7.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-274.7.1.el5.img
- 修正前