$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
2006-12-21 (木曜日) In: FreeBSD|Make World|Server(1,620 views)
リモートでFreeBSDのアップデートをする。
個人で立ててるサーバーなのでシングルユーザーモードに入ってとかは気にしないことにしてます。
[code]
# cd /usr/src
# make -j 4 buildworld
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
# reboot
:
# cd /usr/src
# mergemaster -p
# make installworld
# mergemaster
# reboot
[/code]
しかし、毎度のことながらリブートしてからsshでつながるまでの間の緊張感はたまりません。昔、某プロバイダのデータセンターにサーバーを置かせ てもらっていた時がありましたが、その時/etc/rc.confの編集をミスってリブートしてしまい再起動できなくなって現場まで出かけざるを得なく なってかなり焦った経験があります。今のサーバーもかなり距離が離れているので現場に行くのはかなり面倒です。ネットワーク的には同じプロバイダ内で閉じ ているので近いんですけどね。
Read the rest of this entry »
QLDの場合、日本の免許があれば筆記試験を受けて合格すれば豪州の運転免許をもらえたのが、最近筆記試験が不要になったらしいです。
Queensland Transport recognises driver licences issued from the following countries:
- Austria
- Belgium
- Canada
- Croatia
- Denmark
- Finland
- France
- Germany
- Greece
- Ireland
- Italy
- Japan
- Luxembourg
- the Netherlands
- New Zealand
- Norway
- Portugal
- Singapore
- Spain
- Sweden
- Switzerland
- the United Kingdom
- the United States of America
Applicants from these counties (excluding applicants from external territories of those recognised countries) are not required to take a written road rules or practical driving test when applying for a car or motorcycle licence in Queensland.
より正確には、日本で5年以上免許を持っていて、特殊な条件がついていなければ、筆記試験も無しで発行してくれるようです。 最低必要な書類は、免 許の翻訳文・パスポートとビザ・英語で名前の書かれた銀行のカードかクレジットカードと現住所の証明。現住所の証明が難しい場合は宣言書(PDF)を出せばOKらしい。
参考;
I hold a foreign driver licence. How do I get a Queensland driver licence?
To get a Queensland driver licence for the same class as your foreign driver licence, you will need to:
Refer to the licensing and overseas licence holders areas for more information about obtaining a Queensland driver licence.
You may also be required to:
2006-12-21 (木曜日) In: FreeBSD|Squirrelmail(862 views)
Squirrelmailでヘッダの発信元を隠すように細工。
変更箇所は一箇所。同じサーバーのプロキシ経由での発信に見える、はず。
[code]
# cd /usr/local/www/squirrelmail/class/deliver
# diff Deliver.class.php.org Deliver.class.php
400,405c400,406
< if (isset($encode_header_key) && trim($encode_header_key)!='') {
< // use encrypted form of remote address
< $message_id.= OneTimePadEncrypt($this->ip2hex($REMOTE_ADDR),base64_encode($encode_header_key));
< } else {
< $message_id.= $REMOTE_ADDR;
< }
---
> // if (isset($encode_header_key) && trim($encode_header_key)!='') {
> // // use encrypted form of remote address
> // $message_id.= OneTimePadEncrypt($this->ip2hex($REMOTE_ADDR),base64_encode($encode_header_key));
> // } else {
> // $message_id.= $REMOTE_ADDR;
> // }
> $message_id.= 'ほげほげ(IPアドレス)';
418a420
> $received_from = "ほげほげ(IPアドレス)";
[/code]
これで発信したメールヘッダはこんな感じになります。
[code]
Received: from www.ほげほげドメイン (localhost.ほげほげドメイン [127.0.0.1])
by ほげほげドメイン (Postfix)
with ESMTP id 50F9B5066FF for < 宛先メールアドレス>;
Thu, 21 Dec 2006 13:47:53 +0900 (JST)
Received: from ほげほげ(IPアドレス) (SquirrelMail authenticated user hogehoge)
by ほげほげドメイン
with HTTP;
Thu, 21 Dec 2006 13:47:53 +0900 (JST)
Message-ID: <2933.ほげほげ(IPアドレス).1166676473.squirrel@www.ほげほげドメイン>
[/code]
日々の四方山話を徒然と・・・
いらっしゃいませ。このブログはオーストラリアの生活に関する話題とFreeBSDに関連する話題を主に色々と書き綴っています。
Sorry, This site consists of Japanese contents only. If you are interested in my blog, feel free to leave your comments in English or Japanese. Thank you.