2011-08-01から1ヶ月間の記事一覧

自分用メモ/バグ有:時間短縮、postfixインストール

■テスト環境でさっさと構築してしまいたい時の為に 以下を「postfix-install.sh」として保存、 「chmod +x postfix-install.sh」 「./postfix-install.sh | tee -a postfix-install.log」 として、ユーザ権限で実行する。 ※sudoパスワードと、suのパスワード…

4Stepで出来るtelnetによるメール自動送信

■参考URL http://www.upken.jp/kb/MufpwKGwAWqKZSUeVJqCVxRNMrYUmw.html ■Step1 以下をコピペで実行(先頭の「$」は除く) $ echo '#!/bin/sh -x TDATE=`date '+%Y/%m/%d %H:%M'` TFQDN=`hostname -f` TUSER=`whoami` PORT=25 TPASS=$1 THOST=`hostname -s` (s…

amanda仮想テープでバックアップ/リストア

※実際には8/18のネタです。 ■テープ情報の指定について $ man amanda.conf | grep -A 8 "tapetype string" tapetype string Default: EXABYTE. The type of tape drive associated with tapedev or tpchanger. This refers to one of the defined tapetypes …

amanda 仮想テープバックアップ【backup宛のメール】

※実際には8/18のネタです。 ■postfixを導入してbackupユーザを追加 ★以下と同じ設定 http://ameblo.jp/labunix/entry-10944774781.html $ MYNAME=backup;PASS=xxx; \ sudo saslpasswd2 -c -u `hostname -f` $MYNAME;\ sudo testsaslauthd -u $MYNAME -s `hos…

バックアップツールのamandaを使ってみた

※実際には、8/18のネタです。 ■参考URL http://www.howtoforge.com/disk-backup-with-amanda-on-debian-lenny ■メインのサーバ、クライアントをインストール。 $ echo "amanda-server amanda-client" | \ for list in `xargs`;do sudo apt-get install -y "$…

XDMCP経由でVMware-Player、VMware-VIXをインストール

※実際には8/17のネタです。 ※インストール作業は、root権限で行います。 ■VMware Playerのスクリプトを実行する。 # ./VMware-Player-3.1.4-385536.x86_64.bundle ■VMware VIXのスクリプトを実行する。 # ./VMware-VIX-1.10.3-368992.x86_64.bundle ■sshのX…

Gnome用の日本語環境(Anthy)を設定する

■Debian Lennyで最小構成でインストールした場合。 ※インストール時に、「デスクトップ環境」を外した場合のみ。 ■XRDPについては前のブログに。 http://ameblo.jp/labunix/entry-10928706322.html ■Anthyとscimパッケージをインストールします。 $ echo "an…