4 posts tagged “linux”
Linuxからネットを見ることが多くなってきた。
下記、VNC接続時の日本語入力を可能にする設定をめっけ。
1、まず
vi /home/()/.vnc/xstartup
2、下記を追記する。
#twm &
LANG=ja_JP.UTF8
exec scim -d &
export XMODIFIERS="@im=SCIM"
exec gnome-session &
サービスだったら、chkconfigだけど、
スクリプトの実行、とかであれば、下記に追記。
ついでに、バックグラウンド実行として、
後ろに & を付与。
more /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#redmine server start up.
ruby /etc/redmine-0.8.3/script/server -e production &
$ write ユーザ名
メッセージ
talk コマンドは相手の承認が必要なので、
作業実施時などで強制的にメッセージを見せたいときに使えそう。
監視ツールで重宝。
今後もいろいろ使えそう。
今回使ったのは、
--spider --no-dns-cache http://URL
上記を使えば、
希望のURLに対して、元となるサーバがDNSで変更されても、
毎回ルックアップしてくれる。
ちなみに、各オプションの詳細は下記に記載。
--spider :何もダウンロードしない
--no-dns-cache :DNS の問い合わせ結果をキャッシュしない