freebsd-logo

���θ�̵����㥤�󥹥ȡ��뤷�ޤ��ä���

�Τǡ����Ť������Ȥ�

FreeBSD 9��������ΰܹԡ��ä�pkg�ޤ��

make install�Ǥ�äƤ����Τ⺣���Ρ�freebsd-update�Ǥ����äȡ�

�ǡ����� FreeBSD 10.0-RELEASE Installation Instructions �ΤȤ���

  • ǰ�Τ����Ķ��⥢�åץǡ��ȡ��Ѥ�Ǥ�м��ء�
    # freebsd-update fetch
    # freebsd-update install
    
  • 10.0�إ��åץ��졼��
    ɬ�פʥե�����μ���
    # freebsd-update upgrade -r 10.0-RELEASE
    �����ͥ������ؤ�
    # freebsd-update install
    # shutdown -r now
    
    ���桼�������ɤΥ��󥹥ȡ���
    # freebsd-update install
    �����ɥѡ��ƥ������ץ�ι���
    �������ɤ�����?
    �Ǹ�����פˤʤä���ե�������
    # freebsd-update install

�ǡ��ΤϤ����� portupgrade -fa �Ȥ����Ƥ�������ɡ�10�ʤ�

# pkg upgrade -f

�Ǵ��ܤ�k���Х��ʥ꡼�ǥ��åץ��졼�ɤä�®��®����

�Ĥʤ�����ɡ������ǥ������ޥ������ƥӥ�ɤ���ports�Ȥ��Ϥɤ�������褤����

��������Τ��������褦����

  • �������ޥ������Ƥ�����Τ�����portupgrade -f�ʤɤǥ��åץ��졼�ɡ����Ǥ�portupgrade��portmaster��pkgng�б����Ƥ��롣
  • �����pkg lock���Ƥ���
  • pkg upgrade

pkgng�������餷���Τϡ�ports �Ȥⶦ¸���Ƥ��뤳�ȡ������٤Ǥ� ports > pkg �ʤΤǡ����Ȥ�pkg������Ƥ��Ƥ���Ū��ports�Ǥ��Τ��Ȥ������Ȥ������Τ褦�˽���롣�Ȥ������º�avahi-app������Ƥ����ΤǤ���������

����Ĥ��ʤ���Фʤ�ʤ��Τ�ports�򥫥����ޥ������Ƥ������ǡ����ξ�����lock���ư�ϡ�����ǥ��åץ��졼�ɤ���ʤ��褦�˻��ꤷ�Ƥ����Ф褤��

��������lock����ports�򥢥åץ��졼�ɤ���ݤˤϡ��ǽ��unlock���Ƥ����ʤ���Фʤ�ʤ��������ա�

FreeBSD desktop on VMware

���ä���pkgng�ˤʤä��Τǡ����ޤǤϤ��ä������ä��ǥ����ȥå״Ķ��ι��ۤ��äƤߤ롣���䡢PC-BSD �Ǥ⤤��������ɡ�����äȽŤ�����

�ʲ��Τ��󤸤ǹԤ��롣����åץܡ��ɤⶦͭ�Ǥ��뤷�ǥ����ץ쥤�ꥵ�������ѹ��Ǥ��뤷�ɥ�å�����ɥɥ��åפǥե����륳�ԡ���Ǥ��롣���ֽ��פʤΤϡ�VMware��������°�� VMware Tools �ǤϤʤ� ports �� open-vm-tools ��Ȥ����ȡ�

  • VM�����̤˺�롣���꡼��1G���餤����Ф�k��
  • ɬ�פʥѥå��������祤�󥹥ȡ��롣�����Ǥϥǥ����ȥå״Ķ��ˤ� MATE ����ꤷ�Ƥ��롣
    % su
    # pkg install \
        sudo xorg \
        open-vm-tools xf86-input-vmmouse xf86-video-vmware \
        mate ja-ibus-anthy \
        firefox ja-font-std
    
    �Ǹ�ΰ�Ԥ� IPA Font �� M+ Font �� ja-font-std ��ͳ������Ƥ���Τϡ����줬�ʤ��� Firefox �����ܸ�ɽ�����ȤäƤ�ߤˤ������顣
  • /etc/rc.conf�˰ʲ����ɲ�
    dbus_enable="YES"
    hald_enable="YES"
    vmware_guest_vmblock_enable="YES"
    vmware_guest_vmhgfs_enable="YES"
    vmware_guest_vmmemctl_enable="YES"
    vmware_guest_vmxnet_enable="YES"
    vmware_guestd_enable="YES"
    
  • xorg.conf�����
    % sudo service vmware-kmod start
    % sudo service vmware-guestd start
    % sudo service hald start
    % sudo service dbus start
    % sudo Xorg -configure && sudo mv /root/xorg.conf.new /etc/X11/xorg.conf
    
  • ~/.xinitrc�Ϥ���ʴ����ˡ�
    export LANG=en_US.UTF-8
    export XIM=ibus
    export GTK_IM_MODULE=ibus
    export QT_IM_MODULE=xim
    export XMODIFIERS=@im=ibus
    export XIM_PROGRAM="ibus-daemon"
    export XIM_ARGS="-r --daemonize --xim"
    vmware-user-suid-wrapper &
    exec mate-session
    
    ���פʤΤϡ�vmware-user-suid-wrapper�����줬�ʤ��ȥ���åץܡ��ɶ�ͭ��ǥ����ץ쥤�ꥵ���������ޤ������ʤ���

���Ȥ�startx����С����ΤȤ��ꡣ

������������������ɻ�ϥǥե���Ȥ���ʤ���FreeBSD Wallpaper���餤����������Ρ�

����ˤ���Ф�ȡ��������٤ޤǤϹԤ��롣

OS X �� VMware Fusion��� FreeBSD �� VirtualBox ��� Ubuntu

FreeBSD on Windows Azure

����ޤ���ñ��

Hyper-V�����̤˥��󥹥ȡ��뤷���塢�����ޤ�äȥ��åץ����ɤ��������

�������ϡ����ΰ쥫�������

�Ǥ⡢��äѤ�֤ޤ�äȡ׿�GB�Υե�����򥢥åץ����ɤ���ΤϤ��ä����ʤΤǡ�Azure¦���������ݡ��Ȥ���뤳�Ȥ�������̡�AWS��Google Compute Engine�⤽�����Ƥ���Τ�������CEO�ϥ��饦�ɤοͤȤΤ��ȤʤΤǡ����Ԥ����ޤ�󤰡�

��������

����ˤ��Ƥ�10����FreeBSD��Ϥ����ͤ������ޤ��������ĤƤϲ��ۤDZ׹��ˤ�OS���ä����ɡ�ZFS�����ä������꤫�餺���֤�Ȱפ���ͥ�����ʤä��������ʤ��OS�Ȥ��Ƥ�­���ζ����Ȥ����桼�������ɤ���˥��ƥʥ󥹤���Ƥ���Ȥ����Ȥ����ޤȤޤ�Τ褵���褭�Ƥ��롣���󥹥ȡ���ޤǤʤ�Linux�ϳڤ����ɡ��ƥǥ����ȥ�ӥ塼�����ΰ㤤�Ȥ���Ʊ���ǥ����ȥ�ӥ塼�����Ǥ�С������֤κ��ۤ��Ȥ����礭�����ơ��μ����ʤ��ʤ����ȥå��ˤʤäƤ���ʤ���Unity���̿���ä��ʤ���

³����ʤ顢FreeBSD�첡����

Dan the Daemonize[dr]

Appendix: dmesg @ Windows Azure

Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
    [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD Opteron(tm) Processor 4171 HE (1062.22-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f81  Family = 0x10  Model = 0x8  Stepping = 1
  Features=0x783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2>
  Features2=0x80802001<SSE3,CX16,POPCNT,HV>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x3f3<LAHF,CMP,CR8,ABM,SSE4A,MAS,Prefetch,OSVW>
real memory  = 1879048192 (1792 MB)
avail memory = 1694380032 (1615 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <VRTUAL MICROSFT>
ioapic0: Changing APIC ID to 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
vmbus0: <Vmbus Devices> on motherboard
acpi0: <VRTUAL MICROSFT> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1ff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
ata0: <Hyper-V ATA storage disengage driver> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pci0: <bridge> at device 7.3 (no driver attached)
vgapci0: <VGA-compatible display> mem 0xf8000000-0xfbffffff irq 11 at device 8.0 on pci0
vgapci0: Boot video device
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
Timecounter "Hyper-V" frequency 10000000 Hz quality 10000000
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 10.000 msec
storvsc0 on vmbus0
storvsc1 on vmbus0
hyperv-utils0 on vmbus0
hyperv-utils0: Hyper-V Service attaching: Hyper-V Heartbeat Service

hyperv-utils1 on vmbus0
hyperv-utils1: Hyper-V Service attaching: Hyper-V Shutdown Service

hyperv-utils2 on vmbus0
hyperv-utils2: Hyper-V Service attaching: Hyper-V Time Synch Service

storvsc2 on vmbus0
da0 at blkvsc0 bus 0 scbus1 target 0 lun 0
da0: <Msft Virtual Disk 1.0> Fixed Direct Access SCSI-4 device 
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
da1 at blkvsc1 bus 0 scbus2 target 1 lun 0
da1: <Msft Virtual Disk 1.0> Fixed Direct Access SCSI-4 device 
da1: 300.000MB/s transfers
da1: Command Queueing enabled
da1: 71680MB (146800640 512 byte sectors: 255H 63S/T 9137C)
storvsc3 on vmbus0
Netvsc probe... DONE 
hn0: <Synthetic Network Interface> on vmbus0
Netvsc initializing... hn0: Ethernet address: 00:15:5e:40:37:61
random: unblocking device.
Netvsc initializing... Already initialized!
Timecounter "TSC" frequency 1062222241 Hz quality 800
Trying to mount root from zfs:zroot/ROOT/default []...