2010-11-28から1日間の記事一覧

xenのインストール

xenでCentOSをインストールしたときのメモなぜか、対話での入力ができなかったのでオプション指定でインストール # virt-install --nographics --paravirt ERROR A name is required for the virtual machine. (use --prompt to run interactively) # virt-i…

ntpのインストール

なんか毎回忘れてググルので時刻あわせのメモ # yum install ntp # date 2002年 1月 2日 水曜日 13:35:33 JST # ntpdate 133.100.9.2 28 Nov 17:54:03 ntpdate[5219]: step time server 133.100.9.2 offset 280988302.678879 sec # date 2010年 11月 28日 日…

iptablesの設定

コマンド 一覧表示 iptables -L 全部削除 iptables -F アクセス許可 iptables -A INPUT -p tcp --dport 80 -j ACCEPT ルールの保存 /etc/init.d/iptables save前提知識↓から使いそうなのを抜粋 http://linux.kororo.jp/cont/security/iptables.php INPUT 自…

xenコマンド メモ

起動確認 # xm list 起動 # xm create xen10 停止 # xm shutdown xen10 再起動 # xm reboot xen10 ゲストOSの自動起動 # cd /etc/xen/auto # ln -s /etc/xen/xen10 xen10 # chkconfig xendomains on コンソール接続 # xm console xen10