freebsd

そうか、FreeBSD を新しくセットアップする時に、設定内容を設定する野良portsをつくっておいて、それでセットアップすればいいんか!

日本語でおk!自分で読んでも、よくわからん文章だ. http://d.hatena.ne.jp/taizooo/comment?date=20070413&section=serial_console_on_freebsd#c otsune 『私は cd /usr/ports/sysutils/comconsole make install しちゃいます。 (/usr/ports/sysutils/co…

FreeBSD を Serial Console として設定する.

dmesg で sio0 が動作しているのを確認する /boot.config に -P と書く /etc/ttys の ttyd0 の行を以下のように on にする ttyd0 "/usr/libexec/getty std.9600" dialup on secure コンソール用の PC と FreeBSD BOX を、シリアルのクロスケーブルをつなぐ …

m0n0wall セットアップ中

d:id:taizooo:20070316:disk_on_module d:id:taizooo:20070316:i_get_dom このあいだ、買ってもらった DOM を使って m0n0wall をセットアップ開始.FreeBSD なテストベンチでディスクイメージを32MBの DOM に dd で貼り付けた.テストベンチの FreeBSD-6.2R …

NanoBSD は64MBの CF にインストールできる.

With configuration settings, it is possible to configure options passed to both the buildworld and installworld stages of the NanoBSD build process, as well as internal options passed to the main build process of NanoBSD. Through these opt…

FreeNAS は32MBの CF にインストールできる.

At a minimum a basic PC with 96MB system memory, one hard disk and a network card is required. For a production site it is recommended to have a backup process in place or at the minimum use disk mirroring, also known as RAID level 1. For …

m0n0wall は8MBの CF にインストールできる.

2.2.1.?Preparing the CompactFlash FIXME - add tutorial Now you need to write the image to a sufficiently large CF card (at least 8 MB). Extra space on the CF card is ignored; there is no benefit to using one larger than 8 MB other than pos…

FreeBSD Handbook を見るときは英語版を読むこと

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html 日本語版は最新ではないのである.

NanoBSD は動作中でもアップグレードが行えるとな?!

NanoBSDには、動作中でもアップグレードを行なえるupdatep{1,2}という素晴しいスクリプトが付属しているんだけども、 飛んでる飛行機を直すのは、国際救助隊! What is NanoBSD ? http://del.icio.us/tag/nanobsd google:nanobsd

PEOPLE! Listen to yourselves! That computer was new five years ago! THAT’S NOT OLD! THAT’S STILL FUNCTIONAL!

http://pinderkent.blogsavy.com/archives/40 An 800Mhz computer IS NOT OLD! | Motho ke motho ka botho I keep seeing posts about running Ubuntu on “this old computer” ― and then the poster goes on to talk about an 800Mhz Pentium III computer!…

まぁ、具体的に subversion を使いたがるだけでメリットが説明できない馬鹿の話は措いておいて。

と、挑発的な文書ですが. MYCOM の FreeBSD カンファレンスリポートによると、cvs の代替になにが良いか、 という議論が尽くされたらしい。 現状の結論としては、次期ヴァージョン管理システムはMercurialか。 FreeBSD の一ユーザ 的には、ports 管理に欠か…

ONLamp に FreeBSD のネタを書いている FreeBSD グルの Dru Lavigne がITtoolbox っていうサイトで Blog を書いているのを発見

http://blogs.ittoolbox.com/unix/bsd ほとんど毎日更新しているし.git on freebsd とか、いろんな話題に触れてるし.オモシロイぞ. で、そもそも ITtoolbox ってどういうサイトなんだろう. Sign in とか書いてあるから、はてな、みたいなもんか? http:/…

porteasy

You will most likely be installing software on the server and will want to keep that software up-to-date. While I'm probably the biggest fan of the ports collection out there, I don't install it on my servers as I can make better use of th…

portcheckout

portcheckout は CVS 鯖から依存関係をあらってチェックアウトしてきてくれるようなので、これがいいのでは。 あらかじめ CVSROOT とかを決めておいて(ハンドブック参照) portcheckout 欲しい port の名前(例えば ja-less とか) これで標準出力に実行可能な…

Network Protocol and Kernel Development in a Virtual Environment

http://www.bsdcan.org/2006/papers/VirtualProtocolandKernelDev.pdf BSDCon 2006 での発表のうちの一つ.仮装PCを使った開発について. VMWare Server on Red Hat Enterprise Linux にて FreeBSDの開発をおこなっている. サーバ環境は実際の機器にOSをイ…

freebsd-update が正式採用

ViewVC Repository Listing CVS log for ports/security/freebsd-update/Makefile にIGNORE for 7.x after 700019 and 6.x after 601104: FreeBSD Update is now in the FreeBSD base system.

sysutils/smartmontools

実は、今までSMARTを監視するというのは考えたこともなかったのだが、otsuneさんのフレパ日記を読んで、早速会社のサーバに導入してみた。

anoncvs

しかし、使い始めると結構不便だ。cvsup では手元のファイルが変更されていると、それを破棄して新しいファイルを取ってきてしまう。結構な量のパッチが当たっているので、パッチが無効になってしまう。再度、パッチを当てればいいだけなら簡単なのだが、Fre…

ufs2tools - UFS for Windows

ufs2tools contains tools for reading ufs (ffs) filesystems and bsd labels from windows 2000/XP. Both ufs1 and ufs2 are supported.ufs2tool is a program for reading ufs filesystems from windows. You can retrieve files and directories recursi…

update サイクル

I, newbie - FreeBSD Security Survey http://trombik.mine.nu/~cherry/w/index.php/2006/05/22/645/freebsd-security-survey portsは順次更新、テスト機でstableを追っかけて、releaseが近くなったら順次stableに上げておいて、release後しばらくして全部を…

APCのES500をUSB経由でFreeBSDに対応させるスクリプト

http://d.hatena.ne.jp/taizooo/20060412/1144804046 http://gigo.com/archives/Source%20Code/upsdpl.html upsd.pl http://gigo.com/ftp/pub/src/upsd.pl UPS monitoring script for the cheap APC UPS I bought. I made the mistake of buying things thin…

UPS GS-EE GE3115

GE3115-650j-LL 650VA/400W http://www.gs-yuasa.com/gype/jp/products/standard_ups/ge3115/ge3115.html なぜか、未使用のまま放置されている. これが、FreeBSD に対応しているらしい. FreeBSD QandA 318 Q. UPS は使えますか? http://www.jp.freebsd.or…

Softupdate

/ (root) パーティションも Softupdate の対象にできる?かくにんのこと. パーティションを分けるメリット? / (root)パーティションだけで行くデメリット?

HDDのリストア

question:1150847783 FreeBSD5.3を使ってサーバを運用しています。 今日、下記のようなメッセージが出ていました。 > ad0: FAILURE - READ_DMA status=51 error=40 LBA=108245567 > ad0: FAILURE - READ_DMA status=51 error=40 LBA=108245567 > ad0: TIMEOU…

shells/bash: Checksum mismatch for bash/bash31-010.

http://lists.freebsd.org/pipermail/freebsd-ports/2006-April/031484.html いまさらなんですが、いまさら気が付きました. なんで、どうして、bash がアップデート出来ないんだろうと、思っていたのです. そのまま放置してました. ---> Fetching the dis…

データ復旧大作戦

クロアチア戦のショックより、コッチの方がショックです. Windows 2000 のハードディスクが壊れました. BIOSからは認識していますが、システムが立ち上がりません. DriveCopy PLUS をつかった、ディスクコピーも出来ない状態です. こわれたハードディス…

FreeBSD-SA-06:17.sendmail

http://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc sendmail のみ. カーネルはあがらず.

ローカル portsnap サーバー

http://www.ebug.jp/pub/docs/20060520/csup_portsnap.pdf ローカルにportsnapサーバーを 持ちたい場合は? HTTPで公開できるマシンのDocumentRoot で、http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/projects/portsnap/pmirror.sh にあるpmirror.s…

ccache を使って buildkernel(結果)

http://d.hatena.ne.jp/taizooo/20060605/1149502614 の結果についてである. buildkernelにかかった時間 ccache 1回目 % ( head -1 && tail -1 ) JST 2006 Mon Jun 5 20:02:13 JST 2006 ということで、40分23秒くらい. ccache -s の結果 buildkernel 前 ca…

ccache を使って buildkernel

FreeBSD-SA がでているので、ここでついでにccache を使って buildkernel してみる. FreeBSD-SA-06:15.ypserv http://security.freebsd.org/advisories/FreeBSD-SA-06:15.ypserv.asc % cd /usr/src/usr.sbin/ypserv % make obj && make depend && make && m…

Creating a Data Mirror

Creating a Data Mirror http://www.oreillynet.com/sysadmin/blog/2005/06/creating_a_data_mirror.html 毎度おなじみの Dru Lavigneさん ここでは net/cvsup-mirror をつかわないで、cvsupd を設定して、データをミラー. cvsupd の基本がわかってなかった…