PalmDreams本文へジャンプ

PicoWorkshop


Project LinuxLinux

項目コマンド例説明APCのUPS ES500 を接続する。# yum install apcupsd

------------------------------------

/etc/apcupsd/apcupsd.conを書き換える。



# Note: BATTERYLEVEL, MINUTES, and TIMEOUT work in conjunction, so
# the first that occurs will cause the initation of a shutdown.
#

# If during a power failure, the remaining battery percentage
# (as reported by the UPS) is below or equal to BATTERYLEVEL,
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 20 <-- 5

# If during a power failure, the remaining runtime in minutes
# (as calculated internally by the UPS) is below or equal to MINUTES,
# apcupsd, will initiate a system shutdown.
MINUTES 5 <-- 3

# If during a power failure, the UPS has run on batteries for TIMEOUT
# many seconds or longer, apcupsd will initiate a system shutdown.
# A value of 0 disables this timer.
#
# Note, if you have a Smart UPS, you will most likely want to disable
# this timer by setting it to zero. That way, you UPS will continue
yum を使用して apcupsdをインストールする。

その後 confファイルを変更する。バッテリ 残量が20%を下回った場合 または 電源異常が 5分間継続した場合にシャットダウンするように設定する。
でもこの設定はお好みで..
Kernelのバージョンを知る。# uname -aファイルブラウザが多数重ならないようにするシステム -> 設定 -> ファイル管理 ->

動作のタブを選択して

常にブラウザウィンドウで開くにチェックを入れる。
IPアドレスの登録情報を得るwhois 125.187.32.131登録された国
連絡先が表示される。


スパムメールの発信先の情報を調べる時に有効。X windowが動作しない場合

SetUpを失敗した場合X window system が起動するか試してみる。
# startx

起動に失敗した場合は、
# yum -y update yum
# yum -y groupinstall "X Window System"
# yum -y groupinstall "GNOME Desktop Environment"

# setup

OSのアップグレードなどで希に発生する障害です。grub の起動順序変更/boot/grub/menu.lstを編集してデフォルトで立ち上がるOSを指定したりできる。先頭の起動優先が高い。grubによる手動bootLinuxを起動したい場合
grub> root (hd0,0) パーテンション構成により異なります。
grub> kernel /vmli<ここでTABを押すとファイル名が自動補完されて以下の様になる>
grub> kernel /vmlinuz~~.fc9
青字部分を追記する
grub> kernel /vmlinuz~~.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
grub> initrd /init<ここでTABを押すと以下の様になる>
grub> initrd /initrd~~.img
grub> boot

パーテーションは予め確認しておくこともしくは、記録を残しておくことがベストハードウェア構成を調べる。yum install lshw lshw-guiハードウェア構成をリポート
ページの先頭へ




ページの先頭へ