オフライン
BBIQの撤去はまだだが、明日の引越しに備えてパソコンやサーバ関係をすべて切断。
テレビやオーディオ、パソコンなど家電製品の梱包は基本的にサカイでやってくれるそうなのだが、GT110bは工場出荷時の梱包に戻して万全を期す。
“なっちゃん"にも歯が生えたよ。
参照
サカイ引越センター http://www.hikkoshi-sakai.co.jp/
BBIQの撤去はまだだが、明日の引越しに備えてパソコンやサーバ関係をすべて切断。
テレビやオーディオ、パソコンなど家電製品の梱包は基本的にサカイでやってくれるそうなのだが、GT110bは工場出荷時の梱包に戻して万全を期す。
“なっちゃん"にも歯が生えたよ。
サカイ引越センター http://www.hikkoshi-sakai.co.jp/
24日に導入したPostfixだが、virtual配送エージェントでは拡張アドレス毎の転送制御ができないと判断し、local配送エージェントに変更。
アンチスパムは引っ越し後でいいかと思っていたのだが、100通/日以上溜まってしまったので取り敢えず粗めに半分でも弾いてもらえばいいかと思い、nkf,dovecot-antispam,spamassassin,spamassassin-rules-ja,procmailをinstall。
~/.forward
"|exec /usr/bin/procmail -f- || exit 75"
~/.procmailrc
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Maildir/
LOGFILE=$MAILDIR/procmail.log
LOCKFILE=$HOME/.lockmail
FORMAIL=/usr/bin/formail
DEFAULT=$MAILDIR
:0fw
*!^X-Spam.*
| /usr/bin/spamc --max-size=1000000
:0
*^X-Spam-Status: Yes
$HOME/.Spam/
:0
*^X-Spam-Status: No
{
:0 c
!account@pdx.ne.jp
}
VPS(仮想専用サーバ)のさくらインターネット http://vps.sakura.ad.jp/
昨日本契約した事を受けて本日17時過ぎにOP25Bが解除され、ようやくメールが飛ぶようになった。
というわけで、今夜からひと足お先にbravotouring.comがさくらのVPSに移転です。
VPS(仮想専用サーバ)のさくらインターネット http://vps.sakura.ad.jp/
/etc/postfix/main.cfを編集し、
## 拡張メールアドレスデリミタを'-'に変更
#recipient_delimiter = +
recipient_delimiter = -
拡張メールアドレスを使えるようになったのはいいのだが、.forwardによる転送でも宛先アカウントにメールアドレスの拡張部分が付与されてしまい、rejectされているような…
SMTP RelayがうまくいかないのはOP25Bと判明。残念ながら試用期間中はもれなく適用されるそうだ。引越し終わればキャンセルしようかと思っていたのだが、止む無く本契約に移行する事を決めて2ヶ月分の使用料をクレジットカードで決済。
VPS(仮想専用サーバ)のさくらインターネット http://vps.sakura.ad.jp/
Postfixのぺーじ http://www.postfix-jp.info/
21日、22日に続いてメールサーバpostfixとdovecot-postfixのinstall。ちなみにpostfixがVersion 2.7.0-1で、dovecot-postfixはVersion 1:1.2.9-1ubuntu6となった。
$ apt-get install postfix dovecot-postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d libpq5
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader
The following NEW packages will be installed:
dovecot-common dovecot-imapd dovecot-pop3d dovecot-postfix libpq5 postfix
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,371kB of archives.
After this operation, 19.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq5 8.4.7-0ubuntu0.10.04 [86.2kB]
Get:2 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-common 1:1.2.9-1ubuntu6.3 [5,216kB]
Get:3 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-imapd 1:1.2.9-1ubuntu6.3 [1,165kB]
Get:4 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-pop3d 1:1.2.9-1ubuntu6.3 [1,064kB]
Get:5 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main postfix 2.7.0-1ubuntu0.1 [1,321kB]
Get:6 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main dovecot-postfix 1:1.2.9-1ubuntu6.3 [518kB]
Fetched 9,371kB in 5s (1,782kB/s)
Preconfiguring packages ...
Selecting previously deselected package libpq5.
(Reading database ... 43158 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_8.4.7-0ubuntu0.10.04_i386.deb) ...
Selecting previously deselected package dovecot-common.
Unpacking dovecot-common (from .../dovecot-common_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package dovecot-imapd.
Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_1%3a1.2.9-1ubuntu6.3_i386.deb) ...
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_2.7.0-1ubuntu0.1_i386.deb) ...
Selecting previously deselected package dovecot-postfix.
Unpacking dovecot-postfix (from .../dovecot-postfix_1%3a1.2.9-1ubuntu6.3_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up libpq5 (8.4.7-0ubuntu0.10.04) ...
Setting up dovecot-common (1:1.2.9-1ubuntu6.3) ...
Creating config file /etc/dovecot/dovecot.conf with new version
Creating config file /etc/dovecot/dovecot-ldap.conf with new version
Creating config file /etc/dovecot/dovecot-sql.conf with new version
adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
update-rc.d: warning: dovecot stop runlevel arguments (1) do not match LSB Default-Stop values (0 1 6)
* Starting IMAP/POP3 mail server dovecot [ OK ]
Setting up dovecot-imapd (1:1.2.9-1ubuntu6.3) ...
* Restarting IMAP/POP3 mail server dovecot
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
[ OK ]
Setting up dovecot-pop3d (1:1.2.9-1ubuntu6.3) ...
* Restarting IMAP/POP3 mail server dovecot
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
[ OK ]
Setting up postfix (2.7.0-1ubuntu0.1) ...
Adding group `postfix' (GID 114) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 115) ...
Done.
setting myhostname: mail.bravotouring.com
setting alias maps
setting alias database
changing /etc/mailname to mail.bravotouring.com
setting myorigin
setting destinations: mail.bravotouring.com, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Setting up dovecot-postfix (1:1.2.9-1ubuntu6.3) ...
Configuring postfix for dovecot-postfix integration: .................... done.
* Restarting IMAP/POP3 mail server dovecot
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
[ OK ]
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
まずは、バーチャルドメイン管理ユーザー(10000:10000)の"post"を追加。
昨年7月23日に生まれたなっちゃん。おかげさまで無事に9ヶ月を迎えました。
体重は8.9kgで、先月比+150gほど。伸び悩みというよりもそれだけ運動量が増えたという事らしい。
テーブル一周もスピードアップと共に逆回りも熟すようになり、一段と洗練した雰囲気で、下顎には歯が生え始めた気配。
YouTube http://www.youtube.com/
新居用のエアコン調達大作戦。

AN71LRPJ×2台と照明器具等
リビングと1Fの事務所はそれぞれ20畳前後もある事から、出力7.1kWクラスが2台必要となる。まともに買うとヨドバシあたりでも1台30万円前後が相場となるので、当然型遅れで割安となる昨年度モデルから物色。
震災の影響を考えて早めに動いたつもりだったのだが、実は7.1kWの大型機は仮設住宅には縁がないので実は関係なく、逆に元々生産台数が少ない上に節電ブームと部品・資材不足から旧モデルはおろか2011モデルも在庫僅少との事。
いちお、4月頭には富士通ゼネラルのVシリーズならば27万円程度で入手可能という事だったが、今日明日必要なものでもないので持ち帰ってネットで精査したところ、【楽天市場】エアコンのマツにてダイキンの2010年モデルAN71LRPJを発見。
ダイキンのRシリーズは「うるる加湿」と称するユニークな無給水加湿機能を装備した家庭用エアコンでも最上級のモデル。2011年モデルでは更に光速ストリーマと称する空気清浄機能まで追加されたのだが、昨年調達済みの空気清浄機「うるおい光クリエール」があるので、機能を重複させるよりもその分割安な方が理に適っている。
値下りを待ちながらポイントキャンペーンを見計らって185,000円で2台調達。気になる送料はもちろん無料だ。9,450円/台で10年延長保証も付けて万全。全部で50万円は下らないかと思ってたのだが、根気強く探した甲斐があったよ。
家電 Watch http://kaden.watch.impress.co.jp/
ダイキン工業株式会社 http://www.daikin.co.jp/
【楽天市場】エアコン専門店 エアコンのマツ http://www.rakuten.co.jp/airmatsu/
昨日の続き。apache2とphp5のinstall。
yano@vps:~$ apt-get install apache2 php5-mysql php5-cli libapache2-mod-php5
に続いて、サイトの設定。default-siteを元に設定ファイル~yano/etc/apache2/www.bravotouring.comを作成し、default-siteはdisableに。
$ cd /etc/apache2/
$ sudo a2dissite default
Site default disabled.
Run '/etc/init.d/apache2 reload' to activate new configuration!
$ sudo a2enmod ssl
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
$ cd /etc/apache2/sites-available/
$ su -
# ln -s ~yano/etc/apache2/www.bravotouring.com /etc/apache2/sites-available/
# ln -s ~yano/etc/apache2/www.bravotouring.com-ssl /etc/apache2/sites-available/
# a2ensite www.bravotouring.com
Enabling site www.bravotouring.com.
Run '/etc/init.d/apache2 reload' to activate new configuration!
# a2ensite www.bravotouring.com-ssl
Enabling site www.bravotouring.com-ssl.
Run '/etc/init.d/apache2 reload' to activate new configuration!
# make-ssl-cert /usr/share/ssl-cert/ssleay.cnf ~yano/apache-ssl.crt
~~ WindowでCommonName(サイト名)の設定 ~~
# openssl x509 -in ~yano/apache-ssl.crt > /etc/ssl/certs/ssl-cert-www.bravotouring.com.pem
# openssl rsa -in ~yano/apache-ssl.crt > /etc/ssl/private/ssl-cert-www.bravotouring.com.key
# chmod 640 /etc/ssl/private/ssl-cert-www.bravotouring.com.key
# rm ~yano/apache-ssl.crt
続いてphp5関連でPCREの設定とUserDirの設定。
まずはお約束の設定変更。
$ sudo /usr/sbin/groupmod -n owner yano
$ sudo update-alternatives --config editor
で、グループ名とデフォルトエディタを変更。
$ sudo visudo
sudoでいちいちパスワードを打たなくていいようvisudoでNOPASSWDオプションを付与しておく。
%admin ALL=(ALL) NOPASSWD: ALL
$ sudo vi /etc/ssh/sshd_config
$ sudo /etc/init.d/ssh restart
で、sshのポート番号を変更し、パスワード認証とrootログインを禁止。
続いてaptをアップデートし、ntpやbuild-essentialを導入し、ntpサーバをntp.jst.mfeed.ad.jpに変更。
$ sudo apt-get update
$ sudo apt-get install ntp build-essential
$ sudo vi /etc/ntp.conf
$ sudo /etc/init.d/ntp restart
それからnsdを導入。パッケージとしてはnsd3とnsdがあるが、積極的に旧版をチョイスするだけの根拠は持ち合わせて無いので、素直にnsd3を導入。
$ sudo apt-get install nsd3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nsd3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 842kB of archives.
After this operation, 1,622kB of additional disk space will be used.
Get:1 http://jp.archive.ubuntu.com/ubuntu/ lucid/universe nsd3 3.2.4-1 [842kB]
Fetched 842kB in 0s (1,037kB/s)
Selecting previously deselected package nsd3.
(Reading database ... 42388 files and directories currently installed.)
Unpacking nsd3 (from .../archives/nsd3_3.2.4-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up nsd3 (3.2.4-1) ...
dpkg-statoverrides: warning: --update given but /etc/nsd3/nsd.conf does not exist
**Could not open /etc/nsd3/nsd.conf: No such file or directory**
Could not open /etc/nsd3/nsd.conf: No such file or directory
* Building nsd3 zones...
Could not open /etc/nsd3/nsd.conf: No such file or directory
**invoke-rc.d: initscript nsd3, action "start" failed.**
dpkg: error processing nsd3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nsd3
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo ls -la /etc/nsd3/
total 16
drwxr-x--- 2 nsd nsd 4096 2011-04-21 15:44 .
drwxr-xr-x 77 root root 4096 2011-04-21 15:44 ..
-rw-r--r-- 1 root root 4406 2010-02-09 00:35 nsd.conf.sample
と、ひと通りのインストールは出来ているみたいだが~/etc/nsd3/nsd.confが無いという事で起動エラーが出る。ていうか、何も設定してないのに起動しちゃダメでしょう、というわけで/var/lib/dpkg/info/nsd3.postinstのサービス起動処理をコメントアウト
震災の影響で福島~盛岡で不通となっている東北新幹線。

先月11日の大地震による被害状況が国土交通省の交通政策審議会:中央新幹線小委員会で報告されている。
被災区間は大宮-いわて沼宮内間の536km。上越新幹線「とき325号」の10両中8両が脱線した2004年の新潟中越地震と比較して9~10倍の規模だが、営業運転中だった26本もの列車が一両も脱線せず無事に停止できたのは何よりだったね。
今回の震災では1200箇所を超える数の地上施設が被災したそうだが、高架橋や橋梁、トンネルなどの構造物については大きな損傷が無かった事から、阪神・淡路大震災後に見直された耐震基準に従った補強が為された東海道新幹線はもちろん、リニア中央新幹線についても追加的補強は不要との事。
という事は、九州新幹線も大丈夫という事かな。
『携帯インフラ復旧の現場から』も興味深いので読んでおきたい。
日本経済新聞 http://www.itmedia.co.jp/news/ » モバイルの達人(石川温)
国土交通省 http://www.mlit.go.jp/ » 交通政策審議会:中央新幹線小委員会
YouTube http://www.youtube.com/