Sat 08/22, 2009

サーバ機リプレース [Site info. and blog ]

t5730-1.jpg当サイトのこれまでのサーバ機には EQUIM 5030 を使用していたが、先日中古で購入した HP Compaq t5730 Thin Client にリプレースした。この機械は "Thin Client" の名の通り、HDD レスで標準では 1GB のフラッシュメモリに Windows XP Embedded SP2 がインストールされているが、普通の i386 PC として使うことができる(プロセッサは AMD Sempron 2100+)。ファンレスでもあるため、静穏・省電力化が期待できる。HDD レスのまま使おうかとも考えたが、データ書き換えでの信頼性や容量の面で 2.5" HDD を搭載した。HDD の接続については「パソコン日記」の記事を参考にさせていただいた。フラッシュメモリ・モジュールが 2.5" IDE HDD とコンパチブルになっている。

t5730OS は NetBSD/i386 5.0.1 を使用した。amd64 でもいけるかと思ったが、インストーラの途中でハングしてしまったため、i386 版のままとしている。まだカーネル・コンフィギュレーションの調整はしていない。pkgsrc でインストールしたモジュールは以下の通りであるが、依存によるものも含まれている。

  • bootstrap-mk-files-20090512 *.mk files for the bootstrap bmake utility
  • bmake-20081111 Portable (autoconf) version of NetBSD 'make' utility
  • pkg_install-20090724 Package management and administration tools for pkgsrc
  • digest-20080510 Message digest wrapper utility
  • libtool-base-1.5.26nb1 Generic shared library support script (the script itself)
  • sudo-1.7.1 Allow others to run commands as root
  • m4-1.4.13 GNU version of UNIX m4 macro language processor
  • bison-2.4.1nb1 GNU yacc(1) replacement
  • bash-4.0.24 The GNU Bourne Again Shell
  • dnsmasq-2.49 Lightweight, easy to configure DNS forwarder
  • zip-2.32 Create/update ZIP files compatible with pkzip
  • gmake-3.81 GNU version of 'make' utility
  • unzip-5.52nb4 List, test and extract compressed files in a ZIP archive
  • bzip2-1.0.5nb1 Block-sorting file compressor
  • bunzip-0.21 Decompressor for bzip .bz files
  • pkg-config-0.23nb1 System for managing library compile/link flags
  • x11-links-0.43 Shadow tree of links to native X11 headers and libraries
  • perl-5.10.0nb6 Practical Extraction and Report Language
  • jpeg-6bnb4 IJG's jpeg compression utilities
  • tiff-3.8.2nb6 Library and tools for reading and writing TIFF data files
  • png-1.2.37 Library for manipulating PNG images
  • libungif-4.1.4nb1 Tools and library routines for working with GIF images
  • emacs-22.3nb2 GNU editing macros (editor)
  • nbitools-6.3nb4 imake and tools derived from NetBSD-current/xsrc
  • Canna-lib-3.6pl4nb2 Kana-Kanji conversion system (lib)
  • Canna-server-3.6pl4nb4 Kana-Kanji conversion system (server)
  • Canna-dict-3.6pl4nb1 Kana-Kanji conversion system (dict)
  • Canna-3.6pl4nb2 Kana-Kanji conversion system (meta-package)
  • jasper-1.900.1nb2 Software-based reference implementation of the
  • JPEG-2000 codec
  • libltdl-1.5.26 Generic shared library support (libltdl abstraction library)
  • lcms-1.18.0.1 Little Color Management System -- a color management library
  • libexif-0.6.17nb1 EXIF file library
  • xmlcatmgr-2.2nb1 XML and SGML catalog manager
  • libxml2-2.7.3 XML parser library from the GNOME project
  • ImageMagick-6.5.3.2 Package for display and interactive manipulation of images
  • p5-DBI-1.609 The database-independent Perl database access API
  • apr-1.3.8 Apache Portable Runtime
  • apr-util-1.3.9 Apache Portable Runtime utilities
  • apache-2.2.12 Apache HTTP (Web) server, version 2.2
  • ap22-perl-2.0.4nb5 Module that embeds a Perl interpreter into Apache
  • wwwcount-2.5nb2 Graphical access counter, clock and date indicator for WWW pages
  • db4-4.7.25.3 Berkeley DB version 4 from Oracle
  • gd-2.0.35nb1 Graphics library for the dynamic creation of images
  • webalizer-2.20.3 Web server log file analysis program
  • wget-1.11.4 Retrieve files from the 'net via HTTP and FTP
  • p5-MIME-Base64-3.08 Perl5 module for Base64 and Quoted-Printable encodings
  • p5-Digest-1.16 Perl5 base class for Digest:: modules
  • p5-Digest-SHA1-2.12 Perl5 module for SHA1
  • p5-Digest-MD5-2.39 Perl5 extension interface for MD5 algorithm
  • p5-Digest-HMAC-1.01nb3 Perl5 module for HMAC
  • p5-Math-BigInteger-1.0nb3 Arbitrary length integer extension module for Perl
  • p5-Net-IP-1.25nb1 Perl extension for manipulating IPv4/IPv6 addresses
  • p5-Socket6-0.23 Perl5 module to support getaddrinfo() and getnameinfo()
  • p5-IO-Socket-INET6-2.56 Perl object interface for AF_INET|AF_INET6 domain sockets
  • p5-Net-DNS-0.65nb1 Perl5 module for DNS resolution
  • popa3d-1.0.2nb1 Secure, reliable, performant, and small pop3 server
  • p5-PerlMagick-6.5.3.2 Object-oriented Perl interface to ImageMagick
  • sqlite3-3.6.14.2 SQL Database Engine in a C Library
  • p5-DBD-SQLite-1.25 Perl DBI/DBD driver for sqlite databases

Web のコンテンツなどは旧システムからそのままコピー。mt や fswiki もそのまま。apache は 2.0 から 2.2 になったが設定は引き継いでいる。今回、DNS Proxy + dhcpd として dnsmasq を導入した。

t5730-2[2009.08.29]
UPS も用意して我が家のサーバとして稼動している。温度計は40度を僅かに超えるくらいを指している。
フラッシュメモリ・モジュールのコネクタ部はメス(マザーボード側がオス)なので 2.5" IDE HDD を接続するためにヘッダ付きのフラットケーブルを使う。ケーブルはジャンク店でゲットした 2.5" HDD 二台を 3.5" HDD ベイに変換するアダプタに付属していたものを使っている。こうして HDD をつなぐと普通の PC となんら変わらない。ケーブルをケース外に引き出すために、ケースの一部を加工している。シリアルポートもあるから UPS からの制御信号も受け取れるが、そちらはまだ準備していない。

Posted by masato at 08:20 PM
このエントリーのトラックバックURL: http://bird.dip.jp/cgi-bin/mt/mt-tb.cgi/1718
コメントする

おそらく携帯電話等からは投稿できません。日本語文字列を含まないコメントやトラックバック、および当サイトへの言及を含まないトラックバックは御遠慮いただいております。また、90日以上経過した記事へのコメントはできません。










名前、アドレスを登録しますか?