FreeBSD をインストールするためのイメージをダウンロード
wget ftp://ftp8.jp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.0/8.0-RELEASE-i386-bootonly.iso
(これはbootonlyのイメージ)
Country Selection
→ 110 Japan
System Console Keymap
→ Japanese 106
FreeBSD/i386 8.0-RELEASE - sysinstall Main Menu
→ Custom
Choose Custom Installation Options
→ 3 Partition
FDISK Partition Editor
→ A = Use Entire Disk (全てのHDの領域をFreeBSDに割り当てます。)
もしくは、 C = Create Slice で適当に
→ Q = Finish
Install Boot Manager for drive ad0?
→ Standard 「Install a standard MBR (no boot manager)」 (FreeBSD専用にします)
もしくは、FDISKで幾つかスライスしたのなら BootMgr を選ぶ。
Choose Custom Installation Options
→ 4 Label
FreeBSD Disklabel Editor
→ A = Auto Defaults
もしくは、C = Crate で適当に
→ Q = Finish
Choose Custom Installation Options
→ 5 Distributions
Choose Distributions
→ A Minimal
最小限インストールにして、必要なパッケージは 後からインストールする。
→ X Exit
Choose Custom Installation Options
→ 6 Media
Choose Installation Media
→ 2 FTP
8.0-RELEASE-i386-bootonly.iso を使用してBootしたので
ネットワーク(FTP)からインストールする。
CDなら 1 CD/DVD を選択
Please select a FreeBSD FTP distribution site
→ Japan
Japan #8
適当なサイトを選択する。
Network interface information required
→ em0 (Ethernet cardを選択)
User Confirmation Requested
→ No (IPv6 を使用しない)
User Confirmation Requested
→ Yes (DHCP を使用←ここは環境にあわせて)
Network Configuration
→ Host, Domain, IP など環境にあわせて設定する。
Choose Custom Installation Options
→ 7 Commit
User Confirmation Requested
→ Yes (Are you sure ? installation ? と、本当にこれでインストールして良いか聞いてくる)
:
:
[インストール処理が行われる]
:
:
User Confirmation Requested
→ Yes (設定を行うか?聞いてくる)
FreeBSD Configuration Menu
→ User Management
作業用ユーザーを作っとく
User and group management
→ User
User and Group Management (グレーの画面)
→ Login ID: xxxx
Group : wheel
Login shell : /bin/tcsh (シェルを変更しとく)
User and group management
→ Exit
FreeBSD Configuration Menu
→ Time Zone
Select local or UTC (Greenwich Mean Time) clock
→ No
Time Zone Selector
→ 5 Asia
Countries in Asia
→ 18 Japan
Confirmation
→ Yes
FreeBSD Configuration Menu
→ Networking
Network Services Menu
→ ※ CDからインストールした場合は、
Interfaces を選択してネットワーク基本設定をする。
→ sshd (OS起動時に SSHデーモンを起動させる)
→ X Exit
FreeBSD Configuration Menu
→ X Exit
Choose Custom Installation Options
→ X Exit
FreeBSD/i386 8.0-RELEASE - sysinstall Main Menu
→ X Exit Install (メニューリスト内ではなく画面下にあるボタン?)
User Confirmation Requested
→ Yes (終わって rebootしていいか聞いてくる)
:
:
[reboot]
:
:
再起動されて、login: プロンプトが表示される。
login:
→ root
ログインしたら、ifconfig で IPを確認し、
Puttyなどで、アクセスしてみる。
最少構成インストール直後の df
> df -hc Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 421M 162M 226M 42% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 383M 12K 353M 0% /tmp /dev/ad0s1f 6.1G 131M 5.5G 2% /usr /dev/ad0s1d 726M 314K 668M 0% /var total 7.6G 292M 6.7G 4%
コメントする