HP Compaq T5000-ホームシードボックス

HP Compaq T5000
古い、しかし面白いデバイス、HP Compaq T5000シンクライアントをhabro-communityに紹介したいと思います。
猫の説明、写真、rtorrent + rutorrentのインストール。


HP Compaq t5000は、私の場合、2003年にリリースされたシンクライアントです。 シンクライアントスタッフィング:
プロセッサTransmeta(tm)Crusoe(tm)プロセッサーTM5800-1000 MHz
記憶128KiB L1キャッシュ
記憶512KiB L2キャッシュ
記憶256MiB SODIMM DDR
VT8231 [PCI-to-ISAブリッジ]
VT8235 ACPI
保管VT82C586A / B / VT82C686 / A / B / VT823x / A / C PIPCバスマスターIDE
ディスク256MB 256MB ATAフラッシュ
バスVT82xxxxx UHCI USB 1.1コントローラー
マルチメディアVT82C686 AC97オーディオコントローラー
ネットワークVT6102 [ラインII]


私の場合、一方にWindows XPが組み込まれ、もう一方にWindows CE .NETがシンクライアントにインストールされました。 インストールされるオペレーティングシステムは、RAMのサイズとIDE DOMモジュールのみに依存します。

最初に思いついたのは、RDP(リモートコントロール)をオンにし、uTorrentをインストールし、USBハードドライブを接続し、それをすべてトレントダウンロードとして使用することでした。 幸いなことに、シンクライアントは20W以内で消費します。

少し考えてから、Ubuntuをインストールすることにしました。 なぜなら CDドライブは手元にありませんでしたが、tftpサーバーが引き上げられ、ネットワーク経由でUbuntuをインストールすることになりました。 また、256MBの組み込みIDE DOMでは明らかに十分ではないため、システムを4ギガバイトのUSBフラッシュドライブに配置しました。 私に合ったインストールオプションをここで説明します。

簡略化して、 netboot.tar.gzからubuntu-installerフォルダーを取得し 、/ tftpboot /と/tftpboot/pxelinux.cfg/01-00-0b-cd-6d-8e-58に追加しました。
include ubuntu-installer/i386/boot-screens/menu.cfg
default ubuntu-installer/i386/boot-screens/vesamenu.c32
prompt 0
timeout 0

01-00-0b-cd-6d-8e-58は、シンクライアントのMACアドレスです。

次に、インストールプロセスrtorrent + rutorrent。


apt-get install rtorrent wget libapache2-mod-scgi apache2 php5 php5-mysql php5-curl screen
wget rutorrent.googlecode.com/files/rtorrent-2.8.tar.gz
tar zxf rtorrent-2.8.tar.gz
mv rtorrent /var/www/
echo 'SCGIMount /RPC2 127.0.0.1:5000' >> /etc/apache2/apache2.conf
ln -s /etc/apache2/mods-available/scgi.load /etc/apache2/mods-enabled/
service apache2 restart
useradd torrent -d /torrents/

echo 'scgi_port = localhost:5000' > /torrents/.rtorrent.rc
echo 'port_range = 6925-6925' >> /torrents/.rtorrent.rc
echo 'schedule = watch_directory,5,5,load_start=/torrents/watch/*.torrent' >> /torrents/.rtorrent.rc
echo 'directory = /torrents/download/' >> /torrents/.rtorrent.rc
echo 'session = /torrents/session/' >> /torrents/.rtorrent.rc
echo 'hash_read_ahead = 32' >> /torrents/.rtorrent.rc
echo 'hash_max_tries = 1' >> /torrents/.rtorrent.rc
echo 'hash_interval = 1' >> /torrents/.rtorrent.rc

mkdir -p /torrents/{download,session,watch}
chown -R torrent:torrent /torrents/
wget libtorrent.rakshasa.no/attachment/wiki/RTorrentCommonTasks/rtorrentInit.sh?format=raw -O /etc/init.d/rtorrent
sed -i 's/user="user"/user="torrent"/' /etc/init.d/rtorrent
chmod +x /etc/init.d/rtorrent
update-rc.d rtorrent defaults
/etc/init.d/rtorrent start


それでは、ハードウェアに移りましょう(写真はクリック可能です)。


画像
画像
画像
画像
画像
画像
画像
画像
画像
画像
画像
画像


美観を重視する場合は、カバーを取り外して、通常のハードドライブを接続するSATAコントローラーを挿入できます。

Source: https://habr.com/ru/post/J80803/


All Articles